Release 1.3.2.
[wine/gsoc-2012-control.git] / programs / winetest / Makefile.in
blob11f720d7190f793f8aec6ec094e32d49b2f0a802
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
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 clean::
28 $(RM) build.nfo winetest-dist.exe $(TESTBINS) $(TESTRCS)
30 build.rc: dummy
31 build="BUILD_INFO STRINGRES build.nfo STRINGTABLE { 1 \"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || ($(RM) $@ && exit 1)
33 build.nfo:
34 -$(CC) -v 2>$@
36 build.res: build.nfo
38 # Rules for building distributable executable
40 .PHONY: dist
42 dist: winetest-dist.exe$(DLLEXT)
44 winetest-dist.exe$(DLLEXT): winetest.exe$(DLLEXT)
45 cp winetest.exe$(DLLEXT) $@
46 -upx -9 -qqq $@
48 @ALL_WINETEST_DEPENDS@