Allow enabling or disabling todo_wine for each message sequence so
[wine/multimedia.git] / tools / widl / Makefile.in
blob73c1bcd5a1c393bcdbe7aaa2d7a8062d92ee5f87
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 LEXOPT = -Cf #-w -b
6 YACCOPT = #-v
7 EXEEXT = @EXEEXT@
9 PROGRAMS = widl$(EXEEXT)
10 MODULE = none
12 C_SRCS = \
13 header.c \
14 proxy.c \
15 typelib.c \
16 utils.c \
17 widl.c
19 EXTRA_SRCS = parser.y parser.l
20 EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
22 all: $(PROGRAMS)
24 @MAKE_RULES@
26 widl$(EXEEXT): $(OBJS) $(LIBDIR)/wpp/libwpp.a
27 $(CC) $(CFLAGS) -o $@ $(OBJS) -L$(LIBDIR) -lwpp -lwine_port $(LEXLIB) $(LDFLAGS)
29 y.tab.c y.tab.h: parser.y
30 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/parser.y
32 # hack to allow parallel make
33 y.tab.h: y.tab.c
34 y.tab.o: y.tab.h
36 @LEX_OUTPUT_ROOT@.c: parser.l
37 $(LEX) $(LEXOPT) -d -8 $(SRCDIR)/parser.l
39 @LEX_OUTPUT_ROOT@.o: y.tab.h
41 install:: $(PROGRAMS)
42 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
43 $(INSTALL_PROGRAM) widl$(EXEEXT) $(bindir)/widl$(EXEEXT)
44 $(INSTALL_DATA) $(SRCDIR)/widl.man $(mandir)/man$(prog_manext)/widl.$(prog_manext)
46 uninstall::
47 $(RM) $(bindir)/widl$(EXEEXT) $(mandir)/man$(prog_manext)/widl.$(prog_manext)
49 ### Dependencies: