makefiles: Generate a general catch-all dependency on .tab.h files to replace the...
[wine/multimedia.git] / tools / widl / Makefile.in
blob21b844346c79f017faf9d0e243ef1ff6e61ddcc2
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
6 DEFS = -D__WINESRC__ $(EXTRADEFS)
8 PROGRAMS = widl$(EXEEXT)
9 MANPAGES = widl.man
10 MODULE = none
12 C_SRCS = \
13 client.c \
14 expr.c \
15 hash.c \
16 header.c \
17 proxy.c \
18 server.c \
19 typegen.c \
20 typelib.c \
21 typetree.c \
22 utils.c \
23 widl.c \
24 write_msft.c
26 LEX_SRCS = parser.l
27 BISON_SRCS = parser.y
29 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
31 all: $(PROGRAMS) $(MANPAGES)
33 @MAKE_RULES@
35 widl$(EXEEXT): $(OBJS) $(LIBWPP)
36 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
38 install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
39 $(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
40 $(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
42 uninstall::
43 $(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
45 parser.tab.c: parser.tab.h # for parallel makes
47 @DEPENDENCIES@ # everything below this line is overwritten by make depend