Add AppDefaults app selection to control panel
[wine/gsoc-2012-control.git] / tools / winegcc / Makefile.in
blob85e8002c72aa31906e3d33af8560834847e1bfb8
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 -DPRELINK="\"$(PRELINK)\""
12 PROGRAMS = \
13 winecpp$(EXEEXT) \
14 winegcc$(EXEEXT) \
15 wineg++$(EXEEXT)
17 MANPAGE = winegcc.man
19 C_SRCS = \
20 utils.c \
21 winegcc.c
23 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
25 all: $(PROGRAMS)
27 @MAKE_RULES@
29 winegcc$(EXEEXT): winegcc.o utils.o
30 $(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT) $(LDFLAGS)
32 winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
33 $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
35 install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
36 $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(DESTDIR)$(bindir)/winegcc$(EXEEXT)
37 cd $(DESTDIR)$(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
38 cd $(DESTDIR)$(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
39 cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
40 cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) winecpp.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) winecpp.$(prog_manext)
42 uninstall::
43 $(RM) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(DESTDIR)$(bindir)/wineg++$(EXEEXT) $(DESTDIR)$(bindir)/winecpp$(EXEEXT)
44 $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wineg++.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/winecpp.$(prog_manext)