DEFS = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" $(EXTRADEFS) PROGRAMS = wrc$(EXEEXT) wrc-installed MANPAGE = wrc.man C_SRCS = \ dumpres.c \ genres.c \ newstruc.c \ readres.c \ translation.c \ utils.c \ wrc.c \ writeres.c LEX_SRCS = parser.l BISON_SRCS = parser.y INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) all: $(PROGRAMS) @MAKE_RULES@ wrc$(EXEEXT): $(OBJS) $(LIBWPP) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL) wrc-installed: $(OBJS) $(LIBWPP) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL) install:: wrc-installed $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT) uninstall:: $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)