summaryrefslogtreecommitdiff
path: root/include.pro
authoreilers <eilers>2003-11-17 15:59:46 (UTC)
committer eilers <eilers>2003-11-17 15:59:46 (UTC)
commite206333876a37ae188fe2889bb079158611cebe3 (patch) (side-by-side diff)
treeef73110d6d868ee38c047594cd77fc6e61904efe /include.pro
parent5228be0c7dfe6ce10330133fde6a5b15f836403b (diff)
downloadopie-e206333876a37ae188fe2889bb079158611cebe3.zip
opie-e206333876a37ae188fe2889bb079158611cebe3.tar.gz
opie-e206333876a37ae188fe2889bb079158611cebe3.tar.bz2
Quicklauncher Applications are plugins. Therfore I added the CONFIG += plugin
to generate the correct Makefile for it.. Due to the fact that this is just important for MacOSX, it will be removed later.. (Question: Is it dangerous to leave "plugin" for Linux ?? If no, we don't have to remove it later..)
Diffstat (limited to 'include.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index ef8661c..bb44a7a 100644
--- a/include.pro
+++ b/include.pro
@@ -1,32 +1,33 @@
include ( $(OPIEDIR)/gen.pro )
# base opie install path
# 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
!contains( TARGET, launcher ) {
message( Linking $$TARGET to quicklauncher )
system( rm -f $$(OPIEDIR)/bin/$$TARGET )
system( ln -s quicklauncher $$(OPIEDIR)/bin/$$TARGET )
}
}
contains ( CONFIG, quick-app-bin ) {
TEMPLATE = app
DESTDIR = $(OPIEDIR)/bin
DEFINES -= OPIE_APP_INTERFACE
message( Touching plugins/application/lib$${TARGET}.so )
system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so )
}
contains( TEMPLATE, lib ) {
target.path = $$prefix/lib
}
!contains( TEMPLATE, lib ) {
target.path = $$prefix/bin
}