1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval
$(call gb_CustomTarget_CustomTarget
,registry
/regcompare_test
))
22 .PHONY
: $(call gb_CustomTarget_get_target
,registry
/regcompare_test
)
24 $(call gb_CustomTarget_get_target
,registry
/regcompare_test
): \
25 $(call gb_Executable_get_runtime_dependencies
,unoidl-check
) \
26 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other1.rdb \
27 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other2.rdb \
28 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/pe.rdb \
29 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
30 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psb.rdb \
31 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/ue.rdb \
32 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
33 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usb.rdb
34 $(call gb_Helper_abbreviate_dirs
,( \
35 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
36 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
37 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb
) \
38 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
39 $(call gb_Helper_abbreviate_dirs
,( \
40 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
41 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
42 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psb.rdb
) \
43 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
44 $(call gb_Helper_abbreviate_dirs
,( \
45 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
46 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
47 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb
) \
48 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
49 $(call gb_Helper_abbreviate_dirs
,( \
50 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
51 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
52 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usb.rdb
) \
53 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
54 $(call gb_Helper_abbreviate_dirs
,( \
55 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
56 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
57 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/pe.rdb
) \
58 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
59 $(call gb_Helper_abbreviate_dirs
,( \
60 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
61 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
62 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/ue.rdb
) \
63 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
64 $(call gb_Helper_abbreviate_dirs
,( \
65 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
66 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
67 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other1.rdb
) \
68 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
69 $(call gb_Helper_abbreviate_dirs
,( \
70 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
71 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
72 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other2.rdb
) \
73 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
74 $(call gb_Helper_abbreviate_dirs
,( \
75 $(call gb_Executable_get_command
,unoidl-check
) \
76 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
77 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb
) \
78 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
79 $(call gb_Helper_abbreviate_dirs
,( \
80 ! $(call gb_Executable_get_command
,unoidl-check
) \
81 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
82 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psb.rdb
) \
83 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
84 $(call gb_Helper_abbreviate_dirs
,( \
85 ! $(call gb_Executable_get_command
,unoidl-check
) \
86 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
87 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb
) \
88 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
89 $(call gb_Helper_abbreviate_dirs
,( \
90 ! $(call gb_Executable_get_command
,unoidl-check
) \
91 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
92 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usb.rdb
) \
93 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
94 $(call gb_Helper_abbreviate_dirs
,( \
95 ! $(call gb_Executable_get_command
,unoidl-check
) \
96 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
97 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/pe.rdb
) \
98 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
99 $(call gb_Helper_abbreviate_dirs
,( \
100 ! $(call gb_Executable_get_command
,unoidl-check
) \
101 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
102 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/ue.rdb
) \
103 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
104 $(call gb_Helper_abbreviate_dirs
,( \
105 ! $(call gb_Executable_get_command
,unoidl-check
) \
106 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
107 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other1.rdb
) \
108 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
109 $(call gb_Helper_abbreviate_dirs
,( \
110 ! $(call gb_Executable_get_command
,unoidl-check
) \
111 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb \
112 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other2.rdb
) \
113 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
114 $(call gb_Helper_abbreviate_dirs
,( \
115 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
116 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
117 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb
) \
118 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
119 $(call gb_Helper_abbreviate_dirs
,( \
120 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
121 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
122 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psb.rdb
) \
123 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
124 $(call gb_Helper_abbreviate_dirs
,( \
125 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
126 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
127 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb
) \
128 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
129 $(call gb_Helper_abbreviate_dirs
,( \
130 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
131 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
132 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usb.rdb
) \
133 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
134 $(call gb_Helper_abbreviate_dirs
,( \
135 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
136 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
137 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/pe.rdb
) \
138 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
139 $(call gb_Helper_abbreviate_dirs
,( \
140 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
141 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
142 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/ue.rdb
) \
143 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
144 $(call gb_Helper_abbreviate_dirs
,( \
145 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
146 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
147 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other1.rdb
) \
148 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
149 $(call gb_Helper_abbreviate_dirs
,( \
150 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
151 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
152 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other2.rdb
) \
153 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
154 $(call gb_Helper_abbreviate_dirs
,( \
155 $(call gb_Executable_get_command
,unoidl-check
) \
156 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
157 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psa.rdb
) \
158 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
159 $(call gb_Helper_abbreviate_dirs
,( \
160 ! $(call gb_Executable_get_command
,unoidl-check
) \
161 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
162 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/psb.rdb
) \
163 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
164 $(call gb_Helper_abbreviate_dirs
,( \
165 $(call gb_Executable_get_command
,unoidl-check
) \
166 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
167 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb
) \
168 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
169 $(call gb_Helper_abbreviate_dirs
,( \
170 ! $(call gb_Executable_get_command
,unoidl-check
) \
171 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
172 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usb.rdb
) \
173 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
174 $(call gb_Helper_abbreviate_dirs
,( \
175 ! $(call gb_Executable_get_command
,unoidl-check
) \
176 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
177 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/pe.rdb
) \
178 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
179 $(call gb_Helper_abbreviate_dirs
,( \
180 ! $(call gb_Executable_get_command
,unoidl-check
) \
181 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
182 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/ue.rdb
) \
183 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
184 $(call gb_Helper_abbreviate_dirs
,( \
185 ! $(call gb_Executable_get_command
,unoidl-check
) \
186 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
187 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other1.rdb
) \
188 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
189 $(call gb_Helper_abbreviate_dirs
,( \
190 ! $(call gb_Executable_get_command
,unoidl-check
) \
191 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/usa.rdb \
192 -- $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/other2.rdb
) \
193 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
195 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/%.rdb
: \
196 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/%.urd \
197 $(call gb_Executable_get_runtime_dependencies
,regmerge
)
198 $(call gb_Helper_abbreviate_dirs
,( \
199 $(call gb_Executable_get_command
,regmerge
) $@
/UCR
$<))
201 $(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
)/%.urd
: \
202 $(SRCDIR
)/registry
/test/regcompare
/%.idl \
203 $(call gb_Executable_get_runtime_dependencies
,idlc
)
204 $(call gb_Helper_abbreviate_dirs
,( \
205 $(call gb_Executable_get_command
,idlc
) \
206 -O
$(call gb_CustomTarget_get_workdir
,registry
/regcompare_test
) \
209 # vim: set noet sw=4 ts=4: