summaryrefslogtreecommitdiff
path: root/Makefile
authorkergoth <kergoth>2002-01-25 22:14:26 (UTC)
committer kergoth <kergoth>2002-01-25 22:14:26 (UTC)
commit15318cad33835e4e2dc620d033e43cd930676cdd (patch) (side-by-side diff)
treec2fa0399a2c47fda8e2cd0092c73a809d17f68eb /Makefile
downloadopie-15318cad33835e4e2dc620d033e43cd930676cdd.zip
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2
Initial revision
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bad3cf5
--- a/dev/null
+++ b/Makefile
@@ -0,0 +1,59 @@
+default: dynamic
+
+LIBS=library
+
+COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
+ inputmethods/pickboard \
+ inputmethods/handwriting \
+ inputmethods/unikeyboard \
+ taskbar/batteryapplet \
+ taskbar/volumeapplet \
+ taskbar/clockapplet \
+ taskbar/netmonapplet \
+ netsetup/dialup \
+ netsetup/lan \
+ mpegplayer/libmpeg3 \
+ mpegplayer/libmad \
+ mpegplayer/wavplugin \
+ cardmon
+
+APPS=$(LOCALAPPS) addressbook calculator clock datebook \
+ filebrowser helpbrowser minesweep mpegplayer \
+ settings/light-and-power \
+ settings/language \
+ settings/rotation \
+ settings/appearance \
+ settings/security \
+ settings/sound \
+ settings/systemtime \
+ solitaire spreadsheet tetrix textedit \
+ todo tux wordgame embeddedkonsole taskbar sysinfo \
+ parashoot snake citytime showimg netsetup \
+ qipkg mindbreaker go qasteroids qcop fifteen keypebble
+
+single: mpegplayer/libmpeg3
+
+dynamic: $(APPS)
+
+$(COMPONENTS): $(LIBS)
+
+$(APPS): $(LIBS) $(COMPONENTS)
+
+$(LIBS) $(COMPONENTS) $(APPS) single:
+ $(MAKE) -C $@ -f Makefile
+
+showcomponents:
+ @echo $(LIBS) $(APPS) $(COMPONENTS) single
+
+clean:
+ $(MAKE) -C single -f Makefile $@
+ for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
+
+lupdate:
+ for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
+
+lrelease:
+ for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
+
+
+.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) single showcomponents clean