author | mickeyl <mickeyl> | 2004-06-02 23:42:42 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-06-02 23:42:42 (UTC) |
commit | 9499e1d1b46c1b5e0e6f8ce94aea4d8bd67f8f90 (patch) (side-by-side diff) | |
tree | 3be637914bd75d0402670fa4b2e4785a6870c342 | |
parent | 3706581a124f51ec92bcdf1fc3f94431778509e9 (diff) | |
download | opie-9499e1d1b46c1b5e0e6f8ce94aea4d8bd67f8f90.zip opie-9499e1d1b46c1b5e0e6f8ce94aea4d8bd67f8f90.tar.gz opie-9499e1d1b46c1b5e0e6f8ce94aea4d8bd67f8f90.tar.bz2 |
enable building static versions of the libraries
-rw-r--r-- | Rules.make | 5 | ||||
-rw-r--r-- | config.in | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -19,20 +19,23 @@ ifneq ($(CONFIG_DEBUG),) echo DEFINES += QT_DEBUG >> $@ else echo CONFIG -= debug >> $@ echo CONFIG += release >> $@ echo DEFINES += "OPIE_NO_DEBUG" >> $@ endif - +ifeq ($(CONFIG_STATIC),y) + echo CONFIG += staticlib >> $@ +endif ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 echo CONFIG -= qt3 >> $@ else echo CONFIG += qt3 >> $@ endif ifneq ($(CONFIG_QUICK_LAUNCH),) echo contains\( CONFIG, quick-app \) \{ >> $@ + echo CONFIG -= staticlib >> $@ echo CONFIG -= quick-app >> $@ echo CONFIG += quick-app-lib >> $@ echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ echo \} >> $@ else echo contains\( CONFIG, quick-app \) \{ >> $@ @@ -36,20 +36,24 @@ choice endchoice config OPTIMIZE boolean "Use optimizations" default "y" if ! TARGET_X86 -# added for threaded compile config THREADED boolean "Enable threaded build" default "n" +config STATIC + boolean "Build static libraries" + default "n" + config DEBUG boolean "Enable debug builds" default n + config RELEASE bool default y depends !DEBUG config QUICK_LAUNCH |