programs: Remove explicit imports of kernel32 and ntdll.
[wine/hramrach.git] / programs / winetest / Makefile.in
blobab11876cf016e4e4f5dfd2d32ff9e0cb0b3c725a
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 @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