1 TOPSRCDIR
= @top_srcdir@
9 PROGRAMS
= widl
$(EXEEXT
)
19 EXTRA_SRCS
= parser.y parser.l
20 EXTRA_OBJS
= y.tab.o @LEX_OUTPUT_ROOT@.o
26 widl
$(EXEEXT
): $(OBJS
) $(LIBDIR
)/wpp
/libwpp.a
27 $(CC
) $(CFLAGS
) -o
$@
$(OBJS
) -L
$(LIBDIR
) -lwpp
-lwine_port
$(LEXLIB
) $(LDFLAGS
)
29 y.tab.c y.tab.h
: parser.y
30 $(YACC
) $(YACCOPT
) -d
-t
$(SRCDIR
)/parser.y
32 # hack to allow parallel make
36 @LEX_OUTPUT_ROOT@.c
: parser.l
37 $(LEX
) $(LEXOPT
) -d
-8 $(SRCDIR
)/parser.l
39 @LEX_OUTPUT_ROOT@.o
: y.tab.h
42 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
43 $(INSTALL_PROGRAM
) widl
$(EXEEXT
) $(bindir)/widl
$(EXEEXT
)
44 $(INSTALL_DATA
) $(SRCDIR
)/widl.man
$(mandir)/man
$(prog_manext
)/widl.
$(prog_manext
)
47 $(RM
) $(bindir)/widl
$(EXEEXT
) $(mandir)/man
$(prog_manext
)/widl.
$(prog_manext
)