author | zecke <zecke> | 2002-06-21 11:18:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-21 11:18:31 (UTC) |
commit | 3be39e6c8af27a43d4b09bf08b4c739c342b5de3 (patch) (unidiff) | |
tree | d543a53a003ac69ac38f365ffd2a67499e3fa3d5 | |
parent | da8fdc855382e3b6e945aa1aeb429e5737e0792d (diff) | |
download | opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.zip opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.gz opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.bz2 |
fix the makefile
-rw-r--r-- | Makefile | 78 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 44 insertions, 36 deletions
@@ -1,82 +1,90 @@ | |||
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 | ||
@@ -259,35 +259,35 @@ EOF | |||
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 |