2009-10-05 14:55:25 +02:00
|
|
|
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
|
|
|
PROGRAMS = widl$(EXEEXT)
|
2005-10-06 18:10:01 +02:00
|
|
|
MANPAGES = widl.man
|
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
|
|
|
|
2006-08-07 17:48:18 +02:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 18:10:01 +02:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
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
|
|
|
|
2008-08-25 14:27:03 +02:00
|
|
|
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|
|
|
|
$(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
|
2002-07-16 05:20:45 +02:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 13:51:38 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
|