diff Python/Makefile.in @ 2893:450ad5496407 legacy-trunk

split cofnfig.c in 1000 little files :-)
author Guido van Rossum <guido@python.org>
date Fri, 04 Aug 1995 04:13:00 +0000
parents 6263e2fd9398
children bda01a374762
line wrap: on
line diff
--- a/Python/Makefile.in	Fri Aug 04 04:10:43 1995 +0000
+++ b/Python/Makefile.in	Fri Aug 04 04:13:00 1995 +0000
@@ -16,6 +16,9 @@
 LIBS=		@LIBS@
 DLINCLDIR=	@DLINCLDIR@
 
+# Machine-dependent subdirectories
+MACHDEP=	@MACHDEP@
+
 
 # === Other things that are customizable but not by configure ===
 
@@ -33,10 +36,12 @@
 		bltinmodule.o \
 		ceval.o cgensupport.o compile.o \
 		errors.o \
-		getargs.o getmtime.o graminit.o \
+		frozen.o \
+		getargs.o getcompiler.o getcopyright.o getmtime.o \
+		getplatform.o getversion.o graminit.o \
 		import.o importdl.o \
 		marshal.o modsupport.o mystrtoul.o \
-		pythonmain.o pythonrun.o \
+		pythonrun.o \
 		sigcheck.o structmember.o sysmodule.o \
 		traceback.o \
 		$(LIBOBJS)
@@ -65,8 +70,12 @@
 		(cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \
 		$(SHELL) config.status)
 
+getplatform.o:	getplatform.c Makefile
+		$(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' \
+		      $(srcdir)/getplatform.c
+
 importdl.o:	importdl.c
-		$(CC) $(CFLAGS) -I$(DLINCLDIR) -c $(srcdir)/importdl.c
+		$(CC) -c $(CFLAGS) -I$(DLINCLDIR) $(srcdir)/importdl.c
 
 depend:
 		$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
@@ -81,11 +90,16 @@
 dup2.o: dup2.c
 errors.o: errors.c
 fmod.o: fmod.c
+frozen.o: frozen.c
 frozenmain.o: frozenmain.c
 getargs.o: getargs.c
+getcompiler.o: getcompiler.c
+getcopyright.o: getcopyright.c
 getcwd.o: getcwd.c
 getmtime.o: getmtime.c
 getopt.o: getopt.c
+getplatform.o: getplatform.c
+getversion.o: getversion.c
 graminit.o: graminit.c
 import.o: import.c
 importdl.o: importdl.c
@@ -93,7 +107,6 @@
 memmove.o: memmove.c
 modsupport.o: modsupport.c
 mystrtoul.o: mystrtoul.c
-pythonmain.o: pythonmain.c
 pythonrun.o: pythonrun.c
 sigcheck.o: sigcheck.c
 strerror.o: strerror.c