Release 1.5.29.
[wine] / tools / widl / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2
3 PROGRAMS = widl$(EXEEXT)
4 MANPAGE  = widl.man
5
6 C_SRCS = \
7         client.c \
8         expr.c \
9         hash.c \
10         header.c \
11         proxy.c \
12         register.c \
13         server.c \
14         typegen.c \
15         typelib.c \
16         typetree.c \
17         utils.c \
18         widl.c \
19         write_msft.c
20
21 LEX_SRCS   = parser.l
22 BISON_SRCS = parser.y
23
24 EXTRADEFS   = -DDEFAULT_INCLUDE_DIR=\"$(includedir)/windows/\"
25 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
26
27 all: $(PROGRAMS)
28
29 @MAKE_RULES@
30
31 widl$(EXEEXT): $(OBJS) $(LIBWPP)
32         $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
33
34 install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
35         $(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
36
37 uninstall::
38         $(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT)