|
diff --git a/Makefile b/Makefile index e25cb98..6399702 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,83 +1,91 @@ |
1 | default: dynamic |
1 | indefault: dynamic |
2 | |
2 | |
3 | all: default docs |
3 | all: default docs |
4 | |
4 | |
5 | LIBS=library libopie |
5 | LIBS=library libopie |
6 | |
6 | |
7 | COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ |
7 | COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ |
8 | inputmethods/pickboard \ |
8 | inputmethods/pickboard \ |
9 | inputmethods/handwriting \ |
9 | inputmethods/handwriting \ |
10 | inputmethods/unikeyboard \ |
10 | inputmethods/unikeyboard \ |
11 | inputmethods/jumpx \ |
11 | inputmethods/jumpx \ |
12 | inputmethods/kjumpx \ |
12 | inputmethods/kjumpx \ |
13 | inputmethods/dvorak \ |
13 | inputmethods/dvorak \ |
14 | launcher/batteryapplet \ |
14 | core/applets/batteryapplet \ |
15 | launcher/batteryapplet-ipaq \ |
15 | core/applets/batteryapplet-ipaq \ |
16 | launcher/irdaapplet \ |
16 | core/applets/irdaapplet \ |
17 | launcher/volumeapplet \ |
17 | core/applets/volumeapplet \ |
18 | launcher/clockapplet \ |
18 | core/applets/clockapplet \ |
19 | launcher/netmonapplet \ |
19 | core/applets/netmonapplet \ |
20 | launcher/screenshotapplet \ |
20 | core/applets/screenshotapplet \ |
21 | launcher/clipboardapplet \ |
21 | core/applets/clipboardapplet \ |
22 | launcher/cardmon \ |
22 | core/applets/cardmon \ |
23 | launcher/obex \ |
23 | core/applets/obex \ |
24 | launcher/vmemo \ |
24 | core/applets/vmemo \ |
25 | netsetup/dialup \ |
25 | noncore/net/netsetup/dialup \ |
26 | netsetup/lan \ |
26 | noncore/net/netsetup/lan \ |
27 | opiemail/ifaces/pop3 opiemail/ifaces/smtp \ |
27 | core/multimedia/opieplayer/libmpeg3 \ |
28 | core/opieplayer/libmpeg3 \ |
28 | core/multimedia/opieplayer/libmad \ |
29 | core/opieplayer/libmad \ |
29 | core/multimedia/opieplayer/wavplugin \ |
30 | core/opieplayer/wavplugin \ |
| |
31 | noncore/mail/libmail \ |
30 | noncore/mail/libmail \ |
32 | noncore/mail/bend \ |
31 | noncore/mail/bend \ |
33 | |
32 | |
34 | APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \ |
33 | APPS=$(LOCALAPPS) core/pim/addressbook noncore/tools/calculator \ |
35 | filebrowser helpbrowser minesweep core/opieplayer \ |
34 | noncore/tools/clock core/pim/datebook core/apps/filebrowser \ |
36 | settings/light-and-power \ |
35 | core/apps/helpbrowser noncore/games/minesweep \ |
37 | settings/language \ |
36 | core/multimedia/opieplayer core/settings/light-and-power \ |
38 | settings/rotation \ |
37 | noncore/settings/language \ |
39 | settings/appearance \ |
38 | noncore/settings/rotation \ |
40 | settings/security \ |
39 | noncore/settings/appearance \ |
41 | settings/sound \ |
40 | core/settings/security \ |
42 | settings/systemtime \ |
41 | noncore/settings/sound \ |
43 | settings/mediummount \ |
42 | core/settings/systemtime \ |
44 | settings/tabmanager \ |
43 | noncore/settings/mediummount \ |
45 | solitaire spreadsheet tetrix textedit \ |
44 | noncore/settings/tabmanager \ |
46 | todo wordgame embeddedkonsole launcher sysinfo \ |
45 | noncore/games/solitaire noncore/apps/spreadsheet \ |
47 | parashoot snake citytime showimg netsetup core/wlansetup tableviewer \ |
46 | noncore/games/tetrix core/apps/textedit \ |
48 | core/oipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ |
47 | core/pim/todo noncore/games/wordgame core/apps/embeddedkonsole \ |
49 | noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf \ |
48 | core/launcher core/apps/sysinfo \ |
50 | noncore/kpacman noncore/advancedfm noncore/kbill noncore/remote noncore/opie-sh \ |
49 | noncore/games/parashoot noncore/games/snake core/settings/citytime \ |
| |
50 | noncore/multimedia/showimg noncore/net/netsetup core/settings/wlansetup \ |
| |
51 | noncore/apps/tableviewer core/apps/oipkg noncore/games/mindbreaker \ |
| |
52 | noncore/games/go noncore/games/qasteroids core/apps/qcop \ |
| |
53 | noncore/games/fifteen noncore/comm/keypebble \ |
| |
54 | core/pim/today noncore/games/tictac noncore/net/opieftp \ |
| |
55 | noncore/graphics/drawpad noncore/games/kcheckers noncore/settings/appskey \ |
| |
56 | noncore/graphics/qpdf noncore/games/kpacman noncore/apps/advancedfm \ |
| |
57 | noncore/games/kbill noncore/tools/remote \ |
| |
58 | noncore/tools/opie-sh \ |
51 | noncore/mail |
59 | noncore/mail |
52 | |
60 | |
53 | NONTMAKEAPPS := ipaq/opiealarm noncore/nethack |
61 | NONTMAKEAPPS := ipaq/opiealarm noncore/nethack |
54 | |
62 | |
55 | DOCS = docs/src/opie-policy |
63 | DOCS = docs/src/opie-policy |
56 | single: mpegplayer/libmpeg3 |
64 | single: mpegplayer/libmpeg3 |
57 | |
65 | |
58 | dynamic: $(APPS) $(NONTMAKEAPPS) |
66 | dynamic: $(APPS) $(NONTMAKEAPPS) |
59 | |
67 | |
60 | docs: $(DOCS) |
68 | docs: $(DOCS) |
61 | |
69 | |
62 | $(COMPONENTS): $(LIBS) |
70 | $(COMPONENTS): $(LIBS) |
63 | |
71 | |
64 | $(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) |
72 | $(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) |
65 | |
73 | |
66 | $(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS) single: |
74 | $(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS) single: |
67 | $(MAKE) -C $@ -f Makefile |
75 | $(MAKE) -C $@ -f Makefile |
68 | |
76 | |
69 | showcomponents: |
77 | showcomponents: |
70 | @echo $(LIBS) $(APPS) $(COMPONENTS) single |
78 | @echo $(LIBS) $(APPS) $(COMPONENTS) single |
71 | |
79 | |
72 | clean: |
80 | clean: |
73 | $(MAKE) -C single -f Makefile $@ |
81 | $(MAKE) -C single -f Makefile $@ |
74 | for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
82 | for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
75 | |
83 | |
76 | lupdate: |
84 | lupdate: |
77 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
85 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
78 | |
86 | |
79 | lrelease: |
87 | lrelease: |
80 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
88 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done |
81 | |
89 | |
82 | |
90 | |
83 | .PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean |
91 | .PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean |
|
|
diff --git a/configure b/configure index cfc4c39..7e9ab68 100755 --- a/ configure+++ b/ configure |
|
@@ -227,67 +227,67 @@ EOF |
227 | SED="$SED /SOURCES.*=/s/=/= video\\/mmxidct.S video\\/reconmmx.s\ /;" |
227 | SED="$SED /SOURCES.*=/s/=/= video\\/mmxidct.S video\\/reconmmx.s\ /;" |
228 | # For generic turn on using floating point |
228 | # For generic turn on using floating point |
229 | ;; *generic*) |
229 | ;; *generic*) |
230 | PLATFORM_CFLAGS="" |
230 | PLATFORM_CFLAGS="" |
231 | # For the ipaq use fixed point maths, don't compile the mmx or css code |
231 | # For the ipaq use fixed point maths, don't compile the mmx or css code |
232 | ;; *ipaq*|*sharp*) |
232 | ;; *ipaq*|*sharp*) |
233 | PLATFORM_CFLAGS="-DUSE_FIXED_POINT" |
233 | PLATFORM_CFLAGS="-DUSE_FIXED_POINT" |
234 | ;; *) |
234 | ;; *) |
235 | # For 'other platforms', turn off optimizations and use fixed point |
235 | # For 'other platforms', turn off optimizations and use fixed point |
236 | PLATFORM_CFLAGS="-O -DUSE_FIXED_POINT" |
236 | PLATFORM_CFLAGS="-O -DUSE_FIXED_POINT" |
237 | esac |
237 | esac |
238 | elif [ "$f" = "libmad" ] |
238 | elif [ "$f" = "libmad" ] |
239 | then |
239 | then |
240 | # Patch our Makefile.in file with the platform specifics for the libmad library |
240 | # Patch our Makefile.in file with the platform specifics for the libmad library |
241 | case $PLATFORM |
241 | case $PLATFORM |
242 | in |
242 | in |
243 | # For x86 use intel optimizations |
243 | # For x86 use intel optimizations |
244 | *x86*) |
244 | *x86*) |
245 | PLATFORM_CFLAGS="-DFPM_INTEL" |
245 | PLATFORM_CFLAGS="-DFPM_INTEL" |
246 | # For the ipaq use ARM asm optimizations |
246 | # For the ipaq use ARM asm optimizations |
247 | ;; *ipaq*|*sharp*) |
247 | ;; *ipaq*|*sharp*) |
248 | PLATFORM_CFLAGS="-DFPM_ARM" |
248 | PLATFORM_CFLAGS="-DFPM_ARM" |
249 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
249 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
250 | # For generic platforms use the C 64-bit implementation |
250 | # For generic platforms use the C 64-bit implementation |
251 | ;; *generic*) |
251 | ;; *generic*) |
252 | PLATFORM_CFLAGS="-DFPM_64BIT" |
252 | PLATFORM_CFLAGS="-DFPM_64BIT" |
253 | # For 'other platforms' use the ARM code |
253 | # For 'other platforms' use the ARM code |
254 | ;; *) |
254 | ;; *) |
255 | PLATFORM_CFLAGS="-DFPM_ARM" |
255 | PLATFORM_CFLAGS="-DFPM_ARM" |
256 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
256 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
257 | esac |
257 | esac |
258 | fi |
258 | fi |
259 | if [ -n "$PLATFORM_CFLAGS" ] |
259 | if [ -n "$PLATFORM_CFLAGS" ] |
260 | then |
260 | then |
261 | # Append the addition c-flags we have defined |
261 | # Append the addition c-flags we have defined |
262 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
262 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
263 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
263 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
264 | fi |
264 | fi |
265 | cat $TARGET >> $N |
265 | cat $TARGET >> $N |
266 | if [ -n "$SED" ] |
266 | if [ -n "$SED" ] |
267 | then |
267 | then |
268 | sed -e "$SED" $M >> $N |
268 | sed -e "$SED" $M >> $N |
269 | else |
269 | else |
270 | cat $M >> $N |
270 | cat $M >> $N |
271 | fi |
271 | fi |
272 | |
272 | |
273 | cat >> $N <<EOF |
273 | cat >> $N <<EOF |
274 | |
274 | |
275 | lupdate: |
275 | lupdate: |
276 | lupdate $f.pro |
276 | lupdate $f.pro |
277 | |
277 | |
278 | lrelease: |
278 | lrelease: |
279 | lrelease $f.pro |
279 | lrelease $f.pro |
280 | |
280 | |
281 | EOF |
281 | EOF |
282 | if [ -f "$O" ] |
282 | if [ -f "$O" ] |
283 | then |
283 | then |
284 | cat >> $N $O |
284 | cat >> $N $O |
285 | fi |
285 | fi |
286 | |
286 | |
287 | done |
287 | done |
288 | |
288 | |
289 | MAKE=make |
289 | MAKE=make |
290 | echo |
290 | echo |
291 | echo "QPE is now configured for building. Just run $MAKE (or $MAKE single)." |
291 | echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)." |
292 | echo "To reconfigure, run $MAKE clean and configure." |
292 | echo "To reconfigure, run $MAKE clean and configure." |
293 | echo |
293 | echo |
|