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