Create an assembly file with all undefined symbols and add it to the
[wine] / tools / winegcc / Makefile.in
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)\""
13
14 TOPSRCDIR = @top_srcdir@
15 TOPOBJDIR = ../..
16 SRCDIR    = @srcdir@
17 VPATH     = @srcdir@
18 EXEEXT    = @EXEEXT@
19 MODULE    = none
20
21 PROGRAMS = \
22         winecpp$(EXEEXT) \
23         winegcc$(EXEEXT) \
24         wineg++$(EXEEXT)
25
26 C_SRCS = \
27         utils.c \
28         winegcc.c
29
30 all: $(PROGRAMS)
31
32 @MAKE_RULES@
33
34 winegcc$(EXEEXT): winegcc.o utils.o
35         $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
36
37 winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
38         $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
39
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)
47
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)
51
52 ### Dependencies: