widl: Support forward type declarations.
[wine] / tools / wmc / Makefile.in
1 DEFS     = -D__WINESRC__ $(EXTRADEFS)
2 PROGRAMS = wmc$(EXEEXT) wmc-installed
3 MANPAGE  = wmc.man
4 ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE) $(LIBPORT)
5
6 C_SRCS = \
7         lang.c \
8         mcl.c \
9         po.c \
10         utils.c \
11         wmc.c \
12         write.c
13
14 BISON_SRCS = mcy.y
15
16 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
17
18 all: $(PROGRAMS)
19
20 @MAKE_RULES@
21
22 wmc$(EXEEXT): $(OBJS)
23         $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
24
25 wmc-installed: $(OBJS)
26         $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
27
28 install:: wmc-installed $(DESTDIR)$(bindir)
29         $(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
30
31 uninstall::
32         $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)