summaryrefslogtreecommitdiff
path: root/Python/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-07 22:51:56 +0000
committerGuido van Rossum <guido@python.org>1998-10-07 22:51:56 +0000
commit2a570049acf2789bfbe2d907a188895249f17b62 (patch)
tree4b6114d0e99dbcfb5e11e1ebae7e305a45d1564f /Python/Makefile.in
parent2e23c3125a96d55509e227b34048a2f4bdce9f68 (diff)
downloadcpython-git-2a570049acf2789bfbe2d907a188895249f17b62.tar.gz
Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
Diffstat (limited to 'Python/Makefile.in')
-rw-r--r--Python/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Python/Makefile.in b/Python/Makefile.in
index d7f068c31f..1888609e50 100644
--- a/Python/Makefile.in
+++ b/Python/Makefile.in
@@ -34,7 +34,7 @@ SHELL= /bin/sh
# === Fixed definitions ===
-OBJS= \
+AROBJS= \
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 \
- sigcheck.o structmember.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: