summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-27 01:34:18 +0000
committerSascha Schumann <sas@php.net>1999-05-27 01:34:18 +0000
commit5d0a7599a9076fc345e61b90dfe855479d348ff1 (patch)
treec4d9ccd0936f12599b10906ce5c802b51559b9af /ext/pcre/pcrelib
parent16ec4608ac0db22f97a6fd8019895d923850bb88 (diff)
downloadphp-git-5d0a7599a9076fc345e61b90dfe855479d348ff1.tar.gz
- fix CGI build (at least)
Diffstat (limited to 'ext/pcre/pcrelib')
-rw-r--r--ext/pcre/pcrelib/Makefile80
-rw-r--r--ext/pcre/pcrelib/Makefile.am2
2 files changed, 2 insertions, 80 deletions
diff --git a/ext/pcre/pcrelib/Makefile b/ext/pcre/pcrelib/Makefile
deleted file mode 100644
index 2da3012aa1..0000000000
--- a/ext/pcre/pcrelib/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# Make file for PCRE (Perl-Compatible Regular Expression) library.
-
-# Edit CC, CFLAGS, and RANLIB for your system.
-
-# It is believed that RANLIB=ranlib is required for AIX, BSDI, FreeBSD, Linux,
-# MIPS RISCOS, NetBSD, OpenBSD, Digital Unix, and Ultrix.
-
-# Use CFLAGS = -DUSE_BCOPY on SunOS4 and any other system that lacks the
-# memmove() function, but has bcopy().
-
-# Use CFLAGS = -DSTRERROR_FROM_ERRLIST on SunOS4 and any other system that
-# lacks the strerror() function, but can provide the equivalent by indexing
-# into errlist.
-
-AR = ar cq
-CC = gcc -O2 -Wall
-CFLAGS =
-RANLIB = @true
-
-##########################################################################
-
-OBJ = maketables.o get.o study.o pcre.o
-
-all: libpcre.a libpcreposix.a pcretest pgrep
-
-pgrep: libpcre.a pgrep.o
- $(CC) $(CFLAGS) -o pgrep pgrep.o libpcre.a
-
-pcretest: libpcre.a libpcreposix.a pcretest.o
- $(PURIFY) $(CC) $(CFLAGS) -o pcretest pcretest.o libpcre.a libpcreposix.a
-
-libpcre.a: $(OBJ)
- -rm -f libpcre.a
- $(AR) libpcre.a $(OBJ)
- $(RANLIB) libpcre.a
-
-libpcreposix.a: pcreposix.o
- -rm -f libpcreposix.a
- $(AR) libpcreposix.a pcreposix.o
- $(RANLIB) libpcreposix.a
-
-pcre.o: chartables.c pcre.c pcre.h internal.h Makefile
- $(CC) -c $(CFLAGS) pcre.c
-
-pcreposix.o: pcreposix.c pcreposix.h internal.h pcre.h Makefile
- $(CC) -c $(CFLAGS) pcreposix.c
-
-maketables.o: maketables.c pcre.h internal.h Makefile
- $(CC) -c $(CFLAGS) maketables.c
-
-get.o: get.c pcre.h internal.h Makefile
- $(CC) -c $(CFLAGS) get.c
-
-study.o: study.c pcre.h internal.h Makefile
- $(CC) -c $(CFLAGS) study.c
-
-pcretest.o: pcretest.c pcre.h Makefile
- $(CC) -c $(CFLAGS) pcretest.c
-
-pgrep.o: pgrep.c pcre.h Makefile
- $(CC) -c $(CFLAGS) pgrep.c
-
-# An auxiliary program makes the default character table source
-
-chartables.c: dftables
- ./dftables >chartables.c
-
-dftables: dftables.c maketables.c pcre.h internal.h Makefile
- $(CC) -o dftables $(CFLAGS) dftables.c
-
-# We deliberately omit dftables and chartables.c from 'make clean'; once made
-# chartables.c shouldn't change, and if people have edited the tables by hand,
-# you don't want to throw them away.
-
-clean:; -rm -f *.o *.a pcretest pgrep
-
-runtest: all
- ./RunTest
-
-# End
diff --git a/ext/pcre/pcrelib/Makefile.am b/ext/pcre/pcrelib/Makefile.am
new file mode 100644
index 0000000000..8f7cad1372
--- /dev/null
+++ b/ext/pcre/pcrelib/Makefile.am
@@ -0,0 +1,2 @@
+noinst_LIBRARIES = libpcre.a
+libpcre_a_SOURCES = maketables.c get.c study.c pcre.c