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