DEFS      = -D__WINE__
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

@LEX_OUTPUT_ROOT@.c: ppl.l
	$(LEX) $(LEXOPT) -d -Ppp -o$@ -8 $(SRCDIR)/ppl.l

@LEX_OUTPUT_ROOT@.o: y.tab.h

### Dependencies:
