mirror of https://github.com/python/cpython
Alpha 1.0.0
This commit is contained in:
parent
1dfec14f83
commit
6085e32a75
|
@ -1,13 +1,16 @@
|
||||||
MAKE= make
|
MAKE= make
|
||||||
|
|
||||||
SUBDIRS= Parser Grammar Objects Python
|
SUBDIRS= Parser Grammar Objects Python
|
||||||
|
SUBDIRSTOO= Include Extensions readline
|
||||||
|
DISTFILES= README Makefile configure configure.in
|
||||||
|
DIST= $(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
|
||||||
|
|
||||||
all: config.status
|
all: config.status
|
||||||
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
|
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
|
||||||
|
|
||||||
localclean:
|
localclean:
|
||||||
-rm -f core *~ [@,#]* *.old *.orig *.rej
|
-rm -f core *~ [@,#]* *.old *.orig *.rej
|
||||||
-(cd Py; rm -f core *~ [@,#]* *.old *.orig *.rej)
|
-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
|
||||||
|
|
||||||
clean: localclean
|
clean: localclean
|
||||||
-for i in $(SUBDIRS); do \
|
-for i in $(SUBDIRS); do \
|
||||||
|
@ -36,3 +39,7 @@ config.status: configure
|
||||||
configure: configure.in
|
configure: configure.in
|
||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
|
tar: dist.tar.Z
|
||||||
|
|
||||||
|
dist.tar.Z: $(DIST)
|
||||||
|
tar cf - $(DIST) | compress >dist.tar.Z
|
||||||
|
|
10
README
10
README
|
@ -25,10 +25,12 @@ done so.)
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
This will recursively run Make in each of the Parser, Objects and
|
This will recursively run Make in each of the Parser, Grammar, Objects
|
||||||
Python subdirectories. In Parser it builds an executable "pgen" and a
|
and Python subdirectories. In Parser it builds an executable "pgen"
|
||||||
library libParser.a. In Objects it builds a library libObjects.a. In
|
and a library libParser.a. In Grammar it runs Parser/pgen to generate
|
||||||
Python it builds a library libPython.a and an executable "python".
|
graminit.[ch] which are copied to Includes and Python, respectively.
|
||||||
|
In Objects it builds a library libObjects.a. In Python it builds a
|
||||||
|
library libPython.a and an executable "python".
|
||||||
|
|
||||||
(3) Test the resulting executable:
|
(3) Test the resulting executable:
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
|
||||||
|
|
||||||
# A filename unique to this package, relative to the directory that
|
# A filename unique to this package, relative to the directory that
|
||||||
# configure is in, which we can look for to find out if srcdir is correct.
|
# configure is in, which we can look for to find out if srcdir is correct.
|
||||||
unique_file=Py/object.h
|
unique_file=Include/object.h
|
||||||
|
|
||||||
# Find the source files, if location was not specified.
|
# Find the source files, if location was not specified.
|
||||||
if test -z "$srcdir"; then
|
if test -z "$srcdir"; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_INIT(Py/object.h)
|
AC_INIT(Include/object.h)
|
||||||
|
|
||||||
# checks for alternative programs
|
# checks for alternative programs
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
Loading…
Reference in New Issue