Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
59bb0800
Commit
59bb0800
authored
Aug 17, 2000
by
Sjoerd Mullender
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up problems when compiling in a directory other than the source
directory.
parent
227b1204
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
2 deletions
+56
-2
Grammar/Makefile.in
Grammar/Makefile.in
+54
-0
Makefile.in
Makefile.in
+1
-2
configure.in
configure.in
+1
-0
No files found.
Grammar/Makefile
→
Grammar/Makefile
.in
View file @
59bb0800
# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory. Once configure has run, you can recreate
# the Makefile by running just config.status.
# === Variables set by config.stat ===
VERSION
=
@VERSION@
srcdir
=
@srcdir@
VPATH
=
@srcdir@
CC
=
@CC@
RANLIB
=
@RANLIB@
AR
=
@AR@
DEFS
=
@DEFS@
LIBS
=
@LIBS@
# === Fixed definitions ===
TOP
=
..
PGENDIR
=
$(TOP)
/Parser
PGEN
=
$(PGENDIR)
/pgen
DESTH
=
$(TOP)
/Include/graminit.h
DESTC
=
$(TOP)
/Python/graminit.c
DESTH
=
$(
srcdir)
/
$(
TOP)
/Include/graminit.h
DESTC
=
$(
srcdir)
/
$(
TOP)
/Python/graminit.c
all
:
install
...
...
@@ -20,10 +41,10 @@ $(DESTC): graminit.c
cp
graminit.c
$(DESTC)
graminit.c graminit.h
:
$(PGEN) Grammar
$(PGEN)
Grammar
$(PGEN)
$(srcdir)
/
Grammar
$(PGEN)
:
cd
$(PGENDIR)
;
make
pgen
cd
$(PGENDIR)
;
$(MAKE)
pgen
clean
:
-
rm
-f
*
.o core
*
~
[
@,#]
*
*
.old
*
.orig
*
.rej
...
...
Makefile.in
View file @
59bb0800
...
...
@@ -196,8 +196,7 @@ libpython$(VERSION).dylib: $(LIBRARY)
$(SUBDIRS)
:
Makefiles
Grammar
:
P
=
`
pwd
`
/Parser
;
cd
$(srcdir)
/Grammar
;
$(MAKE)
PGENDIR
=
$$
P
\
OPT
=
"
$(OPT)
"
VERSION
=
"
$(VERSION)
"
\
cd
Grammar
;
$(MAKE)
OPT
=
"
$(OPT)
"
VERSION
=
"
$(VERSION)
"
\
prefix
=
"
$(prefix)
"
exec_prefix
=
"
$(exec_prefix)
"
all
Parser
:
...
...
configure.in
View file @
59bb0800
...
...
@@ -1167,6 +1167,7 @@ AC_CHECK_TYPE(socklen_t, int)
AC_OUTPUT(Makefile \
Objects/Makefile \
Parser/Makefile \
Grammar/Makefile \
Python/Makefile \
Modules/Makefile.pre \
Modules/Setup.config)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment