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