Release 1.1.14.
[wine/gsoc-2012-control.git] / tools / wmc / Makefile.in
blobb54a19f9ebfd53a56c62aeb102c436ad6a01ac1d
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
7 PROGRAMS = wmc$(EXEEXT) wmc-installed
8 MANPAGES = wmc.man
9 MODULE = none
11 C_SRCS = \
12 lang.c \
13 mcl.c \
14 utils.c \
15 wmc.c \
16 write.c
18 BISON_SRCS = mcy.y
20 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
22 all: $(PROGRAMS) $(MANPAGES)
24 @MAKE_RULES@
26 wmc$(EXEEXT): $(OBJS)
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 install-dev:: 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)
36 uninstall::
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
43 mcl.o: mcy.tab.h