1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ := ..$/..
25PRJNAME := registry
26TARGET := test_regcompare
27
28.INCLUDE: settings.mk
29.INCLUDE: target.mk
30
31ALLTAR: test
32
33test .PHONY: $(MISC)$/$(TARGET)$/psa.urd $(MISC)$/$(TARGET)$/psb.urd \
34        $(MISC)$/$(TARGET)$/usa.urd $(MISC)$/$(TARGET)$/usb.urd \
35        $(MISC)$/$(TARGET)$/pe.urd $(MISC)$/$(TARGET)$/ue.urd \
36        $(MISC)$/$(TARGET)$/other1.urd $(MISC)$/$(TARGET)$/other2.urd
37    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
38        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/psa.urd
39    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
40        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/psb.urd
41    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
42        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/usa.urd
43    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
44        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/usb.urd
45    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
46        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/pe.urd
47    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
48        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/ue.urd
49    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
50        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/other1.urd
51    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t \
52        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/other2.urd
53    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t -u \
54        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/psa.urd
55    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
56        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/psb.urd
57    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
58        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/usa.urd
59    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
60        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/usb.urd
61    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
62        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/pe.urd
63    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
64        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/ue.urd
65    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
66        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/other1.urd
67    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
68        -r1 $(MISC)$/$(TARGET)$/psa.urd -r2 $(MISC)$/$(TARGET)$/other2.urd
69    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
70        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/psa.urd
71    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
72        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/psb.urd
73    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
74        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/usa.urd
75    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
76        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/usb.urd
77    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
78        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/pe.urd
79    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
80        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/ue.urd
81    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
82        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/other1.urd
83    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t \
84        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/other2.urd
85    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t -u \
86        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/psa.urd
87    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
88        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/psb.urd
89    $(EXECTEST) -SUCCESS $(BIN)/regcompare$(EXECPOST) -f -t -u \
90        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/usa.urd
91    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
92        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/usb.urd
93    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
94        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/pe.urd
95    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
96        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/ue.urd
97    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
98        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/other1.urd
99    $(EXECTEST) -FAILURE $(BIN)/regcompare$(EXECPOST) -f -t -u \
100        -r1 $(MISC)$/$(TARGET)$/usa.urd -r2 $(MISC)$/$(TARGET)$/other2.urd
101
102$(MISC)$/$(TARGET)$/%.urd: %.idl
103    $(IDLC) -O$(MISC)$/$(TARGET) -cid -we $<
104