Release 20040914.
[wine/gsoc-2012-control.git] / tools / wmc / Makefile.in
blobc42cddce649f123ecd2835153de23fea079f0778
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 YACCOPT = #-v
6 EXEEXT = @EXEEXT@
8 PROGRAMS = wmc$(EXEEXT)
9 MODULE = none
11 C_SRCS = \
12 lang.c \
13 mcl.c \
14 utils.c \
15 wmc.c \
16 write.c
18 EXTRA_SRCS = mcy.y
19 EXTRA_OBJS = y.tab.o
21 all: $(PROGRAMS)
23 mcl.o: y.tab.h
25 @MAKE_RULES@
27 wmc$(EXEEXT): $(OBJS)
28 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBUNICODE) $(LIBPORT) $(LEXLIB) $(LDFLAGS)
30 y.tab.c y.tab.h: mcy.y
31 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/mcy.y
33 # hack to allow parallel make
34 y.tab.h: y.tab.c
35 y.tab.o: y.tab.h
37 install:: $(PROGRAMS)
38 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
39 $(INSTALL_DATA) $(SRCDIR)/wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
40 $(INSTALL_PROGRAM) wmc$(EXEEXT) $(bindir)/wmc$(EXEEXT)
42 uninstall::
43 $(RM) $(bindir)/wmc$(EXEEXT) $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
45 ### Dependencies: