xcopy: Convert the German resources to UTF-8.
[wine] / programs / winetest / Makefile.in
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
9
10 C_SRCS = \
11         gui.c \
12         main.c \
13         send.c \
14         util.c
15
16 RC_SRCS = \
17         winetest.rc
18
19 SVG_SRCS = winetest.svg
20
21 ALL_TEST_DIRS = @ALL_TEST_DIRS@
22
23 TESTBINS   = $(ALL_TEST_DIRS:%/tests=%_test.exe)
24 TESTRCS    = build.rc $(TESTBINS:.exe=.rc)
25 EXTRA_OBJS = $(TESTRCS:.rc=.res)
26
27 @MAKE_PROG_RULES@
28
29 @ALL_WINETEST_DEPENDS@
30
31 clean::
32         $(RM) winetest-dist.exe $(TESTBINS) $(TESTRCS)
33
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)
36
37 # Rules for building distributable executable
38
39 .PHONY: dist
40
41 dist: winetest-dist.exe$(DLLEXT)
42
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 $@
46
47 dist.res: build.nfo
48
49 @DEPENDENCIES@  # everything below this line is overwritten by make depend