cpython/Parser/Makefile.in

76 lines
1.6 KiB
Makefile
Raw Normal View History

1993-12-20 06:52:46 -04:00
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
srcdir= @srcdir@
VPATH= @srcdir@
CC= @CC@
RANLIB= @RANLIB@
1993-12-24 06:36:57 -04:00
DEFS= @DEFS@
1993-12-20 06:52:46 -04:00
# === Other things that are customizable but not by configure ===
1993-12-24 06:36:57 -04:00
TOP= ..
INCLDIR= $(TOP)/Py
OPT= -g
CFLAGS= $(OPT) -I$(INCLDIR) $(DEFS)
1993-12-20 06:52:46 -04:00
AR= ar
MKDEP= mkdep
SHELL= /bin/sh
# === Fixed definitions ===
1993-12-24 06:36:57 -04:00
PARSEROBJS= acceler.o grammar1.o \
intrcheck.o listnode.o myreadline.o node.o parser.o \
1993-12-20 06:52:46 -04:00
parsetok.o tokenizer.o bitset.o \
firstsets.o grammar.o metagrammar.o pgen.o \
printgrammar.o
PGENOBJS= pgenmain.o
PARSERSRCS= acceler.c fgetsintr.c grammar1.c \
1993-12-24 06:36:57 -04:00
intrcheck.c listnode.c myreadline.c node.c parser.c \
1993-12-20 06:52:46 -04:00
parsetok.c tokenizer.c bitset.c \
firstsets.c grammar.c metagrammar.c pgen.c \
printgrammar.c
PGENSRCS= pgenmain.c
PGEN= pgen
LIB= libParser.a
# === Rules ===
all: $(LIB) $(PGEN)
$(LIB): $(PARSEROBJS)
$(AR) cr $(LIB) $(PARSEROBJS)
1993-12-24 06:36:57 -04:00
$(RANLIB) $(LIB)
1993-12-20 06:52:46 -04:00
$(PGEN): $(PGENOBJS) $(LIB)
$(CC) $(PGENOBJS) $(LIB) -o $(PGEN)
clean:
1993-12-24 06:36:57 -04:00
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej
1993-12-20 06:52:46 -04:00
clobber: clean
1993-12-24 06:36:57 -04:00
-rm -f $(PGEN) *.a tags TAGS
1993-12-20 06:52:46 -04:00
1993-12-24 06:36:57 -04:00
Makefile: Makefile.in $(TOP)/config.status
CONFIG_FILES=Makefile $(SHELL) $(TOP)/config.status
1993-12-20 06:52:46 -04:00
depend: $(PARSERSRCS) $(PGENSRCS)
$(MKDEP) $(CFLAGS) $(PARSERSRCS) $(PGENSRCS)
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY