1 TOPSRCDIR = @top_srcdir@
6 DEFS = -D__WINESRC__ $(EXTRADEFS)
8 PROGRAMS = wmc$(EXEEXT) wmc-installed
21 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
23 all: $(PROGRAMS) $(MANPAGES)
28 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
30 wmc-installed: $(OBJS)
31 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
33 install install-dev:: wmc-installed $(MANPAGES) $(INSTALLDIRS)
34 $(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
35 $(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
38 $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
40 mcy.tab.c: mcy.tab.h # for parallel makes