Release 1.1.8.
[wine/multimedia.git] / tools / winegcc / Makefile.in
blob6650ed135665b7dbeb8be65fb1a09f08d916b4d1
1 DEFS = \
2 -DINCLUDEDIR="\"$(includedir)\"" \
3 -DDLLDIR="\"$(dlldir)\"" \
4 -DLIBDIR="\"$(libdir)\"" \
5 -DDLLFLAGS="\"@DLLFLAGS@\"" \
6 -DLDDLLFLAGS="\"@LDDLLFLAGS@\"" \
7 -DAS="\"$(AS)\"" \
8 -DCC="\"$(CC)\"" \
9 -DCPP="\"@CPPBIN@\"" \
10 -DCXX="\"@CXX@\"" \
11 -DLD="\"$(LD)\"" \
12 -DNM="\"$(NM)\"" \
13 -DPRELINK="\"$(PRELINK)\""
15 TOPSRCDIR = @top_srcdir@
16 TOPOBJDIR = ../..
17 SRCDIR = @srcdir@
18 VPATH = @srcdir@
19 EXEEXT = @EXEEXT@
20 MODULE = none
22 PROGRAMS = \
23 winecpp$(EXEEXT) \
24 winegcc$(EXEEXT) \
25 wineg++$(EXEEXT)
27 MANPAGES = winegcc.man
29 C_SRCS = \
30 utils.c \
31 winegcc.c
33 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
35 all: $(PROGRAMS) $(MANPAGES)
37 @MAKE_RULES@
39 winegcc$(EXEEXT): winegcc.o utils.o
40 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT) $(LDFLAGS)
42 winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
43 $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
45 install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
46 $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(DESTDIR)$(bindir)/winegcc$(EXEEXT)
47 cd $(DESTDIR)$(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
48 cd $(DESTDIR)$(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
49 $(INSTALL_DATA) winegcc.man $(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext)
50 cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
52 uninstall::
53 $(RM) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(DESTDIR)$(bindir)/wineg++$(EXEEXT) $(DESTDIR)$(bindir)/winecpp$(EXEEXT) \
54 $(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineg++.$(prog_manext)
56 @DEPENDENCIES@ # everything below this line is overwritten by make depend