blob: 72cb1c0a3b2baa5c310c304cbee9ff3145e1c036 [file] [log] [blame]
DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = widl$(EXEEXT)
MANPAGE = widl.man
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
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS)
@MAKE_RULES@
widl$(EXEEXT): $(OBJS) $(LIBWPP)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
install:: $(PROGRAMS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
uninstall::
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT)