Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6085e32

Browse files
committed
Alpha 1.0.0
1 parent 1dfec14 commit 6085e32

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

Makefile.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
MAKE= make
22

33
SUBDIRS= Parser Grammar Objects Python
4+
SUBDIRSTOO= Include Extensions readline
5+
DISTFILES= README Makefile configure configure.in
6+
DIST= $(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
47

58
all: config.status
69
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
710

811
localclean:
912
-rm -f core *~ [@,#]* *.old *.orig *.rej
10-
-(cd Py; rm -f core *~ [@,#]* *.old *.orig *.rej)
13+
-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
1114

1215
clean: localclean
1316
-for i in $(SUBDIRS); do \
@@ -36,3 +39,7 @@ config.status: configure
3639
configure: configure.in
3740
autoconf
3841

42+
tar: dist.tar.Z
43+
44+
dist.tar.Z: $(DIST)
45+
tar cf - $(DIST) | compress >dist.tar.Z

README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ done so.)
2525

2626
make
2727

28-
This will recursively run Make in each of the Parser, Objects and
29-
Python subdirectories. In Parser it builds an executable "pgen" and a
30-
library libParser.a. In Objects it builds a library libObjects.a. In
31-
Python it builds a library libPython.a and an executable "python".
28+
This will recursively run Make in each of the Parser, Grammar, Objects
29+
and Python subdirectories. In Parser it builds an executable "pgen"
30+
and a library libParser.a. In Grammar it runs Parser/pgen to generate
31+
graminit.[ch] which are copied to Includes and Python, respectively.
32+
In Objects it builds a library libObjects.a. In Python it builds a
33+
library libPython.a and an executable "python".
3234

3335
(3) Test the resulting executable:
3436

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
9696

9797
# A filename unique to this package, relative to the directory that
9898
# configure is in, which we can look for to find out if srcdir is correct.
99-
unique_file=Py/object.h
99+
unique_file=Include/object.h
100100

101101
# Find the source files, if location was not specified.
102102
if test -z "$srcdir"; then

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl Process this file with autoconf to produce a configure script.
22

3-
AC_INIT(Py/object.h)
3+
AC_INIT(Include/object.h)
44

55
# checks for alternative programs
66
AC_PROG_CC

0 commit comments

Comments
 (0)