Release 1.2-rc6.
[wine/gsoc-2012-control.git] / programs / winetest / Makefile.in
blob699113cf0541c6e2a3b1563e48c0659861ed7231
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 TESTBINS = @ALL_TEST_BINARIES@
22 TESTRCS = build.rc $(TESTBINS:.exe=.rc)
23 EXTRA_OBJS = $(TESTRCS:.rc=.res)
25 @MAKE_PROG_RULES@
27 @ALL_WINETEST_DEPENDS@
29 clean::
30 $(RM) winetest-dist.exe $(TESTBINS) $(TESTRCS)
32 build.rc: dummy
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
37 .PHONY: dist
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)
43 -upx -9 -qqq $@
45 dist.res: build.nfo