Home | History | Annotate | Download | only in config

Lines Matching refs:Python

2 # Top-level Makefile for Python
15 # If you have a previous version of Python installed that you don't
29 srcdir= /s/ndk-toolchain/src/python/Python-2.7.5
30 VPATH= /s/ndk-toolchain/src/python/Python-2.7.5
31 MSYSVPATH= /s/ndk-toolchain/src/python/Python-2.7.5
32 abs_srcdir= /s/ndk-toolchain/src/python/Python-2.7.5
33 abs_builddir= /tmp/ndk-andrewhsieh/buildhost/build-python-linux-x86-2.7.5
53 # Use this to make a link between python$(VERSION) and python in $(BINDIR)
115 BINLIBDEST= $(LIBDIR)/python$(VERSION)
116 LIBDEST= $(SCRIPTDIR)/python$(VERSION)
117 INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
118 CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(VERSION)
119 LIBP= $(LIBDIR)/python$(VERSION)
132 # Short name and location for Mac OS X Python framework
147 # Environment to run shared python without installed libraries
161 SRCDIRS= Parser Grammar Objects Python Modules Mac
187 THREADOBJ= Python/thread.o
191 LIBOBJDIR= Python/
195 PYTHON= python$(EXE)
196 BUILDPYTHON= python$(BUILDEXE)
240 GRAMMAR_C= Python/graminit.c
280 Python/mysnprintf.c \
281 Python/pyctype.c \
288 Python/mysnprintf.o \
289 Python/pyctype.o \
304 AST_H= $(AST_H_DIR)/Python-ast.h
305 AST_C_DIR= Python
306 AST_C= $(AST_C_DIR)/Python-ast.c
307 AST_ASDL= $(srcdir)/Parser/Python.asdl
310 # XXX Note that a build now requires Python exist before the build starts
314 # Python
316 Python/_warnings.o \
317 Python/Python-ast.o \
318 Python/asdl.o \
319 Python/ast.o \
320 Python/bltinmodule.o \
321 Python/ceval.o \
322 Python/compile.o \
323 Python/codecs.o \
324 Python/errors.o \
325 Python/frozen.o \
326 Python/frozenmain.o \
327 Python/future.o \
328 Python/getargs.o \
329 Python/getcompiler.o \
330 Python/getcopyright.o \
331 Python/getplatform.o \
332 Python/getversion.o \
333 Python/graminit.o \
334 Python/import.o \
335 Python/importdl.o \
336 Python/marshal.o \
337 Python/modsupport.o \
338 Python/mystrtoul.o \
339 Python/mysnprintf.o \
340 Python/peephole.o \
341 Python/pyarena.o \
342 Python/pyctype.o \
343 Python/pyfpe.o \
344 Python/pymath.o \
345 Python/pystate.o \
346 Python/pythonrun.o \
347 Python/random.o \
348 Python/structmember.o \
349 Python/symtable.o \
350 Python/sysmodule.o \
351 Python/traceback.o \
352 Python/getopt.o \
353 Python/pystrcmp.o \
354 Python/pystrtod.o \
355 Python/dtoa.o \
356 Python/formatter_unicode.o \
357 Python/formatter_string.o \
358 Python/$(DYNLOADFILE) \
408 # objects that get linked into the Python library
454 $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
456 Modules/python.o \
507 # Copy up the gdb python hooks into a position where they can be automatically
540 # This rule builds the Cygwin Python DLL and import library if configured
608 Modules/python.o: $(srcdir)/Modules/python.c
609 $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c
645 Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H)
647 Python/getplatform.o: $(srcdir)/Python/getplatform.c
648 $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
650 Python/importdl.o: $(srcdir)/Python/importdl.c
651 $(CC) -c $(PY_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
680 Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \
683 Python/formatter_string.o: $(srcdir)/Python/formatter_string.c \
690 Include/Python-ast.h \
691 Include/Python.h \
774 $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
870 # $(PYTHON) -> python2 -> python$(VERSION))
873 -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
874 then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
878 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
879 (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
881 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
882 -rm -f $(DESTDIR)$(BINDIR)/python-config
883 (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
886 (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)
887 -rm -f $(DESTDIR)$(LIBPC)/python.pc
888 (cd $(DESTDIR)$(LIBPC); $(LN) -s python2.pc python.pc)
901 $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE)
925 $(INSTALL_DATA) $(srcdir)/Misc/python.man \
926 $(DESTDIR)$(MANDIR)/man1/python$(VERSION).1
931 (cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python2.1)
932 -rm -f $(DESTDIR)$(MANDIR)/man1/python.1
933 (cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python2.1 python.1)
1068 python-config: $(srcdir)/Misc/python-config.in
1071 sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
1073 sed -e "s,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g" < Misc/python-config.sh >python-config.sh
1100 libainstall: all python-config
1122 $(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
1128 $(INSTALL_DATA) Misc/python.pc $(DESTDIR)$(LIBPC)/python-$(VERSION).pc
1131 $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config
1132 $(INSTALL_SCRIPT) python-config.sh $(DESTDIR)$(BINDIR)/python-config.sh
1133 rm python-config
1134 @if [ -s Modules/python.exp -a \
1137 $(INSTALL_DATA) Modules/python.exp \
1138 $(DESTDIR)$(LIBPL)/python.exp; \
1139 echo; echo "$(LIBPL)/python.exp"; \
1172 # framework-based Python. frameworkinstall installs everything, the
1177 # This target is here for backward compatiblity, previous versions of Python
1202 $(LN) -fsn include/python$(VERSION) $(DESTDIR)$(prefix)/Headers
1212 # install (which includes python-config) happy.
1214 ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a"
1215 ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).dylib"
1223 # This install the unix python and pythonw tools in /usr/local/bin
1289 touch Include/Python-ast.h Python/Python-ast.c
1316 # Keep configure and Python-ast.[ch], it's possible they can't be generated
1323 Modules/ld_so_aix Modules/python.exp Misc/python.pc
1324 -rm -f python*-gdb.py
1372 Python/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