summaryrefslogtreecommitdiff
authorzecke <zecke>2003-08-27 12:24:03 (UTC)
committer zecke <zecke>2003-08-27 12:24:03 (UTC)
commit6a6af694205eb9a55b18eb10f2290a9747019388 (patch) (unidiff)
treee930a44ea8b32720a9611bbfd59a71b83bb7e606
parent151c319a9a67ae420136fb23cc987d23059737f6 (diff)
downloadopie-6a6af694205eb9a55b18eb10f2290a9747019388.zip
opie-6a6af694205eb9a55b18eb10f2290a9747019388.tar.gz
opie-6a6af694205eb9a55b18eb10f2290a9747019388.tar.bz2
If you add quick-app to the CONFIG options
it'll use the global quick app setting to either be a lib or normal executable
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Rules.make11
-rw-r--r--config.in4
-rw-r--r--include.pro18
3 files changed, 32 insertions, 1 deletions
diff --git a/Rules.make b/Rules.make
index 5fd8d90..d4ccf44 100644
--- a/Rules.make
+++ b/Rules.make
@@ -20,2 +20,13 @@ else
20endif 20endif
21ifneq ($(CONFIG_QUICK_LAUNCH),)
22 echo contains\( CONFIG, quick-app \) \{ >> $@
23 echo CONFIG -= quick-app >> $@
24 echo CONFIG += quick-app-lib >> $@
25 echo \} >> $@
26else
27 echo contains\( CONFIG, quick-app \) \{ >> $@
28 echo CONFIG -= quick-app >> $@
29 echo CONFIG += quick-app-bin >> $@
30 echo \} >> $@
31 endif
21 32
diff --git a/config.in b/config.in
index aa6a0d4..c6ee7a6 100644
--- a/config.in
+++ b/config.in
@@ -40,2 +40,6 @@ config RELEASE
40 40
41config QUICK_LAUNCH
42 boolean "Enable Quick Launch"
43 default n
44
41config SPECFILE 45config SPECFILE
diff --git a/include.pro b/include.pro
index 3ba8776..c70c4d5 100644
--- a/include.pro
+++ b/include.pro
@@ -1 +1,3 @@
1include ( $(OPIEDIR)/gen.pro )
2
1# make install 3# make install
@@ -5,2 +7,15 @@ prefix = /opt/QtPalmtop
5 7
8
9contains( CONFIG, quick-app-lib ) {
10 TEMPLATE = lib
11 DESTDIR = $(OPIEDIR)/plugins/applications
12 DEFINES += OPIE_APP_INTERFACE
13}
14contains ( CONFIG, quick-app-bin ) {
15 TEMPLATE = app
16 DESTDIR = $(OPIEDIR)/bin
17 DEFINES -= OPIE_APP_INTERFACE
18}
19
20
6contains( TEMPLATE, lib ) { 21contains( TEMPLATE, lib ) {
@@ -79,2 +94,3 @@ OBJECTS_DIR=.obj/$(PLATFORM)
79 94
80include ( $(OPIEDIR)/gen.pro ) 95#was here now at thetop
96#include ( $(OPIEDIR)/gen.pro )