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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/other1.rdb \
27 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/other2.rdb \
28 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/pe.rdb \
29 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
30 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psb.rdb \
31 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/ue.rdb \
32 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
33 $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
40 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
45 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
50 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
55 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
60 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
65 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
70 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
75 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
80 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
85 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
90 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
95 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
100 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
105 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
110 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/psa.rdb \
115 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
120 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
125 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
130 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
135 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
140 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
145 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
150 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
155 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
160 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
165 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
170 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
175 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
180 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
185 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
190 -- $(gb_CustomTarget_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 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/usa.rdb \
195 -- $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/other2.rdb
) \
196 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
199 $(gb_CustomTarget_workdir
)/unoidl
/unoidl-check_test
/%.rdb
: \
200 $(SRCDIR
)/unoidl
/qa
/unoidl-check
/%.idl \
201 $(call gb_Executable_get_runtime_dependencies
,unoidl-write
) \
202 |
$(gb_CustomTarget_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: