1 TOPSRCDIR = @top_srcdir@
7 PROGRAMS = wmc$(EXEEXT) wmc-installed
20 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
22 all: $(PROGRAMS) $(MANPAGES)
27 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
29 wmc-installed: $(OBJS)
30 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
32 install:: wmc-installed $(MANPAGES) $(INSTALLDIRS)
33 $(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
34 $(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
37 $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
39 mcy.tab.c: mcy.tab.h # for parallel makes
41 @DEPENDENCIES@ # everything below this line is overwritten by make depend