-rw-r--r-- | Rules.make | 11 | ||||
-rw-r--r-- | config.in | 4 | ||||
-rw-r--r-- | include.pro | 18 |
3 files changed, 32 insertions, 1 deletions
@@ -20,2 +20,13 @@ else endif +ifneq ($(CONFIG_QUICK_LAUNCH),) + echo contains\( CONFIG, quick-app \) \{ >> $@ + echo CONFIG -= quick-app >> $@ + echo CONFIG += quick-app-lib >> $@ + echo \} >> $@ +else + echo contains\( CONFIG, quick-app \) \{ >> $@ + echo CONFIG -= quick-app >> $@ + echo CONFIG += quick-app-bin >> $@ + echo \} >> $@ +endif @@ -39,2 +39,6 @@ config RELEASE depends !DEBUG + +config QUICK_LAUNCH + boolean "Enable Quick Launch" + default n diff --git a/include.pro b/include.pro index 3ba8776..c70c4d5 100644 --- a/include.pro +++ b/include.pro @@ -1 +1,3 @@ +include ( $(OPIEDIR)/gen.pro ) + # make install @@ -5,2 +7,15 @@ prefix = /opt/QtPalmtop + +contains( CONFIG, quick-app-lib ) { + TEMPLATE = lib + DESTDIR = $(OPIEDIR)/plugins/applications + DEFINES += OPIE_APP_INTERFACE +} +contains ( CONFIG, quick-app-bin ) { + TEMPLATE = app + DESTDIR = $(OPIEDIR)/bin + DEFINES -= OPIE_APP_INTERFACE +} + + contains( TEMPLATE, lib ) { @@ -79,2 +94,3 @@ OBJECTS_DIR=.obj/$(PLATFORM) -include ( $(OPIEDIR)/gen.pro ) +#was here now at thetop +#include ( $(OPIEDIR)/gen.pro ) |