|
|
581c55 |
PYTHON_PATH =
|
|
|
c3000a |
PYTHON_PLATFORM = linux2
|
|
|
581c55 |
|
|
|
290466 |
CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
|
|
|
290466 |
LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -Wl,--no-as-needed
|
|
|
290466 |
|
|
|
83e6cb |
CFLAGS_SQLITE = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
|
|
|
83e6cb |
CFLAGS_SQLITE += -DMODULE_NAME=\"sqlite3\"
|
|
|
83e6cb |
CFLAGS_SQLITE += -DSQLITE_OMIT_LOAD_EXTENSION
|
|
|
83e6cb |
LDFLAGS_SQLITE = -lsqlite3
|
|
|
83e6cb |
|
|
|
e4ac5e |
CFLAGS_EXPAT = -DXML_DEV_URANDOM
|
|
|
e4ac5e |
LDFLAGS_EXPAT = -lexpat
|
|
|
e4ac5e |
|
|
|
ed8885 |
CFLAGS_DBM = -DHAVE_NDBM_H
|
|
|
ed8885 |
LDFLAGS_DBM = -lgdbm_compat
|
|
|
ed8885 |
|
|
|
3300f9 |
LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
|
|
|
3300f9 |
LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES)
|
|
|
3300f9 |
LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE)
|
|
|
3300f9 |
LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT)
|
|
|
3300f9 |
LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM)
|
|
|
3300f9 |
|
|
|
c4704e |
DYNLOAD_SRCS = \
|
|
|
c4704e |
Python/dynload_shlib.c \
|
|
|
b5f396 |
|
|
|
b5f396 |
CONFIG_SRCS = \
|
|
|
b5f396 |
Modules/_codecsmodule.c \
|
|
|
b5f396 |
Modules/_sre.c \
|
|
|
b5f396 |
Modules/_weakref.c \
|
|
|
b5f396 |
Modules/errnomodule.c \
|
|
|
b5f396 |
Modules/posixmodule.c \
|
|
|
b5f396 |
Modules/pwdmodule.c \
|
|
|
b5f396 |
Modules/signalmodule.c \
|
|
|
b5f396 |
Modules/symtablemodule.c \
|
|
|
b5f396 |
Modules/threadmodule.c \
|
|
|
b5f396 |
Modules/xxsubtype.c \
|
|
|
b5f396 |
Modules/zipimport.c \
|
|
|
e99c09 |
|
|
|
e99c09 |
shared-lib: LDFLAGS_CONFIG += -Wl,-no-undefined
|
|
|
cf798d |
|
|
|
cf798d |
PYEXT_SUBSET_SHARED = \
|
|
|
cf798d |
$(PYEXT_ARRAY_SHARED) \
|
|
|
cf798d |
$(PYEXT_AUDIOOP_SHARED) \
|
|
|
cf798d |
$(PYEXT_BINASCII_SHARED) \
|
|
|
cf798d |
$(PYEXT_BISECT_SHARED) \
|
|
|
cf798d |
$(PYEXT_BZ2_SHARED) \
|
|
|
cf798d |
$(PYEXT_CMATH_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_CN_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_HK_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_ISO2022_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_JP_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_KR_SHARED) \
|
|
|
cf798d |
$(PYEXT_CODECS_TW_SHARED) \
|
|
|
cf798d |
$(PYEXT_COLLECTIONS_SHARED) \
|
|
|
cf798d |
$(PYEXT_CPICKLE_SHARED) \
|
|
|
cf798d |
$(PYEXT_CRYPT_SHARED) \
|
|
|
cf798d |
$(PYEXT_CSTRINGIO_SHARED) \
|
|
|
cf798d |
$(PYEXT_CSV_SHARED) \
|
|
|
cf798d |
$(PYEXT_CTYPES_SHARED) \
|
|
|
cf798d |
$(PYEXT_CTYPES_TEST_SHARED) \
|
|
|
cf798d |
$(PYEXT_CURSES_PANEL_SHARED) \
|
|
|
cf798d |
$(PYEXT_CURSES_SHARED) \
|
|
|
cf798d |
$(PYEXT_DATETIME_SHARED) \
|
|
|
cf798d |
$(PYEXT_DBM_SHARED) \
|
|
|
cf798d |
$(PYEXT_ELEMENTTREE_SHARED) \
|
|
|
cf798d |
$(PYEXT_FCNTL_SHARED) \
|
|
|
cf798d |
$(PYEXT_FUNCTOOLS_SHARED) \
|
|
|
cf798d |
$(PYEXT_FUTURE_BUILTINS_SHARED) \
|
|
|
cf798d |
$(PYEXT_GDBM_SHARED) \
|
|
|
cf798d |
$(PYEXT_GRP_SHARED) \
|
|
|
cf798d |
$(PYEXT_HASHLIB_SHARED) \
|
|
|
cf798d |
$(PYEXT_HEAPQ_SHARED) \
|
|
|
cf798d |
$(PYEXT_HOTSHOT_SHARED) \
|
|
|
cf798d |
$(PYEXT_IO_SHARED) \
|
|
|
cf798d |
$(PYEXT_ITERTOOLS_SHARED) \
|
|
|
cf798d |
$(PYEXT_JSON_SHARED) \
|
|
|
cf798d |
$(PYEXT_LINUXAUDIODEV_SHARED) \
|
|
|
cf798d |
$(PYEXT_LOCALE_SHARED) \
|
|
|
cf798d |
$(PYEXT_LSPROF_SHARED) \
|
|
|
cf798d |
$(PYEXT_MATH_SHARED) \
|
|
|
cf798d |
$(PYEXT_MMAP_SHARED) \
|
|
|
cf798d |
$(PYEXT_MULTIBYTECODEC_SHARED) \
|
|
|
cf798d |
$(PYEXT_MULTIPROCESSING_SHARED) \
|
|
|
cf798d |
$(PYEXT_OPERATOR_SHARED) \
|
|
|
cf798d |
$(PYEXT_OSSAUDIODEV_SHARED) \
|
|
|
cf798d |
$(PYEXT_PARSER_SHARED) \
|
|
|
cf798d |
$(PYEXT_PYEXPAT_SHARED) \
|
|
|
cf798d |
$(PYEXT_RANDOM_SHARED) \
|
|
|
cf798d |
$(PYEXT_READLINE_SHARED) \
|
|
|
cf798d |
$(PYEXT_RESOURCE_SHARED) \
|
|
|
cf798d |
$(PYEXT_SELECT_SHARED) \
|
|
|
cf798d |
$(PYEXT_SOCKET_SHARED) \
|
|
|
cf798d |
$(PYEXT_SPWD_SHARED) \
|
|
|
cf798d |
$(PYEXT_SQLITE3_SHARED) \
|
|
|
cf798d |
$(PYEXT_SSL_SHARED) \
|
|
|
cf798d |
$(PYEXT_STROP_SHARED) \
|
|
|
cf798d |
$(PYEXT_STRUCT_SHARED) \
|
|
|
cf798d |
$(PYEXT_SYSLOG_SHARED) \
|
|
|
cf798d |
$(PYEXT_TERMIOS_SHARED) \
|
|
|
cf798d |
$(PYEXT_TESTCAPI_SHARED) \
|
|
|
cf798d |
$(PYEXT_TIME_SHARED) \
|
|
|
cf798d |
$(PYEXT_UNICODEDATA_SHARED) \
|
|
|
cf798d |
$(PYEXT_ZLIB_SHARED) \
|
|
|
3300f9 |
|
|
|
3300f9 |
PYEXT_SUBSET_STATIC = \
|
|
|
3300f9 |
$(PYEXT_ARRAY_STATIC) \
|
|
|
3300f9 |
$(PYEXT_AUDIOOP_STATIC) \
|
|
|
3300f9 |
$(PYEXT_BINASCII_STATIC) \
|
|
|
3300f9 |
$(PYEXT_BISECT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_BZ2_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CMATH_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_CN_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_HK_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_ISO2022_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_JP_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_KR_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CODECS_TW_STATIC) \
|
|
|
3300f9 |
$(PYEXT_COLLECTIONS_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CPICKLE_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CRYPT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CSTRINGIO_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CSV_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CTYPES_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CTYPES_TEST_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CURSES_PANEL_STATIC) \
|
|
|
3300f9 |
$(PYEXT_CURSES_STATIC) \
|
|
|
3300f9 |
$(PYEXT_DATETIME_STATIC) \
|
|
|
3300f9 |
$(PYEXT_DBM_STATIC) \
|
|
|
3300f9 |
$(PYEXT_ELEMENTTREE_STATIC) \
|
|
|
3300f9 |
$(PYEXT_FCNTL_STATIC) \
|
|
|
3300f9 |
$(PYEXT_FUNCTOOLS_STATIC) \
|
|
|
3300f9 |
$(PYEXT_FUTURE_BUILTINS_STATIC) \
|
|
|
3300f9 |
$(PYEXT_GDBM_STATIC) \
|
|
|
3300f9 |
$(PYEXT_GRP_STATIC) \
|
|
|
3300f9 |
$(PYEXT_HASHLIB_STATIC) \
|
|
|
3300f9 |
$(PYEXT_HEAPQ_STATIC) \
|
|
|
3300f9 |
$(PYEXT_HOTSHOT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_IO_STATIC) \
|
|
|
3300f9 |
$(PYEXT_ITERTOOLS_STATIC) \
|
|
|
3300f9 |
$(PYEXT_JSON_STATIC) \
|
|
|
3300f9 |
$(PYEXT_LINUXAUDIODEV_STATIC) \
|
|
|
3300f9 |
$(PYEXT_LOCALE_STATIC) \
|
|
|
3300f9 |
$(PYEXT_LSPROF_STATIC) \
|
|
|
3300f9 |
$(PYEXT_MATH_STATIC) \
|
|
|
3300f9 |
$(PYEXT_MMAP_STATIC) \
|
|
|
3300f9 |
$(PYEXT_MULTIBYTECODEC_STATIC) \
|
|
|
3300f9 |
$(PYEXT_MULTIPROCESSING_STATIC) \
|
|
|
3300f9 |
$(PYEXT_OPERATOR_STATIC) \
|
|
|
3300f9 |
$(PYEXT_OSSAUDIODEV_STATIC) \
|
|
|
3300f9 |
$(PYEXT_PARSER_STATIC) \
|
|
|
3300f9 |
$(PYEXT_PYEXPAT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_RANDOM_STATIC) \
|
|
|
3300f9 |
$(PYEXT_READLINE_STATIC) \
|
|
|
3300f9 |
$(PYEXT_RESOURCE_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SELECT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SOCKET_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SPWD_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SQLITE3_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SSL_STATIC) \
|
|
|
3300f9 |
$(PYEXT_STROP_STATIC) \
|
|
|
3300f9 |
$(PYEXT_STRUCT_STATIC) \
|
|
|
3300f9 |
$(PYEXT_SYSLOG_STATIC) \
|
|
|
3300f9 |
$(PYEXT_TERMIOS_STATIC) \
|
|
|
3300f9 |
$(PYEXT_TESTCAPI_STATIC) \
|
|
|
3300f9 |
$(PYEXT_TIME_STATIC) \
|
|
|
3300f9 |
$(PYEXT_UNICODEDATA_STATIC) \
|
|
|
3300f9 |
$(PYEXT_ZLIB_STATIC) \
|