summaryrefslogtreecommitdiff
authorzecke <zecke>2002-06-21 11:18:31 (UTC)
committer zecke <zecke>2002-06-21 11:18:31 (UTC)
commit3be39e6c8af27a43d4b09bf08b4c739c342b5de3 (patch) (unidiff)
treed543a53a003ac69ac38f365ffd2a67499e3fa3d5
parentda8fdc855382e3b6e945aa1aeb429e5737e0792d (diff)
downloadopie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.zip
opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.gz
opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.bz2
fix the makefile
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile78
-rwxr-xr-xconfigure2
2 files changed, 44 insertions, 36 deletions
diff --git a/Makefile b/Makefile
index e25cb98..6399702 100644
--- a/Makefile
+++ b/Makefile
@@ -1,82 +1,90 @@
1default: dynamic 1indefault: dynamic
2 2
3all: default docs 3all: default docs
4 4
5LIBS=library libopie 5LIBS=library libopie
6 6
7COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ 7COMPONENTS=$(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
34APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \ 33APPS=$(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
53NONTMAKEAPPS := ipaq/opiealarm noncore/nethack 61NONTMAKEAPPS := ipaq/opiealarm noncore/nethack
54 62
55DOCS = docs/src/opie-policy 63DOCS = docs/src/opie-policy
56single: mpegplayer/libmpeg3 64single: mpegplayer/libmpeg3
57 65
58dynamic: $(APPS) $(NONTMAKEAPPS) 66dynamic: $(APPS) $(NONTMAKEAPPS)
59 67
60docs: $(DOCS) 68docs: $(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
69showcomponents: 77showcomponents:
70 @echo $(LIBS) $(APPS) $(COMPONENTS) single 78 @echo $(LIBS) $(APPS) $(COMPONENTS) single
71 79
72clean: 80clean:
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
76lupdate: 84lupdate:
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
79lrelease: 87lrelease:
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
diff --git a/configure b/configure
index cfc4c39..7e9ab68 100755
--- a/configure
+++ b/configure
@@ -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
275lupdate: 275lupdate:
276 lupdate $f.pro 276 lupdate $f.pro
277 277
278lrelease: 278lrelease:
279 lrelease $f.pro 279 lrelease $f.pro
280 280
281EOF 281EOF
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
287done 287done
288 288
289MAKE=make 289MAKE=make
290echo 290echo
291echo "QPE is now configured for building. Just run $MAKE (or $MAKE single)." 291echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)."
292echo "To reconfigure, run $MAKE clean and configure." 292echo "To reconfigure, run $MAKE clean and configure."
293echo 293echo