mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
add retest, a regex testing program
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Makefile for regex
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.8 1998/07/26 04:30:34 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.9 1999/05/21 06:27:54 ishii Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -14,9 +14,13 @@ include ../../Makefile.global
|
||||
CFLAGS += -I..
|
||||
CFLAGS += -DPOSIX_MISTAKE
|
||||
|
||||
DEBUGOBJ =
|
||||
|
||||
OBJS = regcomp.o regerror.o regexec.o regfree.o
|
||||
|
||||
ifdef MULTIBYTE
|
||||
CFLAGS+= $(MBFLAGS)
|
||||
DEBUGOBJ += ../utils/mb/SUBSYS.o
|
||||
endif
|
||||
|
||||
all: SUBSYS.o
|
||||
@@ -24,11 +28,14 @@ all: SUBSYS.o
|
||||
SUBSYS.o: $(OBJS)
|
||||
$(LD) -r -o SUBSYS.o $(OBJS)
|
||||
|
||||
retest: retest.o SUBSYS.o $(DEBUGOBJ)
|
||||
$(CC) -o retest retest.o SUBSYS.o $(DEBUGOBJ)
|
||||
|
||||
depend dep:
|
||||
$(CC) -MM $(CFLAGS) *.c >depend
|
||||
|
||||
clean:
|
||||
rm -f SUBSYS.o $(OBJS)
|
||||
rm -f SUBSYS.o $(OBJS) retest retest.o
|
||||
|
||||
ifeq (depend,$(wildcard depend))
|
||||
include depend
|
||||
|
Reference in New Issue
Block a user