Makefile.in 1.04 KB
Newer Older
1 2 3 4 5 6 7
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
EXEEXT    = @EXEEXT@

PROGRAMS = widl$(EXEEXT)
8
MANPAGES = widl.man
9 10 11
MODULE   = none

C_SRCS = \
12
	client.c \
13
	expr.c \
14
	hash.c \
15 16
	header.c \
	proxy.c \
17
	server.c \
18
	typegen.c \
19
	typelib.c \
20
	typetree.c \
21
	utils.c \
22 23
	widl.c \
	write_msft.c
24

25 26
LEX_SRCS   = parser.l
BISON_SRCS = parser.y
27

28 29
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

30
all: $(PROGRAMS) $(MANPAGES)
31 32 33

@MAKE_RULES@

34
widl$(EXEEXT): $(OBJS) $(LIBWPP)
35
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
36

37
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
38 39
	$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
	$(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
40 41

uninstall::
42
	$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
43

44 45
parser.tab.c: parser.tab.h   # for parallel makes

46
@DEPENDENCIES@  # everything below this line is overwritten by make depend
47

48
parser.yy.o: parser.tab.h