--- parser3/src/pcre/Attic/Makefile 2001/05/18 12:59:36 1.2 +++ parser3/src/pcre/Attic/Makefile 2001/05/21 09:10:52 1.7 @@ -11,7 +11,7 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -# $Id: Makefile,v 1.2 2001/05/18 12:59:36 parser Exp $ +# $Id: Makefile,v 1.7 2001/05/21 09:10:52 parser Exp $ SHELL = /bin/sh @@ -85,8 +85,11 @@ bin_PROGRAMS = dftables pcre_parser_ctyp dftables_SOURCES = dftables.c pcre_parser_ctype_SOURCES = pcre_parser_ctype.c +CHARTABLES_C = chartables.c + noinst_LIBRARIES = libpcre.a -libpcre_a_SOURCES = chartables.c get.c pcre.c study.c chartables.c maketables.c +libpcre_a_SOURCES = get.c pcre.c study.c maketables.c +CLEANFILES = $(CHARTABLES_C) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../include/pa_config_auto.h CONFIG_CLEAN_FILES = @@ -98,8 +101,7 @@ CPPFLAGS = LDFLAGS = LIBS = libpcre_a_LIBADD = -libpcre_a_OBJECTS = chartables.o get.o pcre.o study.o chartables.o \ -maketables.o +libpcre_a_OBJECTS = get.o pcre.o study.o maketables.o AR = ar PROGRAMS = $(bin_PROGRAMS) @@ -123,8 +125,8 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $( TAR = gtar GZIP_ENV = --best -DEP_FILES = .deps/chartables.P .deps/dftables.P .deps/get.P \ -.deps/maketables.P .deps/pcre.P .deps/pcre_parser_ctype.P .deps/study.P +DEP_FILES = .deps/dftables.P .deps/get.P .deps/maketables.P \ +.deps/pcre.P .deps/pcre_parser_ctype.P .deps/study.P SOURCES = $(libpcre_a_SOURCES) $(dftables_SOURCES) $(pcre_parser_ctype_SOURCES) OBJECTS = $(libpcre_a_OBJECTS) $(dftables_OBJECTS) $(pcre_parser_ctype_OBJECTS) @@ -329,6 +331,7 @@ installdirs: mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) @@ -384,8 +387,10 @@ mostlyclean distclean maintainer-clean auto_part.p: pcre_parser_ctype ./pcre_parser_ctype Russian_Russia.1251 > auto_part.p -chartables.c: dftables - ./dftables >chartables.c +$(CHARTABLES_C): dftables + ./dftables >$(CHARTABLES_C) + +pcre.c: $(CHARTABLES_C) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.