diff Python/Makefile.in @ 9298:a2397255a6d3 legacy-trunk

Changes to deal with the sigcheck+intrcheck vs. signalmodule controversy.
author Guido van Rossum <guido@python.org>
date Wed, 07 Oct 1998 22:51:56 +0000
parents f1ca41995e62
children 2aab47484012
line wrap: on
line diff
--- a/Python/Makefile.in	Wed Oct 07 22:03:45 1998 +0000
+++ b/Python/Makefile.in	Wed Oct 07 22:51:56 1998 +0000
@@ -34,7 +34,7 @@
 
 # === Fixed definitions ===
 
-OBJS=		\
+AROBJS=		\
 		bltinmodule.o \
 		ceval.o compile.o \
 		errors.o \
@@ -44,9 +44,10 @@
 		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 @@
 
 # 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: