From 3ebdb87e21d25b865e5757d4b30297d02fff177a Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 10 Dec 2018 22:54:57 -0500 Subject: config: handle all dependency-related logic at the project level. --- config/x86_64-linux/config.mk | 24 ------------------------ config/x86_64-midipix/config.mk | 24 ------------------------ 2 files changed, 48 deletions(-) (limited to 'config') diff --git a/config/x86_64-linux/config.mk b/config/x86_64-linux/config.mk index b6f0aaf..f0d0dfa 100644 --- a/config/x86_64-linux/config.mk +++ b/config/x86_64-linux/config.mk @@ -26,29 +26,5 @@ PYEXT_STATIC = \ $(PYEXT_SUBSET_STATIC_LINUX_AUDIO) \ -# shared extensions: dependency switches -CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses -LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -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 - - -# static extensions: dependency switch -LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz -LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES) -LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE) -LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT) -LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM) - - # strict shared object generation LDFLAGS_STRICT += -Wl,-no-undefined diff --git a/config/x86_64-midipix/config.mk b/config/x86_64-midipix/config.mk index 6e727a5..72d86cc 100644 --- a/config/x86_64-midipix/config.mk +++ b/config/x86_64-midipix/config.mk @@ -22,29 +22,5 @@ PYEXT_STATIC = \ $(PYEXT_SUBSET_STATIC_ANYOS_CORE) \ -# shared extensions: dependency switches -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 - - -# static extensions: dependency switch -LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz -LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES) -LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE) -LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT) -LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM) - - # strict shared object generation LDFLAGS_STRICT += -Wl,-no-undefined -- cgit v1.2.3