summaryrefslogtreecommitdiff
path: root/include.pro
Unidiff
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
@@ -1,70 +1,73 @@
1include ( $(OPIEDIR)/gen.pro ) 1include ( $(OPIEDIR)/gen.pro )
2 2
3# base opie install path 3# base opie install path
4# prefix = /opt/QtPalmtop ??? Why here (eilers) ??? 4# prefix = /opt/QtPalmtop ??? Why here (eilers) ???
5prefix = $(OPIEDIR) 5prefix = $(OPIEDIR)
6 6
7contains( CONFIG, quick-app-lib ) { 7contains( CONFIG, quick-app-lib ) {
8 TEMPLATE = lib 8 TEMPLATE = lib
9 CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers) 9 CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers)
10 DESTDIR = $(OPIEDIR)/plugins/application 10 DESTDIR = $(OPIEDIR)/plugins/application
11 DEFINES += OPIE_APP_INTERFACE 11 DEFINES += OPIE_APP_INTERFACE
12 DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
13
12 !contains( TARGET, launcher ) { 14 !contains( TARGET, launcher ) {
13 message( Linking $$TARGET to quicklauncher ) 15 message( Linking $$TARGET to quicklauncher )
14 system( rm -f $$(OPIEDIR)/bin/$$TARGET ) 16 system( rm -f $$(OPIEDIR)/bin/$$TARGET )
15 system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET ) 17 system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET )
16 } 18 }
17} 19}
18 20
19contains ( CONFIG, quick-app-bin ) { 21contains ( CONFIG, quick-app-bin ) {
20 TEMPLATE = app 22 TEMPLATE = app
21 DESTDIR = $(OPIEDIR)/bin 23 DESTDIR = $(OPIEDIR)/bin
22 DEFINES -= OPIE_APP_INTERFACE 24 DEFINES -= OPIE_APP_INTERFACE
25 DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
23 message( Touching plugins/application/lib$${TARGET}.so.0 ) 26 message( Touching plugins/application/lib$${TARGET}.so.0 )
24 system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 ) 27 system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 )
25} 28}
26 29
27 30
28contains( TEMPLATE, lib ) { 31contains( TEMPLATE, lib ) {
29 target.path = $$prefix/lib 32 target.path = $$prefix/lib
30} 33}
31!contains( TEMPLATE, lib ) { 34!contains( TEMPLATE, lib ) {
32 target.path = $$prefix/bin 35 target.path = $$prefix/bin
33} 36}
34INSTALLS += target 37INSTALLS += target
35 38
36# ipkg control files 39# ipkg control files
37control.path = /CONTROL 40control.path = /CONTROL
38control.files = control postinst prerm postrm preinst conffiles 41control.files = control postinst prerm postrm preinst conffiles
39INSTALLS += control 42INSTALLS += control
40 43
41# images, default is $$prefix/pics/$$TARGET 44# images, default is $$prefix/pics/$$TARGET
42pics.path = $$prefix/pics/$$TARGET 45pics.path = $$prefix/pics/$$TARGET
43pics.files = pics/* 46pics.files = pics/*
44INSTALLS += pics 47INSTALLS += pics
45 48
46# sounds, default path is $$prefix/sounds/$$TARGET 49# sounds, default path is $$prefix/sounds/$$TARGET
47sounds.path = $$prefix/sounds/$$TARGET 50sounds.path = $$prefix/sounds/$$TARGET
48sounds.files = sounds/* 51sounds.files = sounds/*
49INSTALLS += sounds 52INSTALLS += sounds
50 53
51# init scripts, default path is /etc/init.d 54# init scripts, default path is /etc/init.d
52init.path = /etc/init.d 55init.path = /etc/init.d
53init.files = init.d/* 56init.files = init.d/*
54INSTALLS += init 57INSTALLS += init
55 58
56# data, default path is /usr/share/$$TARGET 59# data, default path is /usr/share/$$TARGET
57data.path = /usr/share/$$TARGET 60data.path = /usr/share/$$TARGET
58data.files = share/* 61data.files = share/*
59INSTALLS += data 62INSTALLS += data
60 63
61etc.path = $$prefix/etc/ 64etc.path = $$prefix/etc/
62etc.files = etc/* 65etc.files = etc/*
63INSTALLS += etc 66INSTALLS += etc
64 67
65apps.path = $$prefix/apps/ 68apps.path = $$prefix/apps/
66apps.files = apps/* 69apps.files = apps/*
67INSTALLS += apps 70INSTALLS += apps
68 71
69# sounds, default path is $$prefix/sounds/$$TARGET 72# sounds, default path is $$prefix/sounds/$$TARGET
70sounds.path = $$prefix/sounds/$$TARGET 73sounds.path = $$prefix/sounds/$$TARGET