PROGRAMS = widl
MANPAGES = widl.man.in

C_SRCS = \
	client.c \
	expr.c \
	hash.c \
	header.c \
	proxy.c \
	register.c \
	server.c \
	typegen.c \
	typelib.c \
	typetree.c \
	utils.c \
	widl.c \
	write_msft.c

LEX_SRCS   = parser.l
BISON_SRCS = parser.y

widl_EXTRADEFS = \
	-DINCLUDEDIR="\"${includedir}\"" \
	-DBIN_TO_INCLUDEDIR=\"`${MAKEDEP} -R ${bindir} ${includedir}`\"

EXTRALIBS = -lwpp

INSTALL_DEV = $(PROGRAMS)