X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c1ac69960f6c08393233fe99fe44a1c99373e6df..c5537c6e21da5c92ab74fc567f663becc59d3f07:/src/src/pcre/Makefile diff --git a/src/src/pcre/Makefile b/src/src/pcre/Makefile index 451ca2019..3979a365c 100644 --- a/src/src/pcre/Makefile +++ b/src/src/pcre/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/src/src/pcre/Makefile,v 1.2 2005/05/17 09:53:35 ph10 Exp $ +# $Cambridge: exim/src/src/pcre/Makefile,v 1.9 2007/06/29 08:49:17 ph10 Exp $ # Makefile for PCRE (Perl-Compatible Regular Expression) library for use by # Exim. This is a tailored Makefile, not the normal one that comes with the @@ -13,12 +13,14 @@ RANLIB = @true ############################################################################## -OBJ = maketables.o get.o pcre.o study.o +OBJ = pcre_maketables.o pcre_chartables.o pcre_fullinfo.o pcre_get.o \ + pcre_globals.o pcre_compile.o pcre_config.o pcre_exec.o pcre_newline.o \ + pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_version.o all: libpcre.a ../pcretest ../pcretest: libpcre.a pcretest.o - @echo "$(CC) -o pcretest" + @echo "$(CC) -o ../pcretest pcretest.o libpcre.a" $(FE)$(CC) $(CFLAGS) -o ../pcretest pcretest.o libpcre.a libpcre.a: $(OBJ) @@ -27,33 +29,60 @@ libpcre.a: $(OBJ) $(FE)$(AR) libpcre.a $(OBJ) $(RANLIB) libpcre.a -pcre.o: chartables.c pcre.c config.h pcre.h internal.h Makefile - @echo "$(CC) pcre.c" - $(FE)$(CC) -c $(CFLAGS) pcre.c +pcre_chartables.o: pcre_chartables.c pcre_compile.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_chartables.c" + $(FE)$(CC) -c $(CFLAGS) pcre_chartables.c -maketables.o: maketables.c config.h pcre.h internal.h Makefile - @echo "$(CC) maketables.c" - $(FE)$(CC) -c $(CFLAGS) maketables.c +pcre_compile.o: pcre_compile.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_compile.c" + $(FE)$(CC) -c $(CFLAGS) pcre_compile.c -get.o: get.c pcre.h config.h internal.h Makefile - @echo "$(CC) get.c" - $(FE)$(CC) -c $(CFLAGS) get.c +pcre_config.o: pcre_config.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_config.c" + $(FE)$(CC) -c $(CFLAGS) pcre_config.c -study.o: study.c pcre.h config.h internal.h Makefile - @echo "$(CC) study.c" - $(FE)$(CC) -c $(CFLAGS) study.c +pcre_exec.o: pcre_chartables.c pcre_exec.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_exec.c" + $(FE)$(CC) -c $(CFLAGS) pcre_exec.c -pcretest.o: pcretest.c config.h pcre.h internal.h Makefile - @echo "$(CC) pcretest.c" - $(FE)$(CC) -c -DNOPOSIX $(CFLAGS) -I. pcretest.c +pcre_maketables.o: pcre_maketables.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_maketables.c" + $(FE)$(CC) -c $(CFLAGS) pcre_maketables.c + +pcre_fullinfo.o: pcre_fullinfo.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_fullinfo.c" + $(FE)$(CC) -c $(CFLAGS) pcre_fullinfo.c + +pcre_get.o: pcre_get.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_get.c" + $(FE)$(CC) -c $(CFLAGS) pcre_get.c + +pcre_globals.o: pcre_globals.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_globals.c" + $(FE)$(CC) -c $(CFLAGS) pcre_globals.c -# An auxiliary program makes the default character table source +pcre_newline.o: pcre_newline.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_newline.c" + $(FE)$(CC) -c $(CFLAGS) pcre_newline.c -chartables.c: dftables - ./dftables chartables.c +pcre_study.o: pcre_study.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_study.c" + $(FE)$(CC) -c $(CFLAGS) pcre_study.c -dftables: dftables.c maketables.c config.h pcre.h internal.h Makefile - @echo "$(CC) -o dftables dftables.c" - $(FE)$(CC) -o dftables $(CFLAGS) dftables.c +pcre_tables.o: pcre_tables.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_tables.c" + $(FE)$(CC) -c $(CFLAGS) pcre_tables.c + +pcre_try_flipped.o: pcre_try_flipped.c pcre.h config.h pcre_internal.h Makefile + @echo "$(CC) pcre_try_flipped.c" + $(FE)$(CC) -c $(CFLAGS) pcre_try_flipped.c + +pcre_version.o: pcre_version.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcre_version.c" + $(FE)$(CC) -c $(CFLAGS) pcre_version.c + +pcretest.o: pcretest.c config.h pcre.h pcre_internal.h Makefile + @echo "$(CC) pcretest.c" + $(FE)$(CC) -c -DNOPOSIX -DNODFA -DNOUTF8 -DNOINFOCHECK $(CFLAGS) pcretest.c # End