1 # $Cambridge: exim/src/src/pcre/Makefile,v 1.1 2004/10/07 13:04:13 ph10 Exp $
3 # Makefile for PCRE (Perl-Compatible Regular Expression) library for use by
4 # Exim. This is a tailored Makefile, not the normal one that comes with the
7 # These variables are in practice overridden from the Exim Makefile.
14 ##############################################################################
16 OBJ
= maketables.o
get.o pcre.o study.o
18 all: libpcre.a ..
/pcretest
20 ..
/pcretest
: libpcre.a pcretest.o
21 $(CC
) $(CFLAGS
) -o ..
/pcretest pcretest.o libpcre.a
25 $(AR
) libpcre.a
$(OBJ
)
28 pcre.o
: chartables.c pcre.c config.h pcre.h internal.h Makefile
29 $(CC
) -c
$(CFLAGS
) pcre.c
31 maketables.o
: maketables.c config.h pcre.h internal.h Makefile
32 $(CC
) -c
$(CFLAGS
) maketables.c
34 get.o
: get.c pcre.h config.h internal.h Makefile
35 $(CC
) -c
$(CFLAGS
) get.c
37 study.o
: study.c pcre.h config.h internal.h Makefile
38 $(CC
) -c
$(CFLAGS
) study.c
40 pcretest.o
: pcretest.c config.h pcre.h internal.h Makefile
41 $(CC
) -c
-DNOPOSIX
$(CFLAGS
) -I. pcretest.c
43 # An auxiliary program makes the default character table source
45 chartables.c
: dftables
46 .
/dftables chartables.c
48 dftables
: dftables.c maketables.c config.h pcre.h internal.h Makefile
49 $(CC
) -o dftables
$(CFLAGS
) dftables.c