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
,unoidl
/unoidl-check_test
))
22 .PHONY
: $(call gb_CustomTarget_get_target
,unoidl
/unoidl-check_test
)
24 $(call gb_CustomTarget_get_target
,unoidl
/unoidl-check_test
): \
25 $(call gb_Executable_get_runtime_dependencies
,unoidl-check
) \
26 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other1.rdb \
27 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other2.rdb \
28 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/pe.rdb \
29 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
30 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psb.rdb \
31 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/ue.rdb \
32 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
33 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usb.rdb
34 ifneq ($(gb_SUPPRESS_TESTS
),)
37 $(call gb_Helper_abbreviate_dirs
,( \
38 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
39 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
40 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb
) \
41 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
42 $(call gb_Helper_abbreviate_dirs
,( \
43 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
44 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
45 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psb.rdb
) \
46 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
47 $(call gb_Helper_abbreviate_dirs
,( \
48 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
49 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
50 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb
) \
51 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
52 $(call gb_Helper_abbreviate_dirs
,( \
53 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
54 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
55 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usb.rdb
) \
56 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
57 $(call gb_Helper_abbreviate_dirs
,( \
58 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
59 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
60 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/pe.rdb
) \
61 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
62 $(call gb_Helper_abbreviate_dirs
,( \
63 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
64 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
65 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/ue.rdb
) \
66 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
67 $(call gb_Helper_abbreviate_dirs
,( \
68 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
69 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
70 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other1.rdb
) \
71 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
72 $(call gb_Helper_abbreviate_dirs
,( \
73 ! $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
74 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
75 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other2.rdb
) \
76 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
77 $(call gb_Helper_abbreviate_dirs
,( \
78 $(call gb_Executable_get_command
,unoidl-check
) \
79 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
80 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb
) \
81 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
82 $(call gb_Helper_abbreviate_dirs
,( \
83 ! $(call gb_Executable_get_command
,unoidl-check
) \
84 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
85 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psb.rdb
) \
86 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
87 $(call gb_Helper_abbreviate_dirs
,( \
88 ! $(call gb_Executable_get_command
,unoidl-check
) \
89 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
90 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb
) \
91 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
92 $(call gb_Helper_abbreviate_dirs
,( \
93 ! $(call gb_Executable_get_command
,unoidl-check
) \
94 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
95 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usb.rdb
) \
96 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
97 $(call gb_Helper_abbreviate_dirs
,( \
98 ! $(call gb_Executable_get_command
,unoidl-check
) \
99 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
100 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/pe.rdb
) \
101 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
102 $(call gb_Helper_abbreviate_dirs
,( \
103 ! $(call gb_Executable_get_command
,unoidl-check
) \
104 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
105 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/ue.rdb
) \
106 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
107 $(call gb_Helper_abbreviate_dirs
,( \
108 ! $(call gb_Executable_get_command
,unoidl-check
) \
109 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
110 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other1.rdb
) \
111 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
112 $(call gb_Helper_abbreviate_dirs
,( \
113 ! $(call gb_Executable_get_command
,unoidl-check
) \
114 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb \
115 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other2.rdb
) \
116 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
117 $(call gb_Helper_abbreviate_dirs
,( \
118 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
119 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
120 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb
) \
121 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
122 $(call gb_Helper_abbreviate_dirs
,( \
123 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
124 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
125 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psb.rdb
) \
126 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
127 $(call gb_Helper_abbreviate_dirs
,( \
128 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
129 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
130 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb
) \
131 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
132 $(call gb_Helper_abbreviate_dirs
,( \
133 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
134 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
135 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usb.rdb
) \
136 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
137 $(call gb_Helper_abbreviate_dirs
,( \
138 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
139 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
140 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/pe.rdb
) \
141 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
142 $(call gb_Helper_abbreviate_dirs
,( \
143 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
144 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
145 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/ue.rdb
) \
146 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
147 $(call gb_Helper_abbreviate_dirs
,( \
148 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
149 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
150 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other1.rdb
) \
151 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
152 $(call gb_Helper_abbreviate_dirs
,( \
153 $(call gb_Executable_get_command
,unoidl-check
) --ignore-unpublished \
154 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
155 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other2.rdb
) \
156 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
157 $(call gb_Helper_abbreviate_dirs
,( \
158 $(call gb_Executable_get_command
,unoidl-check
) \
159 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
160 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psa.rdb
) \
161 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
162 $(call gb_Helper_abbreviate_dirs
,( \
163 ! $(call gb_Executable_get_command
,unoidl-check
) \
164 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
165 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/psb.rdb
) \
166 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
167 $(call gb_Helper_abbreviate_dirs
,( \
168 $(call gb_Executable_get_command
,unoidl-check
) \
169 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
170 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb
) \
171 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
172 $(call gb_Helper_abbreviate_dirs
,( \
173 ! $(call gb_Executable_get_command
,unoidl-check
) \
174 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
175 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usb.rdb
) \
176 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
177 $(call gb_Helper_abbreviate_dirs
,( \
178 ! $(call gb_Executable_get_command
,unoidl-check
) \
179 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
180 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/pe.rdb
) \
181 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
182 $(call gb_Helper_abbreviate_dirs
,( \
183 ! $(call gb_Executable_get_command
,unoidl-check
) \
184 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
185 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/ue.rdb
) \
186 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
187 $(call gb_Helper_abbreviate_dirs
,( \
188 ! $(call gb_Executable_get_command
,unoidl-check
) \
189 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
190 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other1.rdb
) \
191 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
192 $(call gb_Helper_abbreviate_dirs
,( \
193 ! $(call gb_Executable_get_command
,unoidl-check
) \
194 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/usa.rdb \
195 -- $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/other2.rdb
) \
196 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
199 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/%.rdb
: \
200 $(SRCDIR
)/unoidl
/qa
/unoidl-check
/%.idl \
201 $(call gb_Executable_get_runtime_dependencies
,unoidl-write
) \
202 |
$(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-check_test
)/.
dir
203 $(call gb_Helper_abbreviate_dirs
,( \
204 $(call gb_Executable_get_command
,unoidl-write
) $< $@
))
206 # vim: set noet sw=4 ts=4: