2003-01-04 01:52:18 +01:00
|
|
|
DEFS = -D__WINESRC__
|
2002-07-16 04:33:10 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
LEXOPT = -Cf #-w -b
|
|
|
|
YACCOPT = #-v
|
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
|
|
|
preproc.c \
|
|
|
|
wpp.c
|
|
|
|
|
|
|
|
EXTRA_SRCS = ppy.y ppl.l
|
|
|
|
EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
|
|
|
|
|
|
|
|
all: libwpp.a
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
|
|
|
libwpp.a: $(OBJS)
|
|
|
|
$(RM) $@
|
|
|
|
$(AR) $@ $(OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
y.tab.c y.tab.h: ppy.y
|
|
|
|
$(YACC) $(YACCOPT) -ppp -d -t $(SRCDIR)/ppy.y
|
|
|
|
|
2002-12-15 02:19:53 +01:00
|
|
|
# hack to allow parallel make
|
|
|
|
y.tab.h: y.tab.c
|
|
|
|
y.tab.o: y.tab.h
|
|
|
|
|
2002-07-16 04:33:10 +02:00
|
|
|
@LEX_OUTPUT_ROOT@.c: ppl.l
|
|
|
|
$(LEX) $(LEXOPT) -d -Ppp -o$@ -8 $(SRCDIR)/ppl.l
|
|
|
|
|
2002-08-10 02:03:08 +02:00
|
|
|
@LEX_OUTPUT_ROOT@.o: y.tab.h
|
|
|
|
|
2002-07-16 04:33:10 +02:00
|
|
|
### Dependencies:
|