Release 1.2-rc6.
[wine/gsoc-2012-control.git] / tools / wmc / Makefile.in
blobadd09e158eea27de28ef2924c4300ee007de0e4d
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
6 DEFS = -D__WINESRC__ $(EXTRADEFS)
8 PROGRAMS = wmc$(EXEEXT) wmc-installed
9 MANPAGES = wmc.man
10 MODULE = none
12 C_SRCS = \
13 lang.c \
14 mcl.c \
15 utils.c \
16 wmc.c \
17 write.c
19 BISON_SRCS = mcy.y
21 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
23 all: $(PROGRAMS) $(MANPAGES)
25 @MAKE_RULES@
27 wmc$(EXEEXT): $(OBJS)
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)
37 uninstall::
38 $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)