Exclude crashing CreateFileW test on NT4.
[wine/wine-kai.git] / tools / widl / Makefile.in
blob3cfcfe17015b3b578914652e113c09879216d76f
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 client.c \
14 hash.c \
15 header.c \
16 proxy.c \
17 server.c \
18 typelib.c \
19 utils.c \
20 widl.c \
21 write_msft.c
23 EXTRA_SRCS = parser.y parser.l
24 EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
26 all: $(PROGRAMS)
28 @MAKE_RULES@
30 widl$(EXEEXT): $(OBJS) $(LIBDIR)/wpp/libwpp.a
31 $(CC) $(CFLAGS) -o $@ $(OBJS) -L$(LIBDIR) -lwpp -lwine_port $(LEXLIB) $(LDFLAGS)
33 y.tab.c y.tab.h: parser.y
34 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/parser.y
36 # hack to allow parallel make
37 y.tab.h: y.tab.c
38 y.tab.o: y.tab.h
40 @LEX_OUTPUT_ROOT@.c: parser.l
41 $(LEX) $(LEXOPT) -d -8 $(SRCDIR)/parser.l
43 @LEX_OUTPUT_ROOT@.o: y.tab.h
45 install:: $(PROGRAMS)
46 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
47 $(INSTALL_PROGRAM) widl$(EXEEXT) $(bindir)/widl$(EXEEXT)
48 $(INSTALL_DATA) $(SRCDIR)/widl.man $(mandir)/man$(prog_manext)/widl.$(prog_manext)
50 uninstall::
51 $(RM) $(bindir)/widl$(EXEEXT) $(mandir)/man$(prog_manext)/widl.$(prog_manext)
53 ### Dependencies: