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