bcrypt: Add a mostly empty bcrypt.dll.
[wine/hacks.git] / programs / winetest / Makefile.in
blob298ca1a58624db646d56742be0649c2c878a6131
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
10 EXTRARCFLAGS = -DBUILD_SHA1=\"`GIT_DIR=$(TOPSRCDIR)/.git git rev-parse HEAD 2>/dev/null`\"
12 C_SRCS = \
13 gui.c \
14 main.c \
15 send.c \
16 util.c
18 RC_SRCS = \
19 winetest.rc
21 SVG_SRCS = winetest.svg
23 @MAKE_PROG_RULES@
25 ALL_TEST_DIRS = @ALL_TEST_DIRS@
27 TESTBINS = $(ALL_TEST_DIRS:%/tests=%_test.exe)
29 @ALL_WINETEST_DEPENDS@
31 # Special rules
33 winetest.res: $(TESTBINS)
35 tests.rc: Makefile.in $(TOPOBJDIR)/config.status
36 (for i in $(TESTBINS); do echo "$$i TESTRES \"$$i\""; done) >$@ || ($(RM) $@ && false)
38 clean::
39 $(RM) tests.rc dist.res winetest-dist.exe $(TESTBINS)
41 depend: tests.rc
43 # Rules for building distributable executable
45 .PHONY: dist
47 dist: winetest-dist.exe$(DLLEXT)
49 winetest-dist.exe.so: $(OBJS) dist.res Makefile.in
50 $(WINEGCC) $(APPMODE) $(OBJS) dist.res -o $@ -L$(DLLDIR) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
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 $@
56 dist.res: winetest.rc tests.rc build.nfo winetest.ico $(TESTBINS)
58 @DEPENDENCIES@ # everything below this line is overwritten by make depend
60 winetest.res: tests.rc