1 TOPSRCDIR
= @top_srcdir@
7 IMPORTS
= uuid comctl32 version user32 gdi32 advapi32 wsock32
19 SVG_SRCS
= winetest.svg
21 TESTBINS
= @ALL_TEST_BINARIES@
22 TESTRCS
= build.rc
$(TESTBINS
:.exe
=.rc
)
23 EXTRA_OBJS
= $(TESTRCS
:.rc
=.res
)
27 @ALL_WINETEST_DEPENDS@
30 $(RM
) winetest-dist.exe
$(TESTBINS
) $(TESTRCS
)
33 build
="STRINGTABLE { 1 \"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo
$$build | cmp
-s
- $@
) || echo
$$build >$@ ||
($(RM
) $@
&& exit
1)
35 # Rules for building distributable executable
39 dist: winetest-dist.exe
$(DLLEXT
)
41 winetest-dist.exe winetest-dist.exe.so
: $(OBJS
) dist.res Makefile.in
42 $(WINEGCC
) $(APPMODE
) $(OBJS
) dist.res
-o
$@
-L
$(DLLDIR
) $(DELAYIMPORTS
:%=-Wb
,-d
%) $(ALL_LIBS
)