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