Fixed potential crash in fd_dump function.
[wine/multimedia.git] / tools / winegcc / Makefile.in
blobb34aa2236ac2db022b4a5058b82e20b4554be30b
1 DEFS = \
2 -DINCLUDEDIR="\"$(includedir)\"" \
3 -DDLLDIR="\"$(dlldir)\"" \
4 -DLIBDIR="\"$(libdir)\"" \
5 -DDLLFLAGS="\"@DLLFLAGS@\"" \
6 -DLDDLLFLAGS="\"@LDDLLFLAGS@\"" \
7 -DCC="\"$(CC)\"" \
8 -DCPP="\"@CPPBIN@\"" \
9 -DCXX="\"$(CXX)\"" \
10 -DLD="\"$(LD)\""
12 TOPSRCDIR = @top_srcdir@
13 TOPOBJDIR = ../..
14 SRCDIR = @srcdir@
15 VPATH = @srcdir@
16 EXEEXT = @EXEEXT@
17 MODULE = none
19 PROGRAMS = winegcc$(EXEEXT)
21 C_SRCS = \
22 utils.c \
23 winegcc.c
25 all: $(PROGRAMS)
27 @MAKE_RULES@
29 winegcc$(EXEEXT): winegcc.o utils.o
30 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
32 install:: $(PROGRAMS)
33 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
34 $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(bindir)/winegcc$(EXEEXT)
35 cd $(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
36 cd $(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
37 $(INSTALL_DATA) $(SRCDIR)/winegcc.man $(mandir)/man$(prog_manext)/winegcc.$(prog_manext)
38 cd $(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
40 uninstall::
41 $(RM) $(bindir)/winegcc$(EXEEXT) $(bindir)/wineg++$(EXEEXT) $(bindir)/winecpp$(EXEEXT) \
42 $(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(mandir)/man$(prog_manext)/wineg++.$(prog_manext)
44 ### Dependencies: