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
2a570049
Commit
2a570049
authored
Oct 07, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
parent
2e23c312
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
11 deletions
+27
-11
Makefile.in
Makefile.in
+1
-0
Modules/Makefile.pre.in
Modules/Makefile.pre.in
+12
-6
Parser/Makefile.in
Parser/Makefile.in
+7
-2
Python/Makefile.in
Python/Makefile.in
+7
-3
No files found.
Makefile.in
View file @
2a570049
...
...
@@ -432,6 +432,7 @@ Makefiles: config.status Modules/Makefile.pre
(
echo
making Makefile
in
subdirectory
$$
i
;
cd
$$
i
;
\
$(MAKE)
Makefile
)
;
\
done
-
(
rm
-f
Modules/hassignal
;
cd
Modules
;
$(MAKE)
hassignal
)
# Build the intermediate Makefile in Modules
Modules/Makefile.pre
:
config.status
...
...
Modules/Makefile.pre.in
View file @
2a570049
...
...
@@ -110,12 +110,10 @@ all: $(OBJS)
# To deal with the conflict between signalmodule.o and
# sigcheck.o+intrcheck.o, we remove the latter two if we have the former.
add2lib
:
$(OBJS)
-
for
i
in
$(OBJS)
;
do
\
if
test
"
$$
i"
=
"signalmodule.o"
;
then
\
$(AR)
d
$(LIBRARY)
sigcheck.o intrcheck.o 2>/dev/null
;
\
break
;
\
fi
;
\
done
-
if
test
-f
hassignal
;
\
then
echo
removing sigcheck.o intrcheck.o
;
\
$(AR)
d
$(LIBRARY)
sigcheck.o intrcheck.o 2>/dev/null
;
\
else
echo
leaving sigcheck.o intrcheck.o
in
;
fi
$(AR)
cr
$(LIBRARY)
$(OBJS)
touch
add2lib
...
...
@@ -152,6 +150,14 @@ config.c Makefile:
-
rm
-f
$(LIBRARY)
$(SHELL)
$(MAKESETUP)
Setup.thread Setup.local Setup
hassignal
:
-
rm
-f
hassignal
-
for
i
in
$(OBJS)
;
do
\
if
test
"
$$
i"
=
"signalmodule.o"
;
then
\
echo yes
>
hassignal
;
break
;
\
fi
;
\
done
Setup
:
cp
$(srcdir)
/Setup.in Setup
...
...
Parser/Makefile.in
View file @
2a570049
...
...
@@ -34,7 +34,9 @@ POBJS= acceler.o grammar1.o \
parsetok.o tokenizer.o bitset.o
\
metagrammar.o
OBJS
=
$(POBJS)
intrcheck.o myreadline.o
AROBJS
=
$(POBJS)
myreadline.o
OBJS
=
$(AROBJS)
intrcheck.o
PGENMAIN
=
pgenmain.o
...
...
@@ -54,7 +56,10 @@ all: $(PGEN) $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib
:
$(OBJS)
$(AR)
cr
$(LIBRARY)
$(OBJS)
$(AR)
cr
$(LIBRARY)
$(AROBJS)
if
test
!
-f
../Modules/hassignal
;
\
then
echo
adding intrcheck.o
;
$(AR)
r
$(LIBRARY)
intrcheck.o
;
\
else
echo
leaving intrcheck.o out
;
fi
touch
add2lib
$(PGEN)
:
$(PGENOBJS)
...
...
Python/Makefile.in
View file @
2a570049
...
...
@@ -34,7 +34,7 @@ SHELL= /bin/sh
# === Fixed definitions ===
OBJS
=
\
AR
OBJS
=
\
bltinmodule.o
\
ceval.o compile.o
\
errors.o
\
...
...
@@ -44,9 +44,10 @@ OBJS= \
import.o importdl.o
\
marshal.o modsupport.o mystrtoul.o
\
pyfpe.o pystate.o pythonrun.o
\
s
igcheck.o s
tructmember.o sysmodule.o
\
structmember.o sysmodule.o
\
traceback.o
\
$(LIBOBJS)
OBJS
=
$(AROBJS)
sigcheck.o
LIBRARY
=
../libpython
$(VERSION)
.a
...
...
@@ -57,7 +58,10 @@ all: $(OBJS)
# This target is used by the master Makefile to add the objects to the library
add2lib
:
$(OBJS)
$(AR)
cr
$(LIBRARY)
$(OBJS)
$(AR)
cr
$(LIBRARY)
$(AROBJS)
if
test
!
-f
../Modules/hassignal
;
\
then
echo
adding sigcheck.o
;
$(AR)
r
$(LIBRARY)
sigcheck.o
;
\
else
echo
leaving sigcheck.o out
;
fi
touch
add2lib
clean
:
...
...
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