2002-07-16 03:20:45 +00:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
|
|
|
|
PROGRAMS = widl$(EXEEXT)
|
2005-10-06 16:10:01 +00:00
|
|
|
MANPAGES = widl.man
|
2002-07-16 03:20:45 +00:00
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
2005-02-23 20:31:07 +00:00
|
|
|
client.c \
|
2008-04-22 10:36:38 +00:00
|
|
|
expr.c \
|
2005-01-06 20:45:21 +00:00
|
|
|
hash.c \
|
2002-07-16 03:20:45 +00:00
|
|
|
header.c \
|
|
|
|
proxy.c \
|
2005-02-23 20:31:07 +00:00
|
|
|
server.c \
|
2005-12-08 11:52:13 +00:00
|
|
|
typegen.c \
|
2004-01-07 04:21:27 +00:00
|
|
|
typelib.c \
|
2002-07-16 03:20:45 +00:00
|
|
|
utils.c \
|
2005-01-06 20:45:21 +00:00
|
|
|
widl.c \
|
|
|
|
write_msft.c
|
2002-07-16 03:20:45 +00:00
|
|
|
|
2006-09-09 11:16:22 +00:00
|
|
|
LEX_SRCS = parser.l
|
|
|
|
BISON_SRCS = parser.y
|
2002-07-16 03:20:45 +00:00
|
|
|
|
2006-08-07 15:48:18 +00:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 16:10:01 +00:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2002-07-16 03:20:45 +00:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2006-07-11 17:33:48 +00:00
|
|
|
widl$(EXEEXT): $(OBJS) $(LIBWPP)
|
2007-03-08 12:19:50 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
|
2002-07-16 03:20:45 +00:00
|
|
|
|
2006-08-07 15:48:18 +00:00
|
|
|
install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 12:51:38 +00:00
|
|
|
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|
|
|
|
$(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
|
2002-07-16 03:20:45 +00:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 12:51:38 +00:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
|
2002-07-16 03:20:45 +00:00
|
|
|
|
2006-09-11 19:43:11 +00:00
|
|
|
parser.tab.c: parser.tab.h # for parallel makes
|
|
|
|
|
2006-09-14 07:38:16 +00:00
|
|
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
2006-09-09 11:16:22 +00:00
|
|
|
|
2006-09-14 07:38:16 +00:00
|
|
|
parser.yy.o: parser.tab.h
|