diff options
author | Guido van Rossum <guido@python.org> | 1994-08-01 11:34:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-01 11:34:53 (GMT) |
commit | b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af (patch) | |
tree | 9362939305b2d088b8f19a530c9015d886bc2801 /Parser/Makefile.in | |
parent | 2979b01ff88ac4c5b316d9bf98edbaaaffac8e24 (diff) | |
download | cpython-b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af.zip cpython-b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af.tar.gz cpython-b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af.tar.bz2 |
Merge alpha100 branch back to main trunk
Diffstat (limited to 'Parser/Makefile.in')
-rw-r--r-- | Parser/Makefile.in | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/Parser/Makefile.in b/Parser/Makefile.in index b5649aa..4c1e1fa 100644 --- a/Parser/Makefile.in +++ b/Parser/Makefile.in @@ -9,17 +9,17 @@ VPATH= @srcdir@ CC= @CC@ RANLIB= @RANLIB@ +AR= @AR@ + DEFS= @DEFS@ # === Other things that are customizable but not by configure === -TOP= .. -INCLDIR= $(TOP)/Py -OPT= -g -CFLAGS= $(OPT) -I$(INCLDIR) $(DEFS) +INCLDIR= $(srcdir)/../Include +OPT= -O +CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS) -AR= ar MKDEP= mkdep SHELL= /bin/sh @@ -34,13 +34,7 @@ PARSEROBJS= acceler.o grammar1.o \ PGENOBJS= pgenmain.o -PARSERSRCS= acceler.c fgetsintr.c grammar1.c \ - intrcheck.c listnode.c myreadline.c node.c parser.c \ - parsetok.c tokenizer.c bitset.c \ - firstsets.c grammar.c metagrammar.c pgen.c \ - printgrammar.c - -PGENSRCS= pgenmain.c +OBJS= $(PGENOBJS) $(PARSEROBJS) PGEN= pgen @@ -64,11 +58,32 @@ clean: clobber: clean -rm -f $(PGEN) *.a tags TAGS -Makefile: Makefile.in $(TOP)/config.status - CONFIG_FILES=Makefile $(SHELL) $(TOP)/config.status - -depend: $(PARSERSRCS) $(PGENSRCS) - $(MKDEP) $(CFLAGS) $(PARSERSRCS) $(PGENSRCS) +Makefile: $(srcdir)/Makefile.in ../config.status + (cd ..; CONFIG_FILES=Parser/Makefile CONFIG_HEADERS= \ + $(SHELL) config.status) + +depend: + $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ + sed 's|\(.*\)\.o|$(srcdir)/\1.c|'` + +.PRECIOUS: Makefile + +acceler.o: acceler.c +grammar1.o: grammar1.c +intrcheck.o: intrcheck.c +listnode.o: listnode.c +myreadline.o: myreadline.c +node.o: node.c +parser.o: parser.c +parsetok.o: parsetok.c +tokenizer.o: tokenizer.c +bitset.o: bitset.c +firstsets.o: firstsets.c +grammar.o: grammar.c +metagrammar.o: metagrammar.c +pgen.o: pgen.c +printgrammar.o: printgrammar.c +pgenmain.o: pgenmain.c # DO NOT DELETE THIS LINE -- mkdep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. |