Blame config/x86_64-nt64-midipix/config.mk

960ea4
# platform
960ea4
PYTHON_PATH	=
960ea4
PYTHON_PLATFORM	= midipix
960ea4
960ea4
960ea4
# extensions: built-in
960ea4
CONFIG_SRCS = $(CONFIG_DEFAULT_SRCS)
960ea4
960ea4
960ea4
# extensions: dynamic loading
960ea4
DYNLOAD_SRCS = \
960ea4
	Python/dynload_shlib.c \
960ea4
960ea4
960ea4
# extensions: desired subsets
960ea4
include $(PROJECT_DIR)/profiles/pyexts/subsets.mk
960ea4
960ea4
PYEXT_SHARED = \
960ea4
	$(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
960ea4
960ea4
PYEXT_STATIC = \
960ea4
	$(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
960ea4
960ea4
960ea4
# shared extensions: dependency switches
960ea4
CFLAGS_NCURSES  = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
960ea4
LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -ltinfo -Wl,--no-as-needed
960ea4
960ea4
CFLAGS_SQLITE   = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
960ea4
CFLAGS_SQLITE  += -DMODULE_NAME=\"sqlite3\"
960ea4
CFLAGS_SQLITE  += -DSQLITE_OMIT_LOAD_EXTENSION
960ea4
LDFLAGS_SQLITE  = -lsqlite3
960ea4
960ea4
CFLAGS_EXPAT    = -DXML_DEV_URANDOM
960ea4
LDFLAGS_EXPAT   = -lexpat
960ea4
960ea4
CFLAGS_DBM      = -DHAVE_NDBM_H
960ea4
LDFLAGS_DBM     = -lgdbm_compat
960ea4
960ea4
960ea4
# static extensions: dependency switch
960ea4
LDFLAGS_PYEXT_STATIC	= -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
960ea4
LDFLAGS_NCURSES_STATIC	= $(LDFLAGS_NCURSES)
960ea4
LDFLAGS_SQLITE_STATIC	= $(LDFLAGS_SQLITE)
960ea4
LDFLAGS_EXPAT_STATIC	= $(LDFLAGS_EXPAT)
960ea4
LDFLAGS_DBM_STATIC	= $(LDFLAGS_DBM)
960ea4
960ea4
960ea4
# strict shared object generation
960ea4
LDFLAGS_STRICT += -Wl,-no-undefined