Replace some magic numbers with symbols.
[wine] / tools / Makefile.in
1 DEFS      = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\"" -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7
8 PROGRAMS = \
9         bin2res \
10         fnt2bdf \
11         makedep \
12         winegcc \
13         winewrap
14
15 C_SRCS = \
16         bin2res.c \
17         fnt2bdf.c \
18         makedep.c \
19         winegcc.c \
20         winewrap.c
21
22 SUBDIRS = \
23         widl \
24         winebuild \
25         winedump \
26         wmc \
27         wrc
28
29 INSTALLSUBDIRS = $(SUBDIRS)
30
31 EXTRASUBDIRS = \
32         winapi_check \
33         wineconf.libs
34
35 all: $(PROGRAMS) $(SUBDIRS)
36
37 @MAKE_RULES@
38
39 makedep: makedep.o
40         $(CC) $(CFLAGS) -o makedep makedep.o
41
42 fnt2bdf: fnt2bdf.o
43         $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
44
45 bin2res: bin2res.o
46         $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
47
48 winegcc: winegcc.o
49         $(CC) $(CFLAGS) -o winegcc winegcc.o $(LIBPORT)
50
51 winewrap: winewrap.o
52         $(CC) $(CFLAGS) -o winewrap winewrap.o $(LIBPORT)
53
54 install::
55         $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
56         $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
57         $(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
58         cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
59         $(INSTALL_PROGRAM) winewrap $(bindir)/winewrap
60         $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
61
62 uninstall::
63         $(RM) $(bindir)/winemaker $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winewrap $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
64
65 ### Dependencies: