1 TOPSRCDIR
= @top_srcdir@
7 IMPORTS
= comctl32 version user32 gdi32 advapi32 wsock32 kernel32
9 EXTRARCFLAGS
= -DBUILD_SHA1
=\"$$(GIT_DIR
=$(TOPSRCDIR
)/.git git rev-parse HEAD
2>/dev
/null
)\"
20 SVG_SRCS
= winetest.svg
24 # List of test executables (auto-generated by make_makefiles)
104 winspool.drv_test.exe \
108 advapi32_test.exe
: $(DLLDIR
)/advapi32
/tests
/advapi32_test.exe
$(DLLEXT
)
109 cp
$(DLLDIR
)/advapi32
/tests
/advapi32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
110 advpack_test.exe
: $(DLLDIR
)/advpack
/tests
/advpack_test.exe
$(DLLEXT
)
111 cp
$(DLLDIR
)/advpack
/tests
/advpack_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
112 browseui_test.exe
: $(DLLDIR
)/browseui
/tests
/browseui_test.exe
$(DLLEXT
)
113 cp
$(DLLDIR
)/browseui
/tests
/browseui_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
114 cabinet_test.exe
: $(DLLDIR
)/cabinet
/tests
/cabinet_test.exe
$(DLLEXT
)
115 cp
$(DLLDIR
)/cabinet
/tests
/cabinet_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
116 comcat_test.exe
: $(DLLDIR
)/comcat
/tests
/comcat_test.exe
$(DLLEXT
)
117 cp
$(DLLDIR
)/comcat
/tests
/comcat_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
118 comctl32_test.exe
: $(DLLDIR
)/comctl32
/tests
/comctl32_test.exe
$(DLLEXT
)
119 cp
$(DLLDIR
)/comctl32
/tests
/comctl32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
120 comdlg32_test.exe
: $(DLLDIR
)/comdlg32
/tests
/comdlg32_test.exe
$(DLLEXT
)
121 cp
$(DLLDIR
)/comdlg32
/tests
/comdlg32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
122 credui_test.exe
: $(DLLDIR
)/credui
/tests
/credui_test.exe
$(DLLEXT
)
123 cp
$(DLLDIR
)/credui
/tests
/credui_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
124 crypt32_test.exe
: $(DLLDIR
)/crypt32
/tests
/crypt32_test.exe
$(DLLEXT
)
125 cp
$(DLLDIR
)/crypt32
/tests
/crypt32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
126 cryptnet_test.exe
: $(DLLDIR
)/cryptnet
/tests
/cryptnet_test.exe
$(DLLEXT
)
127 cp
$(DLLDIR
)/cryptnet
/tests
/cryptnet_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
128 d3d8_test.exe
: $(DLLDIR
)/d3d8
/tests
/d3d8_test.exe
$(DLLEXT
)
129 cp
$(DLLDIR
)/d3d8
/tests
/d3d8_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
130 d3d9_test.exe
: $(DLLDIR
)/d3d9
/tests
/d3d9_test.exe
$(DLLEXT
)
131 cp
$(DLLDIR
)/d3d9
/tests
/d3d9_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
132 d3drm_test.exe
: $(DLLDIR
)/d3drm
/tests
/d3drm_test.exe
$(DLLEXT
)
133 cp
$(DLLDIR
)/d3drm
/tests
/d3drm_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
134 d3dx8_test.exe
: $(DLLDIR
)/d3dx8
/tests
/d3dx8_test.exe
$(DLLEXT
)
135 cp
$(DLLDIR
)/d3dx8
/tests
/d3dx8_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
136 d3dx9_36_test.exe
: $(DLLDIR
)/d3dx9_36
/tests
/d3dx9_36_test.exe
$(DLLEXT
)
137 cp
$(DLLDIR
)/d3dx9_36
/tests
/d3dx9_36_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
138 ddraw_test.exe
: $(DLLDIR
)/ddraw
/tests
/ddraw_test.exe
$(DLLEXT
)
139 cp
$(DLLDIR
)/ddraw
/tests
/ddraw_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
140 dinput_test.exe
: $(DLLDIR
)/dinput
/tests
/dinput_test.exe
$(DLLEXT
)
141 cp
$(DLLDIR
)/dinput
/tests
/dinput_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
142 dnsapi_test.exe
: $(DLLDIR
)/dnsapi
/tests
/dnsapi_test.exe
$(DLLEXT
)
143 cp
$(DLLDIR
)/dnsapi
/tests
/dnsapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
144 dplayx_test.exe
: $(DLLDIR
)/dplayx
/tests
/dplayx_test.exe
$(DLLEXT
)
145 cp
$(DLLDIR
)/dplayx
/tests
/dplayx_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
146 dsound_test.exe
: $(DLLDIR
)/dsound
/tests
/dsound_test.exe
$(DLLEXT
)
147 cp
$(DLLDIR
)/dsound
/tests
/dsound_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
148 fusion_test.exe
: $(DLLDIR
)/fusion
/tests
/fusion_test.exe
$(DLLEXT
)
149 cp
$(DLLDIR
)/fusion
/tests
/fusion_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
150 gdi32_test.exe
: $(DLLDIR
)/gdi32
/tests
/gdi32_test.exe
$(DLLEXT
)
151 cp
$(DLLDIR
)/gdi32
/tests
/gdi32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
152 gdiplus_test.exe
: $(DLLDIR
)/gdiplus
/tests
/gdiplus_test.exe
$(DLLEXT
)
153 cp
$(DLLDIR
)/gdiplus
/tests
/gdiplus_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
154 hlink_test.exe
: $(DLLDIR
)/hlink
/tests
/hlink_test.exe
$(DLLEXT
)
155 cp
$(DLLDIR
)/hlink
/tests
/hlink_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
156 imm32_test.exe
: $(DLLDIR
)/imm32
/tests
/imm32_test.exe
$(DLLEXT
)
157 cp
$(DLLDIR
)/imm32
/tests
/imm32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
158 inetcomm_test.exe
: $(DLLDIR
)/inetcomm
/tests
/inetcomm_test.exe
$(DLLEXT
)
159 cp
$(DLLDIR
)/inetcomm
/tests
/inetcomm_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
160 infosoft_test.exe
: $(DLLDIR
)/infosoft
/tests
/infosoft_test.exe
$(DLLEXT
)
161 cp
$(DLLDIR
)/infosoft
/tests
/infosoft_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
162 iphlpapi_test.exe
: $(DLLDIR
)/iphlpapi
/tests
/iphlpapi_test.exe
$(DLLEXT
)
163 cp
$(DLLDIR
)/iphlpapi
/tests
/iphlpapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
164 itss_test.exe
: $(DLLDIR
)/itss
/tests
/itss_test.exe
$(DLLEXT
)
165 cp
$(DLLDIR
)/itss
/tests
/itss_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
166 jscript_test.exe
: $(DLLDIR
)/jscript
/tests
/jscript_test.exe
$(DLLEXT
)
167 cp
$(DLLDIR
)/jscript
/tests
/jscript_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
168 kernel32_test.exe
: $(DLLDIR
)/kernel32
/tests
/kernel32_test.exe
$(DLLEXT
)
169 cp
$(DLLDIR
)/kernel32
/tests
/kernel32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
170 localspl_test.exe
: $(DLLDIR
)/localspl
/tests
/localspl_test.exe
$(DLLEXT
)
171 cp
$(DLLDIR
)/localspl
/tests
/localspl_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
172 localui_test.exe
: $(DLLDIR
)/localui
/tests
/localui_test.exe
$(DLLEXT
)
173 cp
$(DLLDIR
)/localui
/tests
/localui_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
174 lz32_test.exe
: $(DLLDIR
)/lz32
/tests
/lz32_test.exe
$(DLLEXT
)
175 cp
$(DLLDIR
)/lz32
/tests
/lz32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
176 mapi32_test.exe
: $(DLLDIR
)/mapi32
/tests
/mapi32_test.exe
$(DLLEXT
)
177 cp
$(DLLDIR
)/mapi32
/tests
/mapi32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
178 mlang_test.exe
: $(DLLDIR
)/mlang
/tests
/mlang_test.exe
$(DLLEXT
)
179 cp
$(DLLDIR
)/mlang
/tests
/mlang_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
180 msacm32_test.exe
: $(DLLDIR
)/msacm32
/tests
/msacm32_test.exe
$(DLLEXT
)
181 cp
$(DLLDIR
)/msacm32
/tests
/msacm32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
182 mscms_test.exe
: $(DLLDIR
)/mscms
/tests
/mscms_test.exe
$(DLLEXT
)
183 cp
$(DLLDIR
)/mscms
/tests
/mscms_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
184 mshtml_test.exe
: $(DLLDIR
)/mshtml
/tests
/mshtml_test.exe
$(DLLEXT
)
185 cp
$(DLLDIR
)/mshtml
/tests
/mshtml_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
186 msi_test.exe
: $(DLLDIR
)/msi
/tests
/msi_test.exe
$(DLLEXT
)
187 cp
$(DLLDIR
)/msi
/tests
/msi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
188 msvcrt_test.exe
: $(DLLDIR
)/msvcrt
/tests
/msvcrt_test.exe
$(DLLEXT
)
189 cp
$(DLLDIR
)/msvcrt
/tests
/msvcrt_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
190 msvcrtd_test.exe
: $(DLLDIR
)/msvcrtd
/tests
/msvcrtd_test.exe
$(DLLEXT
)
191 cp
$(DLLDIR
)/msvcrtd
/tests
/msvcrtd_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
192 msxml3_test.exe
: $(DLLDIR
)/msxml3
/tests
/msxml3_test.exe
$(DLLEXT
)
193 cp
$(DLLDIR
)/msxml3
/tests
/msxml3_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
194 netapi32_test.exe
: $(DLLDIR
)/netapi32
/tests
/netapi32_test.exe
$(DLLEXT
)
195 cp
$(DLLDIR
)/netapi32
/tests
/netapi32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
196 ntdll_test.exe
: $(DLLDIR
)/ntdll
/tests
/ntdll_test.exe
$(DLLEXT
)
197 cp
$(DLLDIR
)/ntdll
/tests
/ntdll_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
198 ntdsapi_test.exe
: $(DLLDIR
)/ntdsapi
/tests
/ntdsapi_test.exe
$(DLLEXT
)
199 cp
$(DLLDIR
)/ntdsapi
/tests
/ntdsapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
200 ntprint_test.exe
: $(DLLDIR
)/ntprint
/tests
/ntprint_test.exe
$(DLLEXT
)
201 cp
$(DLLDIR
)/ntprint
/tests
/ntprint_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
202 odbccp32_test.exe
: $(DLLDIR
)/odbccp32
/tests
/odbccp32_test.exe
$(DLLEXT
)
203 cp
$(DLLDIR
)/odbccp32
/tests
/odbccp32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
204 ole32_test.exe
: $(DLLDIR
)/ole32
/tests
/ole32_test.exe
$(DLLEXT
)
205 cp
$(DLLDIR
)/ole32
/tests
/ole32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
206 oleaut32_test.exe
: $(DLLDIR
)/oleaut32
/tests
/oleaut32_test.exe
$(DLLEXT
)
207 cp
$(DLLDIR
)/oleaut32
/tests
/oleaut32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
208 opengl32_test.exe
: $(DLLDIR
)/opengl32
/tests
/opengl32_test.exe
$(DLLEXT
)
209 cp
$(DLLDIR
)/opengl32
/tests
/opengl32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
210 pdh_test.exe
: $(DLLDIR
)/pdh
/tests
/pdh_test.exe
$(DLLEXT
)
211 cp
$(DLLDIR
)/pdh
/tests
/pdh_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
212 psapi_test.exe
: $(DLLDIR
)/psapi
/tests
/psapi_test.exe
$(DLLEXT
)
213 cp
$(DLLDIR
)/psapi
/tests
/psapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
214 qedit_test.exe
: $(DLLDIR
)/qedit
/tests
/qedit_test.exe
$(DLLEXT
)
215 cp
$(DLLDIR
)/qedit
/tests
/qedit_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
216 qmgr_test.exe
: $(DLLDIR
)/qmgr
/tests
/qmgr_test.exe
$(DLLEXT
)
217 cp
$(DLLDIR
)/qmgr
/tests
/qmgr_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
218 quartz_test.exe
: $(DLLDIR
)/quartz
/tests
/quartz_test.exe
$(DLLEXT
)
219 cp
$(DLLDIR
)/quartz
/tests
/quartz_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
220 riched20_test.exe
: $(DLLDIR
)/riched20
/tests
/riched20_test.exe
$(DLLEXT
)
221 cp
$(DLLDIR
)/riched20
/tests
/riched20_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
222 riched32_test.exe
: $(DLLDIR
)/riched32
/tests
/riched32_test.exe
$(DLLEXT
)
223 cp
$(DLLDIR
)/riched32
/tests
/riched32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
224 rpcrt4_test.exe
: $(DLLDIR
)/rpcrt4
/tests
/rpcrt4_test.exe
$(DLLEXT
)
225 cp
$(DLLDIR
)/rpcrt4
/tests
/rpcrt4_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
226 rsabase_test.exe
: $(DLLDIR
)/rsabase
/tests
/rsabase_test.exe
$(DLLEXT
)
227 cp
$(DLLDIR
)/rsabase
/tests
/rsabase_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
228 rsaenh_test.exe
: $(DLLDIR
)/rsaenh
/tests
/rsaenh_test.exe
$(DLLEXT
)
229 cp
$(DLLDIR
)/rsaenh
/tests
/rsaenh_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
230 schannel_test.exe
: $(DLLDIR
)/schannel
/tests
/schannel_test.exe
$(DLLEXT
)
231 cp
$(DLLDIR
)/schannel
/tests
/schannel_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
232 secur32_test.exe
: $(DLLDIR
)/secur32
/tests
/secur32_test.exe
$(DLLEXT
)
233 cp
$(DLLDIR
)/secur32
/tests
/secur32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
234 serialui_test.exe
: $(DLLDIR
)/serialui
/tests
/serialui_test.exe
$(DLLEXT
)
235 cp
$(DLLDIR
)/serialui
/tests
/serialui_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
236 setupapi_test.exe
: $(DLLDIR
)/setupapi
/tests
/setupapi_test.exe
$(DLLEXT
)
237 cp
$(DLLDIR
)/setupapi
/tests
/setupapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
238 shdocvw_test.exe
: $(DLLDIR
)/shdocvw
/tests
/shdocvw_test.exe
$(DLLEXT
)
239 cp
$(DLLDIR
)/shdocvw
/tests
/shdocvw_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
240 shell32_test.exe
: $(DLLDIR
)/shell32
/tests
/shell32_test.exe
$(DLLEXT
)
241 cp
$(DLLDIR
)/shell32
/tests
/shell32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
242 shlwapi_test.exe
: $(DLLDIR
)/shlwapi
/tests
/shlwapi_test.exe
$(DLLEXT
)
243 cp
$(DLLDIR
)/shlwapi
/tests
/shlwapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
244 snmpapi_test.exe
: $(DLLDIR
)/snmpapi
/tests
/snmpapi_test.exe
$(DLLEXT
)
245 cp
$(DLLDIR
)/snmpapi
/tests
/snmpapi_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
246 spoolss_test.exe
: $(DLLDIR
)/spoolss
/tests
/spoolss_test.exe
$(DLLEXT
)
247 cp
$(DLLDIR
)/spoolss
/tests
/spoolss_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
248 urlmon_test.exe
: $(DLLDIR
)/urlmon
/tests
/urlmon_test.exe
$(DLLEXT
)
249 cp
$(DLLDIR
)/urlmon
/tests
/urlmon_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
250 user32_test.exe
: $(DLLDIR
)/user32
/tests
/user32_test.exe
$(DLLEXT
)
251 cp
$(DLLDIR
)/user32
/tests
/user32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
252 usp10_test.exe
: $(DLLDIR
)/usp10
/tests
/usp10_test.exe
$(DLLEXT
)
253 cp
$(DLLDIR
)/usp10
/tests
/usp10_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
254 uxtheme_test.exe
: $(DLLDIR
)/uxtheme
/tests
/uxtheme_test.exe
$(DLLEXT
)
255 cp
$(DLLDIR
)/uxtheme
/tests
/uxtheme_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
256 version_test.exe
: $(DLLDIR
)/version
/tests
/version_test.exe
$(DLLEXT
)
257 cp
$(DLLDIR
)/version
/tests
/version_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
258 wininet_test.exe
: $(DLLDIR
)/wininet
/tests
/wininet_test.exe
$(DLLEXT
)
259 cp
$(DLLDIR
)/wininet
/tests
/wininet_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
260 winmm_test.exe
: $(DLLDIR
)/winmm
/tests
/winmm_test.exe
$(DLLEXT
)
261 cp
$(DLLDIR
)/winmm
/tests
/winmm_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
262 winspool.drv_test.exe
: $(DLLDIR
)/winspool.drv
/tests
/winspool.drv_test.exe
$(DLLEXT
)
263 cp
$(DLLDIR
)/winspool.drv
/tests
/winspool.drv_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
264 wintrust_test.exe
: $(DLLDIR
)/wintrust
/tests
/wintrust_test.exe
$(DLLEXT
)
265 cp
$(DLLDIR
)/wintrust
/tests
/wintrust_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
266 ws2_32_test.exe
: $(DLLDIR
)/ws2_32
/tests
/ws2_32_test.exe
$(DLLEXT
)
267 cp
$(DLLDIR
)/ws2_32
/tests
/ws2_32_test.exe
$(DLLEXT
) $@
&& $(STRIP
) $@
271 winetest.res
: $(TESTBINS
)
274 $(RM
) tests.rc
dist.res winetest-dist winetest-dist.exe
$(TESTBINS
)
276 # Rules for building distributable executable
280 dist: winetest-dist.exe
$(DLLEXT
) winetest-dist
$(EXEEXT
)
282 winetest-dist.exe.so
: $(OBJS
) dist.res Makefile.in
283 $(WINEGCC
) -B
$(TOOLSDIR
)/tools
/winebuild
$(APPMODE
) $(OBJS
) dist.res
-o
$@
-L
$(DLLDIR
) $(DELAYIMPORTS
:%=-Wb
,-d
%) $(ALL_LIBS
)
285 winetest-dist
: $(WINEWRAPPER
)
286 $(RM
) $@
&& $(LN_S
) $(WINEWRAPPER
) $@
288 winetest-dist.exe
: $(OBJS
) dist.res.o Makefile.in
289 $(CC
) $(APPMODE
) $(OBJS
) dist.res.o
-o
$@
$(DELAYIMPORTS
:%=-l
%) $(ALL_LIBS
)
291 tests.rc
: maketest Makefile.in
292 $(SRCDIR
)/maketest
$(TOPSRCDIR
) > $@ ||
($(RM
) $@
&& exit
1)
294 dist.res
: winetest.rc tests.rc build.id build.nfo tests.url winetest.ico
$(TESTBINS
)
296 @DEPENDENCIES@
# everything below this line is overwritten by make depend