📄 makefile.pre
字号:
# Generated automatically from Makefile.pre.in by configure.# META-NOTE: this note is different from the note in the other Makefiles!# NOTE: Makefile.pre.in is converted into Makefile.pre by the configure# script in the toplevel directory or by ../config.status.# Makefile.pre is converted into Makefile by running the makesetup# script in the source directory. Once Makefile exists, it can be# brought up to date by running "make Makefile". (The makesetup also# creates config.c from config.c.in in the source directory.)# === Variables set by makesetup ===MODOBJS= _MODOBJS_MODLIBS= _MODLIBS_PALM_CFLAGS= -fno-builtin -Wall -I../libc/include -I../../Include -I../PalmGlue# === Variables set by configure ===VERSION= 1.5srcdir= ../../ModulesVPATH= ../../ModulesCXX = CC= m68k-palmos-coff-gccRANLIB= m68k-palmos-coff-ranlibAR= m68k-palmos-coff-arOPT= -g -O2LDFLAGS= LDLAST= SGI_ABI= @SGI_ABI@DEFS= -DHAVE_CONFIG_HLIBS= LIBM= LIBC= /localhome/collins/Palm/libs/libc/GLibc-stub-a4.o# Machine-dependent subdirectoriesMACHDEP= m68k-palmos-coff# Install prefix for architecture-independent filesprefix= /localhome/collins/Palm/Python/pypalm# Install prefix for architecture-dependent filesexec_prefix= ${prefix}# Expanded directoriesBINDIR= $(exec_prefix)/binLIBDIR= $(exec_prefix)/libMANDIR= $(prefix)/manINCLUDEDIR= $(prefix)/includeSCRIPTDIR= $(prefix)/lib# Detailed destination directoriesBINLIBDEST= $(LIBDIR)/python$(VERSION)LIBDEST= $(SCRIPTDIR)/python$(VERSION)INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)LIBP= $(LIBDIR)/python$(VERSION)# Symbols used for using shared librariesSO= .soLDSHARED= ldCCSHARED= LINKFORSHARED= DESTSHARED= $(BINLIBDEST)/lib-dynload# Portable install script (configure doesn't always guess right)INSTALL= ../../Modules/../install-sh -cINSTALL_PROGRAM=${INSTALL} -m 755INSTALL_DATA= ${INSTALL} -m 644# Shared libraries must be installed with executable mode on some systems;# rather than figuring out exactly which, we always give them executable mode.# Also, making them read-only seems to be a good idea...INSTALL_SHARED= ${INSTALL} -m 555# === Variables that are customizable by hand or by inclusion in Setup ===LINKCC= $(PURIFY) $(CC)INCLDIR= $(srcdir)/../IncludeCONFIGINCLDIR= ..CFLAGS= $(OPT) -I$(INCLDIR) -I$(CONFIGINCLDIR) $(DEFS) $(PALM_CFLAGS)MKDEP= mkdepSHELL= /bin/shMAKESETUP= ./makesetup# (The makesetup script inserts all variable definitions# found in the Setup file just below the following line.# This means that the Setup file can override any of the definitions# given before this point, but not any given below.# The script insert the definitions in reverse order,# for the benefits of independent extensions.)# === Definitions added by makesetup ===# === Fixed definitions ===FIXOBJS= config.o getpath.o getbuildinfo.o _palmutils.oOBJS= $(MODOBJS) $(FIXOBJS)#MAINOBJ= python.oMAINOBJ= python.oSYSLIBS= $(LIBM) $(LIBC)LIBRARY= ../libpython$(VERSION).aLDLIBRARY= ../libpython$(VERSION).a# === Rules ===all: $(OBJS)# This target is used by the master Makefile to add the objects to the library.# 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) -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# Use ``EXE=.exe'' for Unix emulations on DOS/WindowsEXE=# This target is used by the master Makefile to link the final binary.link: $(MAINOBJ) $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \ $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST) mv python$(EXE) ../python$(EXE)clean: -rm -f *.o python$(EXE) core *~ [@,#]* *.old *.orig *.rej -rm -f add2lib hassignalclobber: clean -rm -f *.a tags TAGS config.c Makefile.pre -rm -f *.so *.sl so_locationsgetpath.o: getpath.c Makefile $(CC) -c $(CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \ -DPREFIX='"$(prefix)"' \ -DEXEC_PREFIX='"$(exec_prefix)"' \ -DVERSION='"$(VERSION)"' \ -DVPATH='"$(VPATH)"' \ $(srcdir)/getpath.c# When the configuration changes, we remove the library, so that it# gets remade from scratch; this ensures to remove modules that are no# longer pertinent (but that were in a previous configuration).config.c Makefile: Makefile.pre config.c.in $(MAKESETUP)config.c Makefile: Setup.thread Setup Setup.localconfig.c Makefile: -rm -f $(LIBRARY) $(SHELL) $(MAKESETUP) Setup.thread Setup.local Setuphassignal: -rm -f hassignal -for i in $(OBJS); do \ if test "$$i" = "signalmodule.o"; then \ echo yes >hassignal; break; \ fi; \ doneSetup: cp $(srcdir)/Setup.in SetupSetup.local: echo "# Edit this file for local setup changes" >Setup.local#Makefile.pre: Makefile.pre.in ../config.status# (cd ..; CONFIG_FILES=Modules/Makefile.pre CONFIG_HEADERS= \# $(SHELL) config.status)depend: $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`.PRECIOUS: ../python$(EXE)glmodule.c: $(srcdir)/cgen.py $(srcdir)/cstubs python $(srcdir)/cgen.py <$(srcdir)/cstubs >glmodule.calmodule.o: almodule.carraymodule.o: arraymodule.caudioop.o: audioop.ccdmodule.o: cdmodule.ccgensupport.o: cgensupport.cclmodule.o: clmodule.cdbmmodule.o: dbmmodule.cerrnomodule.o: errnomodule.cfcntlmodule.o: fcntlmodule.cflmodule.o: flmodule.cfmmodule.o: fmmodule.cglmodule.o: glmodule.cimageop.o: imageop.cimgfile.o: imgfile.cmain.o: main.cmathmodule.o: mathmodule.cmd5c.o: md5c.cmd5module.o: md5module.cmpzmodule.o: mpzmodule.cnismodule.o: nismodule.coperator.o: operator.cparsermodule.o: parsermodule.cposixmodule.o: posixmodule.cpwdmodule.o: pwdmodule.cregexmodule.o: regexmodule.cregexpr.o: regexpr.cresource.o: resource.crgbimgmodule.o: rgbimgmodule.crotormodule.o: rotormodule.cselectmodule.o: selectmodule.csgimodule.o: sgimodule.cstdwinmodule.o: stdwinmodule.cstropmodule.o: stropmodule.cstructmodule.o: structmodule.csunaudiodev.o: sunaudiodev.csvmodule.o: svmodule.cthreadmodule.o: threadmodule.cpalm_timemodule.o: palm_timemodule.cpalm_socketmodule.o: palm_socketmodule.cpalmnetmodule.o: palmnetmodule.ctimingmodule.o: timingmodule.cxxmodule.o: xxmodule.cyuvconvert.o: yuvconvert.c# Rules to build and install all shared modulessharedmods: $(SHAREDMODS)sharedinstall: $(DESTSHARED) $(SHAREDMODS) -for i in X $(SHAREDMODS); do \ if test $$i != X; \ then $(INSTALL_SHARED) $$i $(DESTSHARED)/$$i; \ fi; \ doneDESTDIRS= $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)$(DESTSHARED): @for i in $(DESTDIRS); \ do \ if test ! -d $$i; then \ echo "Creating directory $$i"; \ mkdir $$i; \ chmod 755 $$i; \ else true; \ fi; \ doneccpython.o: ccpython.cc $(CXX) $(CFLAGS) -c $*.cc# Stuff is appended here by makesetup and make depend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -