Makefile.in 740 Bytes
Newer Older
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 11
	header.c \
	proxy.c \
12
	register.c \
13
	server.c \
14
	typegen.c \
15
	typelib.c \
16
	typetree.c \
17
	utils.c \
18 19
	widl.c \
	write_msft.c
20

21 22
LEX_SRCS   = parser.l
BISON_SRCS = parser.y
23

24
EXTRADEFS   = -DDEFAULT_INCLUDE_DIR=\"$(includedir)/windows/\"
25 26
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

27
all: $(PROGRAMS)
28 29 30

@MAKE_RULES@

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)