Release 20050930.
[wine/gsoc-2012-control.git] / tools / winegcc / Makefile.in
blobc581d3f80a416aa63300571b343d7839c0a4a602
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 -DPRELINK="\"$(PRELINK)\""
14 TOPSRCDIR = @top_srcdir@
15 TOPOBJDIR = ../..
16 SRCDIR = @srcdir@
17 VPATH = @srcdir@
18 EXEEXT = @EXEEXT@
19 MODULE = none
21 PROGRAMS = \
22 winecpp$(EXEEXT) \
23 winegcc$(EXEEXT) \
24 wineg++$(EXEEXT)
26 C_SRCS = \
27 utils.c \
28 winegcc.c
30 all: $(PROGRAMS)
32 @MAKE_RULES@
34 winegcc$(EXEEXT): winegcc.o utils.o
35 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
37 winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
38 $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
40 install:: $(PROGRAMS)
41 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
42 $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(bindir)/winegcc$(EXEEXT)
43 cd $(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
44 cd $(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
45 $(INSTALL_DATA) $(SRCDIR)/winegcc.man $(mandir)/man$(prog_manext)/winegcc.$(prog_manext)
46 cd $(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
48 uninstall::
49 $(RM) $(bindir)/winegcc$(EXEEXT) $(bindir)/wineg++$(EXEEXT) $(bindir)/winecpp$(EXEEXT) \
50 $(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(mandir)/man$(prog_manext)/wineg++.$(prog_manext)
52 ### Dependencies: