|
|
3ebdb8 |
# shared extensions: dependency switches
|
|
|
3ebdb8 |
CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
|
|
|
3ebdb8 |
LDFLAGS_NCURSES = -Wl,--as-needed $(LDFLAGS_NCURSES_LIBS) -Wl,--no-as-needed
|
|
|
3ebdb8 |
|
|
|
3ebdb8 |
CFLAGS_SQLITE = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
|
|
|
3ebdb8 |
CFLAGS_SQLITE += -DMODULE_NAME=\"sqlite3\"
|
|
|
3ebdb8 |
CFLAGS_SQLITE += -DSQLITE_OMIT_LOAD_EXTENSION
|
|
|
3ebdb8 |
LDFLAGS_SQLITE = -lsqlite3
|
|
|
3ebdb8 |
|
|
|
3ebdb8 |
CFLAGS_EXPAT = -DXML_DEV_URANDOM
|
|
|
3ebdb8 |
LDFLAGS_EXPAT = -lexpat
|
|
|
3ebdb8 |
|
|
|
3ebdb8 |
CFLAGS_DBM = -DHAVE_NDBM_H
|
|
|
3ebdb8 |
LDFLAGS_DBM = -lgdbm_compat
|
|
|
3ebdb8 |
|
|
|
3ebdb8 |
|
|
|
3ebdb8 |
# static extensions: dependency switch
|
|
|
3ebdb8 |
LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
|
|
|
3ebdb8 |
LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES)
|
|
|
3ebdb8 |
LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE)
|
|
|
3ebdb8 |
LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT)
|
|
|
3ebdb8 |
LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM)
|