annotate Parser/Makefile.in @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 838ef9768821
children 64f9ce999437
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 # NOTE: Makefile.in is converted into Makefile by the configure script
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 # in the parent directory. Once configure has run, you can recreate
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 # the Makefile by running just config.status.
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
4
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 # === Variables set by config.stat ===
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 srcdir= @srcdir@
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 VPATH= @srcdir@
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
9
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 CC= @CC@
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 RANLIB= @RANLIB@
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
12 AR= @AR@
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
13
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
14 DEFS= @DEFS@
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
16
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 # === Other things that are customizable but not by configure ===
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
18
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
19 INCLDIR= $(srcdir)/../Include
1813
c47d526a94d9 * Parser/tokenizer.c: backup over illegal newline in string
Guido van Rossum <guido@python.org>
parents: 1746
diff changeset
20 OPT= @OPT@
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
21 CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
22
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 MKDEP= mkdep
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 SHELL= /bin/sh
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
25
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
26
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 # === Fixed definitions ===
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
28
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
29 PARSEROBJS= acceler.o grammar1.o \
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
30 intrcheck.o listnode.o myreadline.o node.o parser.o \
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 parsetok.o tokenizer.o bitset.o \
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 firstsets.o grammar.o metagrammar.o pgen.o \
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 printgrammar.o
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 PGENOBJS= pgenmain.o
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
36
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
37 OBJS= $(PGENOBJS) $(PARSEROBJS)
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
38
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 PGEN= pgen
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
40
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 LIB= libParser.a
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
42
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
43
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 # === Rules ===
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 all: $(LIB) $(PGEN)
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
47
2147
838ef9768821 added $& to $(LIB) target for Sequent
Guido van Rossum <guido@python.org>
parents: 1826
diff changeset
48 $(LIB): $& $(PARSEROBJS)
1813
c47d526a94d9 * Parser/tokenizer.c: backup over illegal newline in string
Guido van Rossum <guido@python.org>
parents: 1746
diff changeset
49 -rm -f $(LIB)
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 $(AR) cr $(LIB) $(PARSEROBJS)
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
51 $(RANLIB) $(LIB)
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
52
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 $(PGEN): $(PGENOBJS) $(LIB)
1826
ce897e752ca4 Makefile: add $(OPT) to linking line
Guido van Rossum <guido@python.org>
parents: 1813
diff changeset
54 $(CC) $(OPT) $(PGENOBJS) $(LIB) -o $(PGEN)
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
55
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 clean:
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
57 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
58
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 clobber: clean
1452
Guido van Rossum <guido@python.org>
parents: 1439
diff changeset
60 -rm -f $(PGEN) *.a tags TAGS
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
61
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
62 Makefile: $(srcdir)/Makefile.in ../config.status
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
63 (cd ..; CONFIG_FILES=Parser/Makefile CONFIG_HEADERS= \
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
64 $(SHELL) config.status)
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
65
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
66 depend:
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
67 $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
68 sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
69
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
70 .PRECIOUS: Makefile
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
71
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
72 acceler.o: acceler.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
73 grammar1.o: grammar1.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
74 intrcheck.o: intrcheck.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
75 listnode.o: listnode.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
76 myreadline.o: myreadline.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
77 node.o: node.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
78 parser.o: parser.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
79 parsetok.o: parsetok.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
80 tokenizer.o: tokenizer.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
81 bitset.o: bitset.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
82 firstsets.o: firstsets.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
83 grammar.o: grammar.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
84 metagrammar.o: metagrammar.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
85 pgen.o: pgen.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
86 printgrammar.o: printgrammar.c
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1452
diff changeset
87 pgenmain.o: pgenmain.c
1439
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
88
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
89 # DO NOT DELETE THIS LINE -- mkdep uses it.
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
90 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
e46322a31f62 New file
Guido van Rossum <guido@python.org>
parents:
diff changeset
91 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY