summaryrefslogtreecommitdiff
path: root/include.pro
Side-by-side diff
Diffstat (limited to 'include.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index 0dc941b..ffdba16 100644
--- a/include.pro
+++ b/include.pro
@@ -4,27 +4,30 @@ include ( $(OPIEDIR)/gen.pro )
# prefix = /opt/QtPalmtop ??? Why here (eilers) ???
prefix = $(OPIEDIR)
contains( CONFIG, quick-app-lib ) {
TEMPLATE = lib
CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers)
DESTDIR = $(OPIEDIR)/plugins/application
DEFINES += OPIE_APP_INTERFACE
+ DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
+
!contains( TARGET, launcher ) {
message( Linking $$TARGET to quicklauncher )
system( rm -f $$(OPIEDIR)/bin/$$TARGET )
system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET )
}
}
contains ( CONFIG, quick-app-bin ) {
TEMPLATE = app
DESTDIR = $(OPIEDIR)/bin
DEFINES -= OPIE_APP_INTERFACE
+ DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
message( Touching plugins/application/lib$${TARGET}.so.0 )
system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 )
}
contains( TEMPLATE, lib ) {
target.path = $$prefix/lib
}