Release 1.1.37.
[wine/gsoc-2012-control.git] / tools / wrc / Makefile.in
blobc8a853483fe78f3741d98038b5a1ef4881273edc
1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 EXEEXT = @EXEEXT@
7 DEFS = -D__WINESRC__ $(EXTRADEFS)
9 PROGRAMS = wrc$(EXEEXT) wrc-installed
10 MANPAGES = wrc.man
11 MODULE = none
13 C_SRCS = \
14 dumpres.c \
15 genres.c \
16 newstruc.c \
17 readres.c \
18 translation.c \
19 utils.c \
20 wrc.c \
21 writeres.c
23 LEX_SRCS = parser.l
24 BISON_SRCS = parser.y
26 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
28 all: $(PROGRAMS) $(MANPAGES)
30 @MAKE_RULES@
32 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
33 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
35 wrc-installed: $(OBJS) $(LIBWPP)
36 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
38 install install-dev:: wrc-installed $(MANPAGES) $(INSTALLDIRS)
39 $(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
40 $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
42 uninstall::
43 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
45 parser.tab.c: parser.tab.h # for parallel makes
47 @DEPENDENCIES@ # everything below this line is overwritten by make depend
49 parser.yy.o: parser.tab.h