2002-07-16 05:20:45 +02:00
|
|
|
PROGRAMS = widl$(EXEEXT)
|
2013-11-18 11:34:03 +01:00
|
|
|
MANPAGES = widl.man.in
|
2002-07-16 05:20:45 +02:00
|
|
|
|
|
|
|
C_SRCS = \
|
2005-02-23 21:31:07 +01:00
|
|
|
client.c \
|
2008-04-22 12:36:38 +02:00
|
|
|
expr.c \
|
2005-01-06 21:45:21 +01:00
|
|
|
hash.c \
|
2002-07-16 05:20:45 +02:00
|
|
|
header.c \
|
|
|
|
proxy.c \
|
2010-11-27 13:24:49 +01:00
|
|
|
register.c \
|
2005-02-23 21:31:07 +01:00
|
|
|
server.c \
|
2005-12-08 12:52:13 +01:00
|
|
|
typegen.c \
|
2004-01-07 05:21:27 +01:00
|
|
|
typelib.c \
|
2008-12-29 13:05:27 +01:00
|
|
|
typetree.c \
|
2002-07-16 05:20:45 +02:00
|
|
|
utils.c \
|
2005-01-06 21:45:21 +01:00
|
|
|
widl.c \
|
|
|
|
write_msft.c
|
2002-07-16 05:20:45 +02:00
|
|
|
|
2006-09-09 13:16:22 +02:00
|
|
|
LEX_SRCS = parser.l
|
|
|
|
BISON_SRCS = parser.y
|
2002-07-16 05:20:45 +02:00
|
|
|
|
2014-01-07 12:20:25 +01:00
|
|
|
widl_EXTRADEFS = -DDEFAULT_INCLUDE_DIR=\"${includedir}/windows/\"
|
2006-08-07 17:48:18 +02:00
|
|
|
|
2014-01-14 11:59:25 +01:00
|
|
|
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
2006-07-11 19:33:48 +02:00
|
|
|
widl$(EXEEXT): $(OBJS) $(LIBWPP)
|
2007-03-08 13:19:50 +01:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
2014-01-14 11:59:25 +01:00
|
|
|
.PHONY: install install-dev uninstall
|
|
|
|
|
2013-12-26 13:24:26 +01:00
|
|
|
install install-dev:: $(PROGRAMS) install-man-pages
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
|
|
|
uninstall::
|
2010-12-05 16:17:42 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|