1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
8 PROGRAMS = wrc$(EXEEXT) wrc-installed
25 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
27 all: $(PROGRAMS) $(MANPAGES)
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)
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