d3drm: Implement partially IDirect3DRMMeshBuilderImpl_Load.
[wine.git] / programs / winetest / Makefile.in
blob9e43465b8fa69619c756647b149dff23cf9876b6
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = winetest.exe
6 APPMODE = -mconsole
7 IMPORTS = uuid comctl32 version user32 gdi32 advapi32 wsock32 kernel32
8 DELAYIMPORTS = ole32
10 C_SRCS = \
11 gui.c \
12 main.c \
13 send.c \
14 util.c
16 RC_SRCS = \
17 winetest.rc
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)
27 @MAKE_PROG_RULES@
29 @ALL_WINETEST_DEPENDS@
31 clean::
32 $(RM) winetest-dist.exe $(TESTBINS) $(TESTRCS)
34 build.rc: dummy
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
39 .PHONY: dist
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)
45 -upx -9 -qqq $@
47 dist.res: build.nfo
49 @DEPENDENCIES@ # everything below this line is overwritten by make depend