-rw-r--r-- | Makefile | 59 |
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 @@ | |||
1 | default: dynamic | ||
2 | |||
3 | LIBS=library | ||
4 | |||
5 | COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \ | ||
6 | inputmethods/pickboard \ | ||
7 | inputmethods/handwriting \ | ||
8 | inputmethods/unikeyboard \ | ||
9 | taskbar/batteryapplet \ | ||
10 | taskbar/volumeapplet \ | ||
11 | taskbar/clockapplet \ | ||
12 | taskbar/netmonapplet \ | ||
13 | netsetup/dialup \ | ||
14 | netsetup/lan \ | ||
15 | mpegplayer/libmpeg3 \ | ||
16 | mpegplayer/libmad \ | ||
17 | mpegplayer/wavplugin \ | ||
18 | cardmon | ||
19 | |||
20 | APPS=$(LOCALAPPS) addressbook calculator clock datebook \ | ||
21 | filebrowser helpbrowser minesweep mpegplayer \ | ||
22 | settings/light-and-power \ | ||
23 | settings/language \ | ||
24 | settings/rotation \ | ||
25 | settings/appearance \ | ||
26 | settings/security \ | ||
27 | settings/sound \ | ||
28 | settings/systemtime \ | ||
29 | solitaire spreadsheet tetrix textedit \ | ||
30 | todo tux wordgame embeddedkonsole taskbar sysinfo \ | ||
31 | parashoot snake citytime showimg netsetup \ | ||
32 | qipkg mindbreaker go qasteroids qcop fifteen keypebble | ||
33 | |||
34 | single: mpegplayer/libmpeg3 | ||
35 | |||
36 | dynamic: $(APPS) | ||
37 | |||
38 | $(COMPONENTS): $(LIBS) | ||
39 | |||
40 | $(APPS): $(LIBS) $(COMPONENTS) | ||
41 | |||
42 | $(LIBS) $(COMPONENTS) $(APPS) single: | ||
43 | $(MAKE) -C $@ -f Makefile | ||
44 | |||
45 | showcomponents: | ||
46 | @echo $(LIBS) $(APPS) $(COMPONENTS) single | ||
47 | |||
48 | clean: | ||
49 | $(MAKE) -C single -f Makefile $@ | ||
50 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
51 | |||
52 | lupdate: | ||
53 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
54 | |||
55 | lrelease: | ||
56 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
57 | |||
58 | |||
59 | .PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) single showcomponents clean | ||