split cofnfig.c in 1000 little files :-)

This commit is contained in:
Guido van Rossum 1995-08-04 04:13:00 +00:00
parent 47ad5e7d81
commit a1633cd993
1 changed files with 17 additions and 4 deletions

View File

@ -16,6 +16,9 @@ LIBOBJS= @LIBOBJS@
LIBS= @LIBS@ LIBS= @LIBS@
DLINCLDIR= @DLINCLDIR@ DLINCLDIR= @DLINCLDIR@
# Machine-dependent subdirectories
MACHDEP= @MACHDEP@
# === Other things that are customizable but not by configure === # === Other things that are customizable but not by configure ===
@ -33,10 +36,12 @@ OBJS= \
bltinmodule.o \ bltinmodule.o \
ceval.o cgensupport.o compile.o \ ceval.o cgensupport.o compile.o \
errors.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 \ import.o importdl.o \
marshal.o modsupport.o mystrtoul.o \ marshal.o modsupport.o mystrtoul.o \
pythonmain.o pythonrun.o \ pythonrun.o \
sigcheck.o structmember.o sysmodule.o \ sigcheck.o structmember.o sysmodule.o \
traceback.o \ traceback.o \
$(LIBOBJS) $(LIBOBJS)
@ -65,8 +70,12 @@ Makefile: $(srcdir)/Makefile.in ../config.status
(cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \ (cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \
$(SHELL) config.status) $(SHELL) config.status)
getplatform.o: getplatform.c Makefile
$(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' \
$(srcdir)/getplatform.c
importdl.o: importdl.c importdl.o: importdl.c
$(CC) $(CFLAGS) -I$(DLINCLDIR) -c $(srcdir)/importdl.c $(CC) -c $(CFLAGS) -I$(DLINCLDIR) $(srcdir)/importdl.c
depend: depend:
$(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
@ -81,11 +90,16 @@ compile.o: compile.c
dup2.o: dup2.c dup2.o: dup2.c
errors.o: errors.c errors.o: errors.c
fmod.o: fmod.c fmod.o: fmod.c
frozen.o: frozen.c
frozenmain.o: frozenmain.c frozenmain.o: frozenmain.c
getargs.o: getargs.c getargs.o: getargs.c
getcompiler.o: getcompiler.c
getcopyright.o: getcopyright.c
getcwd.o: getcwd.c getcwd.o: getcwd.c
getmtime.o: getmtime.c getmtime.o: getmtime.c
getopt.o: getopt.c getopt.o: getopt.c
getplatform.o: getplatform.c
getversion.o: getversion.c
graminit.o: graminit.c graminit.o: graminit.c
import.o: import.c import.o: import.c
importdl.o: importdl.c importdl.o: importdl.c
@ -93,7 +107,6 @@ marshal.o: marshal.c
memmove.o: memmove.c memmove.o: memmove.c
modsupport.o: modsupport.c modsupport.o: modsupport.c
mystrtoul.o: mystrtoul.c mystrtoul.o: mystrtoul.c
pythonmain.o: pythonmain.c
pythonrun.o: pythonrun.c pythonrun.o: pythonrun.c
sigcheck.o: sigcheck.c sigcheck.o: sigcheck.c
strerror.o: strerror.c strerror.o: strerror.c