comctl32: Use style to distinguish between embedded and standalone propsheets.
[wine/multimedia.git] / programs / winetest / Makefile.in
blobd50284abdc95eb750bc50626cc278f232d34935d
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = winetest.exe
6 APPMODE = -mconsole
7 IMPORTS = comctl32 version user32 gdi32 advapi32 wsock32 kernel32
9 EXTRARCFLAGS = -DBUILD_SHA1=\"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\"
11 C_SRCS = \
12 gui.c \
13 main.c \
14 send.c \
15 util.c
17 RC_SRCS = \
18 winetest.rc
20 SVG_SRCS = winetest.svg
22 @MAKE_PROG_RULES@
24 ALL_TEST_DIRS = @ALL_TEST_DIRS@
26 TESTBINS = $(ALL_TEST_DIRS:%/tests=%_test.exe)
28 @ALL_WINETEST_DEPENDS@
30 # Special rules
32 winetest.res: $(TESTBINS)
34 tests.rc: Makefile.in $(TOPOBJDIR)/config.status
35 (for i in $(TESTBINS); do echo "$$i TESTRES \"$$i\""; done) >$@ || ($(RM) $@ && false)
37 clean::
38 $(RM) tests.rc dist.res winetest-dist winetest-dist.exe $(TESTBINS)
40 depend: tests.rc
42 # Rules for building distributable executable
44 .PHONY: dist
46 dist: winetest-dist.exe$(DLLEXT) winetest-dist$(EXEEXT)
48 winetest-dist.exe.so: $(OBJS) dist.res Makefile.in
49 $(WINEGCC) $(APPMODE) $(OBJS) dist.res -o $@ -L$(DLLDIR) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
51 winetest-dist: $(WINEWRAPPER)
52 $(RM) $@ && $(LN_S) $(WINEWRAPPER) $@
54 winetest-dist.exe: $(OBJS) dist.res.o Makefile.in
55 $(CC) $(APPMODE) $(OBJS) dist.res.o -o $@ -L$(DLLDIR) $(IMPORTS:%=-L$(DLLDIR)/%) $(ALL_LIBS)
56 -upx -9 -qqq $@
58 dist.res: winetest.rc tests.rc build.nfo tests.url winetest.ico $(TESTBINS)
60 @DEPENDENCIES@ # everything below this line is overwritten by make depend
62 winetest.res: tests.rc