top_srcdir   = /Users/aaron/downloads/httpd-2.0.50
top_builddir = /Users/aaron/downloads/httpd-2.0.50
srcdir       = /Users/aaron/downloads/httpd-2.0.50/srclib/pcre
builddir     = /Users/aaron/downloads/httpd-2.0.50/srclib/pcre
VPATH        = /Users/aaron/downloads/httpd-2.0.50/srclib/pcre
LTLIBRARY_NAME = libpcre.la
LTLIBRARY_SOURCES = maketables.c get.c study.c pcre.c pcreposix.c

CLEAN_TARGETS = dftables chartables.c
DISTCLEAN_TARGETS = pcre.h pcre-config config.h config.log config.status $(CLEAN_TARGETS)

include $(top_srcdir)/build/ltlib.mk

config.h:
	touch $@

$(LTLIBRARY_OBJECTS) dftables.lo: config.h

dftables: dftables.lo
	$(LINK) $(EXTRA_LDFLAGS) dftables.lo $(EXTRA_LIBS)

$(srcdir)/chartables.c: dftables
	./dftables > $@

pcre.lo: $(srcdir)/chartables.c
