Release 1.3.7.
[wine/gsoc-2012-control.git] / tools / wmc / Makefile.in
blobf58bd38ce9559277184f84006f59fb7e28a5da89
1 DEFS = -D__WINESRC__ $(EXTRADEFS)
3 PROGRAMS = wmc$(EXEEXT) wmc-installed
4 MANPAGES = wmc.man
6 C_SRCS = \
7 lang.c \
8 mcl.c \
9 utils.c \
10 wmc.c \
11 write.c
13 BISON_SRCS = mcy.y
15 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
17 all: $(PROGRAMS) $(MANPAGES)
19 @MAKE_RULES@
21 wmc$(EXEEXT): $(OBJS)
22 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
24 wmc-installed: $(OBJS)
25 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
27 install install-dev:: wmc-installed $(MANPAGES) $(INSTALLDIRS)
28 $(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
29 $(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
31 uninstall::
32 $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)