summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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
@@ -1,116 +1,127 @@
1.phony: force 1.phony: force
2force: 2force:
3 3
4$(configs) : 4$(configs) :
5 $(call makecfg,$@) 5 $(call makecfg,$@)
6 6
7$(TOPDIR)/gen.pro : $(TOPDIR)/.config 7$(TOPDIR)/gen.pro : $(TOPDIR)/.config
8 echo > $@ 8 echo > $@
9ifneq ($(CONFIG_DEBUG),) 9ifneq ($(CONFIG_DEBUG),)
10 echo CONFIG += debug >> $@ 10 echo CONFIG += debug >> $@
11 echo CONFIG -= release >> $@ 11 echo CONFIG -= release >> $@
12else 12else
13 echo CONFIG -= debug >> $@ 13 echo CONFIG -= debug >> $@
14 echo CONFIG += release >> $@ 14 echo CONFIG += release >> $@
15endif 15endif
16ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 16ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
17 echo CONFIG -= qt3 >> $@ 17 echo CONFIG -= qt3 >> $@
18else 18else
19 echo CONFIG += qt3 >> $@ 19 echo CONFIG += qt3 >> $@
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
22$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages 33$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
23 @echo Generating dependency information... 34 @echo Generating dependency information...
24# add to subdir-y, and add descend rules 35# add to subdir-y, and add descend rules
25 @cat $(TOPDIR)/packages | grep -v '^#' | \ 36 @cat $(TOPDIR)/packages | grep -v '^#' | \
26 awk '{print \ 37 awk '{print \
27 ".PHONY : " $$2 "\n" \ 38 ".PHONY : " $$2 "\n" \
28 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \ 39 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \
29 print $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends 40 print $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends
30 cat $(TOPDIR)/packages | grep -v '^#' | \ 41 cat $(TOPDIR)/packages | grep -v '^#' | \
31 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro \$$(OPIEDIR)/.config\n\t\$$(call makefilegen,\$$@)\n\n"; }' \ 42 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro \$$(OPIEDIR)/.config\n\t\$$(call makefilegen,\$$@)\n\n"; }' \
32 >> $(TOPDIR)/.depends 43 >> $(TOPDIR)/.depends
33# interpackage dependency generation 44# interpackage dependency generation
34 @cat $(TOPDIR)/packages | \ 45 @cat $(TOPDIR)/packages | \
35 $(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends 46 $(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends
36 47
37$(TOPDIR)/.depends.cfgs: 48$(TOPDIR)/.depends.cfgs:
38# config.in interdependencies 49# config.in interdependencies
39 @echo $(configs) | sed -e 's,/config.in,,g' | ( for i in `cat`; do echo $$i; done ) > dirs 50 @echo $(configs) | sed -e 's,/config.in,,g' | ( for i in `cat`; do echo $$i; done ) > dirs
40 @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@ 51 @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@
41 @-rm -f dirs 52 @-rm -f dirs
42 53
43$(QTDIR)/stamp-headers : 54$(QTDIR)/stamp-headers :
44 @-rm -f $(QTDIR)/stamp-headers* 55 @-rm -f $(QTDIR)/stamp-headers*
45 ( cd $(QTDIR)/include; \ 56 ( cd $(QTDIR)/include; \
46 $(patsubst %,ln -sf ../src/kernel/%;,qgfx_qws.h qwsmouse_qws.h \ 57 $(patsubst %,ln -sf ../src/kernel/%;,qgfx_qws.h qwsmouse_qws.h \
47 qcopchannel_qws.h qwindowsystem_qws.h \ 58 qcopchannel_qws.h qwindowsystem_qws.h \
48 qfontmanager_qws.h qwsdefaultdecoration_qws.h)) 59 qfontmanager_qws.h qwsdefaultdecoration_qws.h))
49 touch $@ 60 touch $@
50 61
51$(QTDIR)/stamp-headers-x11 : 62$(QTDIR)/stamp-headers-x11 :
52 @-rm -f $(QTDIR)/stamp-headers* 63 @-rm -f $(QTDIR)/stamp-headers*
53 cd $(QTDIR)/include; $(patsubst %,ln -sf $(OPIEDIR)/x11/libqpe-x11/qt/%;,qgfx_qws.h qwsmouse_qws.h qcopchannel_qws.h qwindowsystem_qws.h qfontmanager_qws.h qwsdefaultdecoration_qws.h) 64 cd $(QTDIR)/include; $(patsubst %,ln -sf $(OPIEDIR)/x11/libqpe-x11/qt/%;,qgfx_qws.h qwsmouse_qws.h qcopchannel_qws.h qwindowsystem_qws.h qfontmanager_qws.h qwsdefaultdecoration_qws.h)
54 touch $@ 65 touch $@
55 66
56$(OPIEDIR)/stamp-headers : 67$(OPIEDIR)/stamp-headers :
57 @-rm -f $(OPIEDIR)/stamp-headers* 68 @-rm -f $(OPIEDIR)/stamp-headers*
58 mkdir -p $(TOPDIR)/include/qpe \ 69 mkdir -p $(TOPDIR)/include/qpe \
59 $(TOPDIR)/include/qtopia \ 70 $(TOPDIR)/include/qtopia \
60 $(TOPDIR)/include/opie \ 71 $(TOPDIR)/include/opie \
61 $(TOPDIR)/include/opie2 \ 72 $(TOPDIR)/include/opie2 \
62 $(TOPDIR)/include/qtopia/private 73 $(TOPDIR)/include/qtopia/private
63 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) 74 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; )
64 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) 75 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
65 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) 76 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
66 ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) 77 ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; )
67 ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) 78 ( cd include/opie && ln -sf ../../libopie/pim/*.h .; )
68 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) 79 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; )
69 ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) 80 ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; )
70 ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) 81 ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; )
71 ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) 82 ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; )
72 #( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) 83 #( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; )
73 ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) 84 ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; )
74 ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ 85 ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
75 ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) 86 ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done )
76 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h 87 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h
77 touch $@ 88 touch $@
78 89
79$(OPIEDIR)/stamp-headers-x11 : 90$(OPIEDIR)/stamp-headers-x11 :
80 @-rm -f $(OPIEDIR)/stamp-headers* 91 @-rm -f $(OPIEDIR)/stamp-headers*
81 mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ 92 mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \
82 $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private 93 $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private
83 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) 94 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; )
84 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) 95 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
85 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) 96 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
86 ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) 97 ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; )
87 ( cd include/opie && ln -sf ../../libsql/*.h .; ) 98 ( cd include/opie && ln -sf ../../libsql/*.h .; )
88 ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) 99 ( cd include/opie && ln -sf ../../libopie/pim/*.h .; )
89 ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ 100 ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
90 ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) 101 ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done )
91 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h 102 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h
92 ( cd include/qpe; ln -sf ../../x11/libqpe-x11/qpe/*.h .; ) 103 ( cd include/qpe; ln -sf ../../x11/libqpe-x11/qpe/*.h .; )
93 touch $@ 104 touch $@
94 105
95$(TOPDIR)/library/custom.h : $(TOPDIR)/.config 106$(TOPDIR)/library/custom.h : $(TOPDIR)/.config
96 @-rm -f $@ 107 @-rm -f $@
97 @$(if $(patsubst "%",%,$(CONFIG_CUSTOMFILE)),\ 108 @$(if $(patsubst "%",%,$(CONFIG_CUSTOMFILE)),\
98 ln -sf $(patsubst "%",%,$(CONFIG_CUSTOMFILE)) $@) 109 ln -sf $(patsubst "%",%,$(CONFIG_CUSTOMFILE)) $@)
99 @touch $@ 110 @touch $@
100 111
101$(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/qmake/qmake: 112$(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/qmake/qmake:
102 @$(call descend,$(shell dirname $@),$(shell basename $@)) 113 @$(call descend,$(shell dirname $@),$(shell basename $@))
103 114
104menuconfig: $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf ./config.in 115menuconfig: $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf ./config.in
105 $(TOPDIR)/scripts/kconfig/mconf ./config.in 116 $(TOPDIR)/scripts/kconfig/mconf ./config.in
106 @touch ./.config.stamp 117 @touch ./.config.stamp
107 118
108xconfig: $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in 119xconfig: $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in
109 $(TOPDIR)/scripts/kconfig/qconf ./config.in 120 $(TOPDIR)/scripts/kconfig/qconf ./config.in
110 @touch .config.stamp 121 @touch .config.stamp
111 122
112gconfig: $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in 123gconfig: $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in
113 $(TOPDIR)/scripts/kconfig/gconf ./config.in 124 $(TOPDIR)/scripts/kconfig/gconf ./config.in
114 @touch .config.stamp 125 @touch .config.stamp
115 126
116config: $(TOPDIR)/scripts/kconfig/conf ./config.in 127config: $(TOPDIR)/scripts/kconfig/conf ./config.in
diff --git a/config.in b/config.in
index aa6a0d4..c6ee7a6 100644
--- a/config.in
+++ b/config.in
@@ -1,135 +1,139 @@
1mainmenu "Opie Configuration" 1mainmenu "Opie Configuration"
2 2
3menu "Build Parameters" 3menu "Build Parameters"
4 4
5choice 5choice
6 prompt "Target Machine" 6 prompt "Target Machine"
7 default TARGET_X86 7 default TARGET_X86
8 help 8 help
9 Please select the architecture of the machine you will be 9 Please select the architecture of the machine you will be
10 building the OpenZaurus buildroot for. 10 building the OpenZaurus buildroot for.
11 11
12 config TARGET_X86 12 config TARGET_X86
13 boolean "Intel X86" 13 boolean "Intel X86"
14 14
15 config TARGET_SHARP 15 config TARGET_SHARP
16 boolean "Sharp Zaurus" 16 boolean "Sharp Zaurus"
17 17
18 config TARGET_IPAQ 18 config TARGET_IPAQ
19 boolean "iPAQ" 19 boolean "iPAQ"
20 20
21 config TARGET_RAMSES 21 config TARGET_RAMSES
22 boolean "Ramses" 22 boolean "Ramses"
23 23
24 config TARGET_SIMPAD 24 config TARGET_SIMPAD
25 boolean "SIMpad" 25 boolean "SIMpad"
26 26
27endchoice 27endchoice
28 28
29config OPTIMIZE 29config OPTIMIZE
30 boolean "Use optimizations" 30 boolean "Use optimizations"
31 default "y" if ! TARGET_X86 31 default "y" if ! TARGET_X86
32 32
33config DEBUG 33config DEBUG
34 boolean "Enable debug builds" 34 boolean "Enable debug builds"
35 default n 35 default n
36config RELEASE 36config RELEASE
37 bool 37 bool
38 default y 38 default y
39 depends !DEBUG 39 depends !DEBUG
40
41config QUICK_LAUNCH
42 boolean "Enable Quick Launch"
43 default n
40 44
41config SPECFILE 45config SPECFILE
42 string 46 string
43 default "qws/linux-generic-g++" if TARGET_X86 && (! X11) 47 default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
44 default "linux-g++" if TARGET_X86 && X11 48 default "linux-g++" if TARGET_X86 && X11
45 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) 49 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
46 default "linux-g++" if TARGET_SHARP && X11 50 default "linux-g++" if TARGET_SHARP && X11
47 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) 51 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
48 default "linux-g++" if TARGET_IPAQ && X11 52 default "linux-g++" if TARGET_IPAQ && X11
49 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) 53 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
50 default "linux-g++" if TARGET_RAMSES && X11 54 default "linux-g++" if TARGET_RAMSES && X11
51 default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) 55 default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11)
52 default "linux-g++" if TARGET_SIMPAD && X11 56 default "linux-g++" if TARGET_SIMPAD && X11
53 57
54config CUSTOMFILE 58config CUSTOMFILE
55 string 59 string
56 default "custom-ipaq.h" if TARGET_IPAQ 60 default "custom-ipaq.h" if TARGET_IPAQ
57 default "custom-sharp.h" if TARGET_SHARP 61 default "custom-sharp.h" if TARGET_SHARP
58 default "custom-ramses.h" if TARGET_RAMSES 62 default "custom-ramses.h" if TARGET_RAMSES
59 default "custom-ipaq.h" if TARGET_SIMPAD 63 default "custom-ipaq.h" if TARGET_SIMPAD
60 64
61config OPTIMIZATIONS 65config OPTIMIZATIONS
62 string "Optimization flags" 66 string "Optimization flags"
63 depends OPTIMIZE 67 depends OPTIMIZE
64 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ 68 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
65 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP 69 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
66 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES 70 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES
67 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD 71 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD
68 72
69config EXPERIMENTAL 73config EXPERIMENTAL
70 bool "Prompt for development and/or incomplete items" 74 bool "Prompt for development and/or incomplete items"
71 default y 75 default y
72 76
73endmenu 77endmenu
74 78
75menu "Base" 79menu "Base"
76 choice 80 choice
77 prompt "Qpe Library Selection" 81 prompt "Qpe Library Selection"
78 default LIBQPE 82 default LIBQPE
79 source library/config.in 83 source library/config.in
80 source x11/config.in 84 source x11/config.in
81 endchoice 85 endchoice
82 source libopie/config.in 86 source libopie/config.in
83 source core/opie-login/config.in 87 source core/opie-login/config.in
84 source core/opiealarm/config.in 88 source core/opiealarm/config.in
85 source core/launcher/config.in 89 source core/launcher/config.in
86 source core/qws/config.in 90 source core/qws/config.in
87endmenu 91endmenu
88 92
89comment "" 93comment ""
90 94
91menu "Applets" 95menu "Applets"
92 source core/applets/config.in 96 source core/applets/config.in
93 source noncore/applets/config.in 97 source noncore/applets/config.in
94endmenu 98endmenu
95 99
96menu "Apps" 100menu "Apps"
97 source core/apps/config.in 101 source core/apps/config.in
98 source noncore/apps/config.in 102 source noncore/apps/config.in
99endmenu 103endmenu
100 104
101menu "Communications and Networking" 105menu "Communications and Networking"
102 source noncore/comm/config.in 106 source noncore/comm/config.in
103 source noncore/mail/config.in 107 source noncore/mail/config.in
104 source noncore/net/config.in 108 source noncore/net/config.in
105endmenu 109endmenu
106 110
107menu "Games" 111menu "Games"
108 source noncore/games/config.in 112 source noncore/games/config.in
109endmenu 113endmenu
110 114
111menu "Graphics and Multimedia" 115menu "Graphics and Multimedia"
112 source freetype/config.in 116 source freetype/config.in
113 source noncore/graphics/config.in 117 source noncore/graphics/config.in
114 source core/multimedia/config.in 118 source core/multimedia/config.in
115 source noncore/multimedia/config.in 119 source noncore/multimedia/config.in
116endmenu 120endmenu
117 121
118menu "Input methods" 122menu "Input methods"
119 source inputmethods/config.in 123 source inputmethods/config.in
120endmenu 124endmenu
121 125
122menu "Pim" 126menu "Pim"
123 source core/pim/config.in 127 source core/pim/config.in
124 menu "Today Plugins" 128 menu "Today Plugins"
125 source noncore/todayplugins/config.in 129 source noncore/todayplugins/config.in
126 source core/pim/today/plugins/config.in 130 source core/pim/today/plugins/config.in
127 endmenu 131 endmenu
128endmenu 132endmenu
129 133
130menu "Settings" 134menu "Settings"
131 source core/settings/config.in 135 source core/settings/config.in
132 source noncore/settings/config.in 136 source noncore/settings/config.in
133endmenu 137endmenu
134 138
135menu "Theming" 139menu "Theming"
diff --git a/include.pro b/include.pro
index 3ba8776..c70c4d5 100644
--- a/include.pro
+++ b/include.pro
@@ -1,80 +1,96 @@
1include ( $(OPIEDIR)/gen.pro )
2
1# make install 3# make install
2 4
3# base opie install path 5# base opie install path
4prefix = /opt/QtPalmtop 6prefix = /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 ) {
7 target.path = $$prefix/lib 22 target.path = $$prefix/lib
8} 23}
9!contains( TEMPLATE, lib ) { 24!contains( TEMPLATE, lib ) {
10 target.path = $$prefix/bin 25 target.path = $$prefix/bin
11} 26}
12INSTALLS += target 27INSTALLS += target
13 28
14# ipkg control files 29# ipkg control files
15control.path = /CONTROL 30control.path = /CONTROL
16control.files = control postinst prerm postrm preinst conffiles 31control.files = control postinst prerm postrm preinst conffiles
17INSTALLS += control 32INSTALLS += control
18 33
19# images, default is $$prefix/pics/$$TARGET 34# images, default is $$prefix/pics/$$TARGET
20pics.path = $$prefix/pics/$$TARGET 35pics.path = $$prefix/pics/$$TARGET
21pics.files = pics/* 36pics.files = pics/*
22INSTALLS += pics 37INSTALLS += pics
23 38
24# sounds, default path is $$prefix/sounds/$$TARGET 39# sounds, default path is $$prefix/sounds/$$TARGET
25sounds.path = $$prefix/sounds/$$TARGET 40sounds.path = $$prefix/sounds/$$TARGET
26sounds.files = sounds/* 41sounds.files = sounds/*
27INSTALLS += sounds 42INSTALLS += sounds
28 43
29# init scripts, default path is /etc/init.d 44# init scripts, default path is /etc/init.d
30init.path = /etc/init.d 45init.path = /etc/init.d
31init.files = init.d/* 46init.files = init.d/*
32INSTALLS += init 47INSTALLS += init
33 48
34# data, default path is /usr/share/$$TARGET 49# data, default path is /usr/share/$$TARGET
35data.path = /usr/share/$$TARGET 50data.path = /usr/share/$$TARGET
36data.files = share/* 51data.files = share/*
37INSTALLS += data 52INSTALLS += data
38 53
39etc.path = $$prefix/etc/ 54etc.path = $$prefix/etc/
40etc.files = etc/* 55etc.files = etc/*
41INSTALLS += etc 56INSTALLS += etc
42 57
43apps.path = $$prefix/apps/ 58apps.path = $$prefix/apps/
44apps.files = apps/* 59apps.files = apps/*
45INSTALLS += apps 60INSTALLS += apps
46 61
47# sounds, default path is $$prefix/sounds/$$TARGET 62# sounds, default path is $$prefix/sounds/$$TARGET
48sounds.path = $$prefix/sounds/$$TARGET 63sounds.path = $$prefix/sounds/$$TARGET
49sounds.files = sounds/* 64sounds.files = sounds/*
50INSTALLS += sounds 65INSTALLS += sounds
51 66
52# anything in nonstandard paths 67# anything in nonstandard paths
53root.path = / 68root.path = /
54root.files = root/* 69root.files = root/*
55INSTALLS += root 70INSTALLS += root
56 71
57# new targets 72# new targets
58opie-lupdate.target = opie-lupdate 73opie-lupdate.target = opie-lupdate
59opie-lupdate.commands = opie-lupdate -noobsolete $(PRO) 74opie-lupdate.commands = opie-lupdate -noobsolete $(PRO)
60 75
61opie-lrelease.target = opie-lrelease 76opie-lrelease.target = opie-lrelease
62opie-lrelease.commands = opie-lrelease $(PRO) 77opie-lrelease.commands = opie-lrelease $(PRO)
63 78
64lupdate.target = lupdate 79lupdate.target = lupdate
65lupdate.commands = lupdate -noobsolete $(PRO) 80lupdate.commands = lupdate -noobsolete $(PRO)
66 81
67lrelease.target = lrelease 82lrelease.target = lrelease
68lrelease.commands = lrelease $(PRO) 83lrelease.commands = lrelease $(PRO)
69 84
70ipk.target = ipk 85ipk.target = ipk
71ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) 86ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; )
72 87
73QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease 88QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease
74QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib 89QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib
75QMAKE_LIBDIR += $(OPIEDIR)/lib 90QMAKE_LIBDIR += $(OPIEDIR)/lib
76 91
77MOC_DIR=.moc/$(PLATFORM) 92MOC_DIR=.moc/$(PLATFORM)
78OBJECTS_DIR=.obj/$(PLATFORM) 93OBJECTS_DIR=.obj/$(PLATFORM)
79 94
80include ( $(OPIEDIR)/gen.pro ) 95#was here now at thetop
96#include ( $(OPIEDIR)/gen.pro )