150N/A# Makefile.pre. It is packaged in place of the one in the proto area.
150N/A# Generated automatically from Makefile.pre by makesetup.
150N/A# As distributed, this file is called Makefile.pre.in; it is processed
150N/AMODOBJS= Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o
150N/AMAKESETUP= $(srcdir)/Modules/makesetup
150N/ACPPFLAGS= -I. -IInclude -I$(srcdir)/Include -D_LARGEFILE64_SOURCE -I/usr/lib/libffi-3.0.9/include
150N/ALDFLAGS= -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -L. -L/usr/gnu/lib
150N/AMANDIR= /usr/share/man
150N/ABINLIBDEST= $(exec_prefix)/lib/python$(VERSION)
150N/ALIBP= $(exec_prefix)/lib/python$(VERSION)
150N/ACONFIG_ARGS= '--prefix=/usr' '--libdir=/usr/lib' '--mandir=/usr/share/man' '--datadir=/usr/share' '--infodir=/usr/share/info' '--enable-shared' '--with-system-ffi' '--disable-static' 'CC=/usr/lib/python2.6/pycc' 'CFLAGS=' 'LDFLAGS= -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -L. -L/usr/gnu/lib' 'CPPFLAGS=-D_LARGEFILE64_SOURCE -I/usr/lib/libffi-3.0.9/include '
150N/ATHREADOBJ= Python/thread.o
150N/ADYNLOADFILE= dynload_shlib.o
150N/APROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck
150N/A#PROFILE_TASK= $(srcdir)/Lib/test/regrtest.py
150N/ACOREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH)$(OLDPATH)
150N/A# Used of signalmodule.o is not available
150N/AGRAMMAR_H= $(srcdir)/Include/graminit.h
150N/AGRAMMAR_C= $(srcdir)/Python/graminit.c
150N/AGRAMMAR_INPUT= $(srcdir)/Grammar/Grammar
150N/APGEN= Parser/pgen$(EXE)
150N/AAST_H= $(AST_H_DIR)/Python-ast.h
150N/AAST_C= $(AST_C_DIR)/Python-ast.c
150N/AAST_ASDL= $(srcdir)/Parser/Python.asdl
150N/AASDLGEN= $(srcdir)/Parser/asdl_c.py
150N/A Python/_warnings.o \
150N/A$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
150N/A $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
150N/A *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
150N/A *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
150N/A $(AR) cr $@ Modules/getbuildinfo.o
150N/A $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
150N/A $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
150N/A $(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
150N/A# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
150N/ARESSRCDIR=Mac/Resources/framework
150N/A $(RESSRCDIR)/Info.plist
150N/A -install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \
150N/A /usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \
150N/A $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj
150N/A $(INSTALL_DATA) $(RESSRCDIR)/Info.plist \
150N/A $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/Info.plist
150N/A $(LN) -fsn $(VERSION) $(PYTHONFRAMEWORKDIR)/Versions/Current
150N/A $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)
150N/A $(LN) -fsn Versions/Current/Headers $(PYTHONFRAMEWORKDIR)/Headers
150N/A $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
150N/A $(srcdir)/Modules/config.c.in \
150N/A $(SHELL) $(MAKESETUP) -c $(srcdir)/Modules/config.c.in \
150N/A @if test -f Modules/Setup; then \
150N/A echo "need in your Modules/Setup file."; \
150N/AModules/getbuildinfo.o: $(PARSER_OBJS) \
150N/A $(srcdir)/Modules/getbuildinfo.c
150N/A $(CC) -c $(PY_CFLAGS) -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" -o $@ $(srcdir)/Modules/getbuildinfo.c
150N/A -o $@ $(srcdir)/Modules/getpath.c
150N/A $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c
150N/A $(srcdir)/Include/token.h \
150N/A $(srcdir)/Include/grammar.h
150N/A $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
150N/A $(CC) -c $(PY_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
150N/A $(srcdir)/Objects/unicodetype_db.h
150N/A $(srcdir)/Include/bytes_methods.h \
150N/A $(srcdir)/Objects/stringlib/count.h \
150N/A $(srcdir)/Objects/stringlib/ctype.h \
150N/A $(srcdir)/Objects/stringlib/fastsearch.h \
150N/A $(srcdir)/Objects/stringlib/find.h \
150N/A $(srcdir)/Objects/stringlib/formatter.h \
150N/A $(srcdir)/Objects/stringlib/partition.h \
150N/A $(srcdir)/Objects/stringlib/stringdefs.h \
150N/A $(srcdir)/Objects/stringlib/string_format.h \
150N/A $(srcdir)/Objects/stringlib/transmogrify.h \
150N/A $(srcdir)/Objects/stringlib/unicodedefs.h \
150N/A $(srcdir)/Objects/stringlib/localeutil.h
150N/A dtrace -o $@ -DPHELPER $(DFLAGS) $(CPPFLAGS) -C -G -s $(srcdir)/Python/phelper.d
150N/A dtrace -o $@ $(DFLAGS) -C -h -s $(srcdir)/Python/python.d
150N/A$(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
150N/ATESTPROG= $(srcdir)/Lib/test/regrtest.py
150N/A $(TESTPYTHON) $(srcdir)/Lib/compileall.py
150N/A $(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) $(TESTOPTS) -uall
150N/A pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
150N/A $(INSTALL_DATA) $(srcdir)/Misc/python.man \
150N/A $(DESTDIR)$(MANDIR)/man1/python.1
150N/A plat-mac/lib-scriptpackages/_builtinSuites \
150N/APLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
150N/A json json/tests \
150N/A sqlite3 sqlite3/test \
150N/A logging bsddb bsddb/test csv wsgiref \
150N/A multiprocessing multiprocessing/dummy \
150N/A $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
150N/A ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
150N/A ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
150N/A ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
150N/A ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
150N/A ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
150N/A cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
150N/A# Install the library and miscellaneous stuff needed for extending/embedding
150N/A $(INSTALL_DATA) Modules/Setup $(DESTDIR)$(LIBPL)/Setup
150N/A $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup
150N/A sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
150N/A @if [ -s Modules/python.exp -a \
150N/A $(INSTALL_DATA) Modules/python.exp \
150N/A $(DESTDIR)$(LIBPL)/python.exp; \
150N/A echo; echo "$(LIBPL)/python.exp"; \
150N/A $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \
150N/A $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \
150N/A echo; echo "See Misc/AIX-NOTES for details."; \
150N/A $(INSTALL_DATA) Misc/BeOS-NOTES $(DESTDIR)$(LIBPL)/README; \
150N/A $(INSTALL_SCRIPT) Modules/ar_beos $(DESTDIR)$(LIBPL)/ar_beos; \
150N/A $(INSTALL_SCRIPT) Modules/ld_so_beos $(DESTDIR)$(LIBPL)/ld_so_beos; \
150N/A echo; echo "See Misc/BeOS-NOTES for details."; \
150N/A# structure in the install location, /Library/Frameworks/ or the argument to
150N/A @for i in $(prefix)/Resources/English.lproj $(prefix)/lib; do\
150N/A $(LN) -fsn include/python$(VERSION) $(DESTDIR)$(prefix)/Headers
150N/A sed 's/%VERSION%/'"`$(RUNSHARED) ./$(BUILDPYTHON) -c 'import platform; print platform.python_version()'`"'/g' < $(RESSRCDIR)/Info.plist > $(DESTDIR)$(prefix)/Resources/Info.plist
150N/A $(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
150N/A $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/$(PYTHONFRAMEWORK)
150N/A $(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Headers
150N/A $(LN) -fsn Versions/Current/Resources $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Resources
150N/A ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a"
150N/A# This install the unix python and pythonw tools in /usr/local/bin
150N/A# This installs a few of the useful scripts in Tools/scripts
150N/A ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
150N/A $(MAKE) -f Makefile.pre Makefile
150N/Aconfig.status: $(srcdir)/configure
150N/A ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
150N/A# provided the config.status script exists
150N/A $(SHELL) config.status --recheck
150N/A $(SHELL) config.status
150N/A find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
150N/A find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
150N/A -rm -f Lib/lib2to3/*Grammar*.pickle
150N/A $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
150N/APython/thread.o: $(srcdir)/Python/thread_atheos.h $(srcdir)/Python/thread_beos.h $(srcdir)/Python/thread_cthread.h $(srcdir)/Python/thread_foobar.h $(srcdir)/Python/thread_lwp.h $(srcdir)/Python/thread_nt.h $(srcdir)/Python/thread_os2.h $(srcdir)/Python/thread_pth.h $(srcdir)/Python/thread_pthread.h $(srcdir)/Python/thread_sgi.h $(srcdir)/Python/thread_solaris.h $(srcdir)/Python/thread_wince.h
150N/AModules/threadmodule.o: $(srcdir)/Modules/threadmodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/threadmodule.c -o Modules/threadmodule.o
150N/AModules/threadmodule$(SO): Modules/threadmodule.o; $(BLDSHARED) Modules/threadmodule.o -o Modules/threadmodule$(SO)
150N/AModules/signalmodule.o: $(srcdir)/Modules/signalmodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/signalmodule.c -o Modules/signalmodule.o
150N/AModules/signalmodule$(SO): Modules/signalmodule.o; $(BLDSHARED) Modules/signalmodule.o -o Modules/signalmodule$(SO)
150N/AModules/posixmodule.o: $(srcdir)/Modules/posixmodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/posixmodule.c -o Modules/posixmodule.o
150N/AModules/posixmodule$(SO): Modules/posixmodule.o; $(BLDSHARED) Modules/posixmodule.o -o Modules/posixmodule$(SO)
150N/AModules/errnomodule.o: $(srcdir)/Modules/errnomodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/errnomodule.c -o Modules/errnomodule.o
150N/AModules/errnomodule$(SO): Modules/errnomodule.o; $(BLDSHARED) Modules/errnomodule.o -o Modules/errnomodule$(SO)
150N/AModules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/pwdmodule.c -o Modules/pwdmodule.o
150N/AModules/pwdmodule$(SO): Modules/pwdmodule.o; $(BLDSHARED) Modules/pwdmodule.o -o Modules/pwdmodule$(SO)
150N/AModules/_sre.o: $(srcdir)/Modules/_sre.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/_sre.c -o Modules/_sre.o
150N/AModules/_codecsmodule.o: $(srcdir)/Modules/_codecsmodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/_codecsmodule.c -o Modules/_codecsmodule.o
150N/AModules/_codecsmodule$(SO): Modules/_codecsmodule.o; $(BLDSHARED) Modules/_codecsmodule.o -o Modules/_codecsmodule$(SO)
150N/AModules/zipimport.o: $(srcdir)/Modules/zipimport.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/zipimport.c -o Modules/zipimport.o
150N/AModules/zipimport$(SO): Modules/zipimport.o; $(BLDSHARED) Modules/zipimport.o -o Modules/zipimport$(SO)
150N/AModules/symtablemodule.o: $(srcdir)/Modules/symtablemodule.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/symtablemodule.c -o Modules/symtablemodule.o
150N/AModules/_symtablemodule$(SO): Modules/symtablemodule.o; $(BLDSHARED) Modules/symtablemodule.o -o Modules/_symtablemodule$(SO)
150N/AModules/xxsubtype.o: $(srcdir)/Modules/xxsubtype.c; $(CC) $(PY_CFLAGS) -c $(srcdir)/Modules/xxsubtype.c -o Modules/xxsubtype.o
150N/AModules/xxsubtype$(SO): Modules/xxsubtype.o; $(BLDSHARED) Modules/xxsubtype.o -o Modules/xxsubtype$(SO)