Release 1.1.14.
[wine/gsoc-2012-control.git] / tools / wrc / Makefile.in
blob911d131df153fb90ff0397df8e60964079cf3406
1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 EXEEXT = @EXEEXT@
8 PROGRAMS = wrc$(EXEEXT) wrc-installed
9 MANPAGES = wrc.man
10 MODULE = none
12 C_SRCS = \
13 dumpres.c \
14 genres.c \
15 newstruc.c \
16 readres.c \
17 translation.c \
18 utils.c \
19 wrc.c \
20 writeres.c
22 LEX_SRCS = parser.l
23 BISON_SRCS = parser.y
25 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
27 all: $(PROGRAMS) $(MANPAGES)
29 @MAKE_RULES@
31 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
32 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
34 wrc-installed: $(OBJS) $(LIBWPP)
35 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
37 install install-dev:: wrc-installed $(MANPAGES) $(INSTALLDIRS)
38 $(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
39 $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
41 uninstall::
42 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
44 parser.tab.c: parser.tab.h # for parallel makes
46 @DEPENDENCIES@ # everything below this line is overwritten by make depend
48 parser.yy.o: parser.tab.h