push c22b4aa826b27f0c6bc5101b378e6e68716a85d9
[wine/hacks.git] / tools / widl / Makefile.in
blob453276c55d5880e58579e4d3aac5cc7257016ff6
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
7 PROGRAMS = widl$(EXEEXT)
8 MANPAGES = widl.man
9 MODULE = none
11 C_SRCS = \
12 client.c \
13 expr.c \
14 hash.c \
15 header.c \
16 proxy.c \
17 server.c \
18 typegen.c \
19 typelib.c \
20 typetree.c \
21 utils.c \
22 widl.c \
23 write_msft.c
25 LEX_SRCS = parser.l
26 BISON_SRCS = parser.y
28 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
30 all: $(PROGRAMS) $(MANPAGES)
32 @MAKE_RULES@
34 widl$(EXEEXT): $(OBJS) $(LIBWPP)
35 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
37 install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
38 $(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
39 $(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
41 uninstall::
42 $(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
44 parser.tab.c: parser.tab.h # for parallel makes
46 @DEPENDENCIES@ # everything below this line is overwritten by make depend
48 parser.yy.o: parser.tab.h