author | mickeyl <mickeyl> | 2004-07-18 15:12:05 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-07-18 15:12:05 (UTC) |
commit | 8e8fcd65b8d8657650728bae604c5a34dc31338e (patch) (unidiff) | |
tree | f2d6ae7ef740335374d6273b906bd95beb0d12cb | |
parent | 63c1d7b2cb5abfcfa518363caf9e9c24dbb906dc (diff) | |
download | opie-8e8fcd65b8d8657650728bae604c5a34dc31338e.zip opie-8e8fcd65b8d8657650728bae604c5a34dc31338e.tar.gz opie-8e8fcd65b8d8657650728bae604c5a34dc31338e.tar.bz2 |
don't allow a static libqpe
-rw-r--r-- | Rules.make | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,25 +14,27 @@ else | |||
14 | endif | 14 | endif |
15 | ifneq ($(CONFIG_DEBUG),) | 15 | ifneq ($(CONFIG_DEBUG),) |
16 | echo CONFIG += debug >> $@ | 16 | echo CONFIG += debug >> $@ |
17 | echo CONFIG -= release >> $@ | 17 | echo CONFIG -= release >> $@ |
18 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ | 18 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ |
19 | echo DEFINES += QT_DEBUG >> $@ | 19 | echo DEFINES += QT_DEBUG >> $@ |
20 | else | 20 | else |
21 | echo CONFIG -= debug >> $@ | 21 | echo CONFIG -= debug >> $@ |
22 | echo CONFIG += release >> $@ | 22 | echo CONFIG += release >> $@ |
23 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ | 23 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ |
24 | endif | 24 | endif |
25 | ifeq ($(CONFIG_STATIC),y) | 25 | ifeq ($(CONFIG_STATIC),y) |
26 | echo !contains\( TARGET,qpe \) \{ >> $@ | ||
26 | echo CONFIG += staticlib >> $@ | 27 | echo CONFIG += staticlib >> $@ |
28 | echo \} >> $@ | ||
27 | endif | 29 | endif |
28 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 | 30 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 |
29 | echo CONFIG -= qt3 >> $@ | 31 | echo CONFIG -= qt3 >> $@ |
30 | else | 32 | else |
31 | echo CONFIG += qt3 >> $@ | 33 | echo CONFIG += qt3 >> $@ |
32 | endif | 34 | endif |
33 | ifneq ($(CONFIG_QUICK_LAUNCH),) | 35 | ifneq ($(CONFIG_QUICK_LAUNCH),) |
34 | echo contains\( CONFIG, quick-app \) \{ >> $@ | 36 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
35 | echo CONFIG -= staticlib >> $@ | 37 | echo CONFIG -= staticlib >> $@ |
36 | echo CONFIG -= quick-app >> $@ | 38 | echo CONFIG -= quick-app >> $@ |
37 | echo CONFIG += quick-app-lib >> $@ | 39 | echo CONFIG += quick-app-lib >> $@ |
38 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ | 40 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ |