cvs: /php3/regex .cvsignore Makefile.in
| From: | Sascha Schumann | Date: | Tue, 16 Nov 1999 17:43:00 +0000 |
| Subject: | cvs: /php3/regex .cvsignore Makefile.in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12618@lists.php.net to get a copy of this message | ||
sas Tue Nov 16 12:43:00 1999 EDT
Modified files:
/php3/regex .cvsignore Makefile.in
Log:
Clean up Makefile template
Index: php3/regex/.cvsignore
diff -u php3/regex/.cvsignore:1.7 php3/regex/.cvsignore:1.8
--- php3/regex/.cvsignore:1.7 Sun Jun 27 23:17:21 1999
+++ php3/regex/.cvsignore Tue Nov 16 12:42:28 1999
@@ -1,4 +1,3 @@
-*.ih
regcomp.ih
engine.ih
regerror.ih
Index: php3/regex/Makefile.in
diff -u php3/regex/Makefile.in:1.3 php3/regex/Makefile.in:1.4
--- php3/regex/Makefile.in:1.3 Sun May 2 12:06:36 1999
+++ php3/regex/Makefile.in Tue Nov 16 12:42:28 1999
@@ -37,9 +37,9 @@
JUNKLINT=possible pointer alignment|null effect
# arrangements to build forward-reference header files
-.SUFFIXES: .ih .h
-.c.ih:
- sh $(srcdir)/mkh $(MKHFLAGS) -p $< >$(srcdir)/$@
+#.SUFFIXES: .ih .h
+#.c.ih:
+# sh $(srcdir)/mkh $(MKHFLAGS) -p $< >$(srcdir)/$@
all lib: libregex.a
@@ -56,8 +56,9 @@
# stuff to build regex.h
REGEXH=regex.h
REGEXHSRC=regex2.h $(REGSRC)
-$(REGEXH): $(REGEXHSRC) mkh
- sh ./mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.h
+# these are in CVS
+#$(REGEXH): $(REGEXHSRC) mkh
+# sh ./mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.h
#cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
#rm -f regex.tmp
@@ -69,73 +70,12 @@
debug.o: debug.ih
main.o: main.ih
-# tester
-re: $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
-
-# regression test
-r: re tests
- ./re <tests
- ./re -el <tests
- ./re -er <tests
-
-# 57 variants, and other stuff, for development use -- not useful to you
-ra: ./re tests
- -./re <tests
- -./re -el <tests
- -./re -er <tests
-
-rx: ./re tests
- ./re -x <tests
- ./re -x -el <tests
- ./re -x -er <tests
-
-t: ./re tests
- -time ./re <tests
- -time ./re -cs <tests
- -time ./re -el <tests
- -time ./re -cs -el <tests
-
-l: $(LINTC)
- lint $(LINTFLAGS) -h $(LINTC) 2>&1 | egrep -v '$(JUNKLINT)' | tee lint
-
-fullprint:
- ti README WHATSNEW notes todo | list
- ti *.h | list
- list *.c
- list regex.3 regex.7
-
-print:
- ti README WHATSNEW notes todo | list
- ti *.h | list
- list reg*.c engine.c
-
-
mf.tmp: Makefile
sed '/^REGEXH=/s/=.*/=regex.h/' Makefile | sed '/#DEL$$/d' >$@
-DTRH=cclass.h cname.h regex2.h utils.h
-PRE=COPYRIGHT README WHATSNEW
-POST=mkh regex.3 regex.7 tests $(DTRH) $(ALLSRC) fake/*.[ch]
-FILES=$(PRE) Makefile $(POST)
-DTR=$(PRE) Makefile=mf.tmp $(POST)
-dtr: $(FILES) mf.tmp
- makedtr $(DTR) >$@
- rm mf.tmp
-
-cio: $(FILES)
- cio $(FILES)
-
-rdf: $(FILES)
- rcsdiff -c $(FILES) 2>&1 | p
-
# various forms of cleanup
tidy:
rm -f junk* core core.* *.core dtr *.tmp lint
clean: tidy
rm -f *.o *.s re libregex.a
-
-# don't do this one unless you know what you're doing
-spotless: clean
- rm -f mkh regex.h