At the release of 1.0.1.
[python/dscho.git] / Parser / Makefile.in
blobb5649aa0df7161afa055f41bb0f167c03d02f253
1 # NOTE: Makefile.in is converted into Makefile by the configure script
2 # in the parent directory. Once configure has run, you can recreate
3 # the Makefile by running just config.status.
5 # === Variables set by config.stat ===
7 srcdir= @srcdir@
8 VPATH= @srcdir@
10 CC= @CC@
11 RANLIB= @RANLIB@
12 DEFS= @DEFS@
15 # === Other things that are customizable but not by configure ===
17 TOP= ..
18 INCLDIR= $(TOP)/Py
19 OPT= -g
20 CFLAGS= $(OPT) -I$(INCLDIR) $(DEFS)
22 AR= ar
23 MKDEP= mkdep
24 SHELL= /bin/sh
27 # === Fixed definitions ===
29 PARSEROBJS= acceler.o grammar1.o \
30 intrcheck.o listnode.o myreadline.o node.o parser.o \
31 parsetok.o tokenizer.o bitset.o \
32 firstsets.o grammar.o metagrammar.o pgen.o \
33 printgrammar.o
35 PGENOBJS= pgenmain.o
37 PARSERSRCS= acceler.c fgetsintr.c grammar1.c \
38 intrcheck.c listnode.c myreadline.c node.c parser.c \
39 parsetok.c tokenizer.c bitset.c \
40 firstsets.c grammar.c metagrammar.c pgen.c \
41 printgrammar.c
43 PGENSRCS= pgenmain.c
45 PGEN= pgen
47 LIB= libParser.a
50 # === Rules ===
52 all: $(LIB) $(PGEN)
54 $(LIB): $(PARSEROBJS)
55 $(AR) cr $(LIB) $(PARSEROBJS)
56 $(RANLIB) $(LIB)
58 $(PGEN): $(PGENOBJS) $(LIB)
59 $(CC) $(PGENOBJS) $(LIB) -o $(PGEN)
61 clean:
62 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
64 clobber: clean
65 -rm -f $(PGEN) *.a tags TAGS
67 Makefile: Makefile.in $(TOP)/config.status
68 CONFIG_FILES=Makefile $(SHELL) $(TOP)/config.status
70 depend: $(PARSERSRCS) $(PGENSRCS)
71 $(MKDEP) $(CFLAGS) $(PARSERSRCS) $(PGENSRCS)
73 # DO NOT DELETE THIS LINE -- mkdep uses it.
74 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
75 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY