Blob Blame History Raw
PYTHON_PATH	=
PYTHON_PLATFORM	= midipix

CFLAGS_NCURSES  = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -ltinfo -Wl,--no-as-needed

CFLAGS_SQLITE   = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
CFLAGS_SQLITE  += -DMODULE_NAME=\"sqlite3\"
CFLAGS_SQLITE  += -DSQLITE_OMIT_LOAD_EXTENSION
LDFLAGS_SQLITE  = -lsqlite3

CFLAGS_EXPAT    = -DXML_DEV_URANDOM
LDFLAGS_EXPAT   = -lexpat

CFLAGS_DBM      = -DHAVE_NDBM_H
LDFLAGS_DBM     = -lgdbm_compat

DYNLOAD_SRCS = \
	Python/dynload_shlib.c \

CONFIG_SRCS = \
	Modules/_codecsmodule.c \
	Modules/_sre.c \
	Modules/_weakref.c \
	Modules/errnomodule.c \
	Modules/posixmodule.c \
	Modules/pwdmodule.c \
	Modules/signalmodule.c \
	Modules/symtablemodule.c \
	Modules/threadmodule.c \
	Modules/xxsubtype.c \
	Modules/zipimport.c \

shared-lib: LDFLAGS_CONFIG += -Wl,-no-undefined

PYEXT_SUBSET_SHARED = \
	$(PYEXT_ARRAY_SHARED) \
	$(PYEXT_AUDIOOP_SHARED) \
	$(PYEXT_BINASCII_SHARED) \
	$(PYEXT_BISECT_SHARED) \
	$(PYEXT_BZ2_SHARED) \
	$(PYEXT_CMATH_SHARED) \
	$(PYEXT_CODECS_CN_SHARED) \
	$(PYEXT_CODECS_HK_SHARED) \
	$(PYEXT_CODECS_ISO2022_SHARED) \
	$(PYEXT_CODECS_JP_SHARED) \
	$(PYEXT_CODECS_KR_SHARED) \
	$(PYEXT_CODECS_TW_SHARED) \
	$(PYEXT_COLLECTIONS_SHARED) \
	$(PYEXT_CPICKLE_SHARED) \
	$(PYEXT_CRYPT_SHARED) \
	$(PYEXT_CSTRINGIO_SHARED) \
	$(PYEXT_CSV_SHARED) \
	$(PYEXT_CTYPES_SHARED) \
	$(PYEXT_CTYPES_TEST_SHARED) \
	$(PYEXT_CURSES_PANEL_SHARED) \
	$(PYEXT_CURSES_SHARED) \
	$(PYEXT_DATETIME_SHARED) \
	$(PYEXT_ELEMENTTREE_SHARED) \
	$(PYEXT_FCNTL_SHARED) \
	$(PYEXT_FUNCTOOLS_SHARED) \
	$(PYEXT_FUTURE_BUILTINS_SHARED) \
	$(PYEXT_GDBM_SHARED) \
	$(PYEXT_GRP_SHARED) \
	$(PYEXT_HASHLIB_SHARED) \
	$(PYEXT_HEAPQ_SHARED) \
	$(PYEXT_HOTSHOT_SHARED) \
	$(PYEXT_IO_SHARED) \
	$(PYEXT_ITERTOOLS_SHARED) \
	$(PYEXT_JSON_SHARED) \
	$(PYEXT_LOCALE_SHARED) \
	$(PYEXT_LSPROF_SHARED) \
	$(PYEXT_MATH_SHARED) \
	$(PYEXT_MMAP_SHARED) \
	$(PYEXT_MULTIBYTECODEC_SHARED) \
	$(PYEXT_MULTIPROCESSING_SHARED) \
	$(PYEXT_OPERATOR_SHARED) \
	$(PYEXT_PARSER_SHARED) \
	$(PYEXT_PYEXPAT_SHARED) \
	$(PYEXT_RANDOM_SHARED) \
	$(PYEXT_READLINE_SHARED) \
	$(PYEXT_RESOURCE_SHARED) \
	$(PYEXT_SELECT_SHARED) \
	$(PYEXT_SOCKET_SHARED) \
	$(PYEXT_SPWD_SHARED) \
	$(PYEXT_SQLITE3_SHARED) \
	$(PYEXT_STROP_SHARED) \
	$(PYEXT_STRUCT_SHARED) \
	$(PYEXT_SYSLOG_SHARED) \
	$(PYEXT_TERMIOS_SHARED) \
	$(PYEXT_TESTCAPI_SHARED) \
	$(PYEXT_TIME_SHARED) \
	$(PYEXT_UNICODEDATA_SHARED) \
	$(PYEXT_ZLIB_SHARED) \
#	$(PYEXT_DBM_SHARED) \
#	$(PYEXT_LINUXAUDIODEV_SHARED) \
#	$(PYEXT_OSSAUDIODEV_SHARED) \
#	$(PYEXT_SSL_SHARED) \