File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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.
4+
5+ # === Variables set by config.stat ===
6+
7+ VERSION = @VERSION@
8+
9+ srcdir = @srcdir@
10+ VPATH = @srcdir@
11+
12+ CC = @CC@
13+ RANLIB = @RANLIB@
14+ AR = @AR@
15+
16+ DEFS = @DEFS@
17+ LIBS = @LIBS@
18+
19+
20+ # === Fixed definitions ===
21+
22+ TOP = ..
23+ PGENDIR = $(TOP ) /Parser
24+ PGEN = $(PGENDIR ) /pgen
25+ DESTH = $(srcdir ) /$(TOP ) /Include/graminit.h
26+ DESTC = $(srcdir ) /$(TOP ) /Python/graminit.c
27+
28+ all : install
29+
30+ # This target is used by the master Makefile to add the objects to the library
31+ add2lib :
32+
33+ install : $(DESTH ) $(DESTC )
34+
35+ depend :
36+
37+ $(DESTH ) : graminit.h
38+ cp graminit.h $(DESTH )
39+
40+ $(DESTC ) : graminit.c
41+ cp graminit.c $(DESTC )
42+
43+ graminit.c graminit.h : $(PGEN ) Grammar
44+ $(PGEN ) $(srcdir ) /Grammar
45+
46+ $(PGEN ) :
47+ cd $(PGENDIR ) ; $(MAKE ) pgen
48+
49+ clean :
50+ -rm -f * .o core * ~ [@,# ]* *.old *.orig *.rej
51+ -rm -f graminit.[ch]
52+
53+ clobber : clean
54+ -rm -f tags TAGS
Original file line number Diff line number Diff line change @@ -196,8 +196,7 @@ libpython$(VERSION).dylib: $(LIBRARY)
196196$(SUBDIRS ) : Makefiles
197197
198198Grammar :
199- P=` pwd` /Parser; cd $(srcdir ) /Grammar; $(MAKE ) PGENDIR=$$ P \
200- OPT=" $( OPT) " VERSION=" $( VERSION) " \
199+ cd Grammar ; $(MAKE ) OPT=" $( OPT) " VERSION=" $( VERSION) " \
201200 prefix=" $( prefix) " exec_prefix=" $( exec_prefix) " all
202201
203202Parser :
Original file line number Diff line number Diff line change @@ -1167,6 +1167,7 @@ AC_CHECK_TYPE(socklen_t, int)
11671167AC_OUTPUT(Makefile \
11681168 Objects/Makefile \
11691169 Parser/Makefile \
1170+ Grammar/Makefile \
11701171 Python/Makefile \
11711172 Modules/Makefile.pre \
11721173 Modules/Setup.config)
You can’t perform that action at this time.
0 commit comments