1 TOPSRCDIR
= @top_srcdir@
7 IMPORTS
= uuid comctl32 version user32 gdi32 advapi32 wsock32 kernel32
19 SVG_SRCS
= winetest.svg
21 ALL_TEST_DIRS
= @ALL_TEST_DIRS@
23 TESTBINS
= $(ALL_TEST_DIRS
:%/tests
=%_test.exe
)
24 TESTRCS
= build.rc
$(TESTBINS
:.exe
=.rc
)
25 EXTRA_OBJS
= $(TESTRCS
:.rc
=.res
)
29 @ALL_WINETEST_DEPENDS@
32 $(RM
) winetest-dist.exe
$(TESTBINS
) $(TESTRCS
)
35 build
="STRINGTABLE { 1 \"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo
$$build | cmp
-s
- $@
) || echo
$$build >$@ ||
($(RM
) $@
&& exit
1)
37 # Rules for building distributable executable
41 dist: winetest-dist.exe
$(DLLEXT
)
43 winetest-dist.exe winetest-dist.exe.so
: $(OBJS
) dist.res Makefile.in
44 $(WINEGCC
) $(APPMODE
) $(OBJS
) dist.res
-o
$@
-L
$(DLLDIR
) $(DELAYIMPORTS
:%=-Wb
,-d
%) $(ALL_LIBS
)
49 @DEPENDENCIES@
# everything below this line is overwritten by make depend