Improved Winelib apps initialisation code. No longer need to link
[wine] / libtest / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = none
6 PROGRAMS  = expand hello hello2 hello3 hello4 hello5 new rolex vartest volinfo
7 ALL_LIBS  = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
8 WRCEXTRA  = -s -p $*
9
10 SPEC_SRCS = \
11         expand.spec \
12         hello.spec \
13         hello2.spec \
14         hello3.spec \
15         hello4.spec \
16         hello5.spec \
17         new.spec \
18         rolex.spec \
19         vartest.spec \
20         volinfo.spec
21
22 RC_SRCS = \
23         hello3res.rc
24
25 all: check_wrc $(PROGRAMS)
26
27 @MAKE_RULES@
28
29 expand: expand.o expand.spec.o
30         $(CC) -o expand $+ $(LDOPTIONS) $(ALL_LIBS)
31
32 hello: hello.o hello.spec.o
33         $(CC) -o hello $+ $(LDOPTIONS) $(ALL_LIBS)
34
35 hello2: hello2.o hello2.spec.o
36         $(CC) -o hello2 $+ $(LDOPTIONS) $(ALL_LIBS)
37
38 hello3: hello3.o hello3.spec.o hello3res.o
39         $(CC) -o hello3 $+ $(LDOPTIONS) $(ALL_LIBS)
40
41 hello4: hello4.o hello4.spec.o
42         $(CC) -o hello4 $+ $(LDOPTIONS) $(ALL_LIBS)
43
44 hello5: hello5.o hello5.spec.o
45         $(CC) -o hello5 $+ $(LDOPTIONS) $(ALL_LIBS)
46
47 new: new.o new.spec.o
48         $(CC) -o new $+ $(LDOPTIONS) $(ALL_LIBS)
49
50 rolex: rolex.o rolex.spec.o
51         $(CC) -o rolex $+ $(LDOPTIONS) $(ALL_LIBS)
52
53 vartest: vartest.o vartest.spec.o
54         $(CC) -o vartest $+ $(LDOPTIONS) $(ALL_LIBS)
55
56 volinfo: volinfo.o volinfo.spec.o
57         $(CC) -o volinfo $+ $(LDOPTIONS) $(ALL_LIBS)
58
59 ### Dependencies: