winedbg: Remove spaces before '\n's.
[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 EXTRARCFLAGS = -DBUILD_SHA1=\"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\"
11
12 C_SRCS = \
13         gui.c \
14         main.c \
15         send.c \
16         util.c
17
18 RC_SRCS = \
19         winetest.rc
20
21 SVG_SRCS = winetest.svg
22
23 @MAKE_PROG_RULES@
24
25 ALL_TEST_DIRS = @ALL_TEST_DIRS@
26
27 TESTBINS = $(ALL_TEST_DIRS:%/tests=%_test.exe)
28
29 @ALL_WINETEST_DEPENDS@
30
31 # Special rules
32
33 winetest.res: $(TESTBINS)
34
35 tests.rc: Makefile.in $(TOPOBJDIR)/config.status
36         (for i in $(TESTBINS); do echo "$$i TESTRES \"$$i\""; done) >$@ || ($(RM) $@ && false)
37
38 clean::
39         $(RM) tests.rc dist.res winetest-dist.exe $(TESTBINS)
40
41 depend: tests.rc
42
43 # Rules for building distributable executable
44
45 .PHONY: dist
46
47 dist: winetest-dist.exe$(DLLEXT)
48
49 winetest-dist.exe.so: $(OBJS) dist.res Makefile.in
50         $(WINEGCC) $(APPMODE) $(OBJS) dist.res -o $@ -L$(DLLDIR) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
51
52 winetest-dist.exe: $(OBJS) dist.res.o Makefile.in
53         $(CC) $(APPMODE) $(OBJS) dist.res.o -o $@ -L$(DLLDIR) $(IMPORTS:%=-L$(DLLDIR)/%) $(ALL_LIBS)
54         -upx -9 -qqq $@
55
56 dist.res: winetest.rc tests.rc build.nfo winetest.ico $(TESTBINS)
57
58 @DEPENDENCIES@  # everything below this line is overwritten by make depend
59
60 winetest.res: tests.rc