summaryrefslogtreecommitdiff
path: root/Makefile
blob: b018cb966142c1eeeabb874ddc93379859445fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
indefault:  dynamic

all: default docs

LIBS=library libopie


INPUTCOMPONENTS= inputmethods/keyboard inputmethods/pickboard \
	inputmethods/handwriting  inputmethods/unikeyboard \
	inputmethods/jumpx inputmethods/kjumpx \
	inputmethods/dvorak  inputmethods/multikey \

APPLETS= core/applets/batteryapplet core/applets/batteryapplet-ipaq \
	core/applets/irdaapplet core/applets/volumeapplet \
	core/applets/clockapplet core/applets/netmonapplet \
	core/applets/homeapplet core/applets/suspendapplet \
	core/applets/logoutapplet \
	core/applets/screenshotapplet core/applets/clipboardapplet \
	core/applets/cardmon core/applets/obex \
	core/applets/vmemo \
	noncore/net/networksetup/interfaces \
	noncore/net/networksetup/wlan \
	noncore/applets/wirelessapplet noncore/applets/notesapplet

MAIL= noncore/mail/libmail noncore/mail/bend 

PLAYER = core/multimedia/opieplayer/libmpeg3 \
	core/multimedia/opieplayer/libmad \
	core/multimedia/opieplayer/wavplugin \
	core/multimedia/opieplayer/modplug

COMPONENTS=$(LOCALCOMPONENTS) $(INPUTCOMPONENTS) $(APPLETS) $(MAIL) $(PLAYER)	


PIMAPPS = core/pim/addressbook core/pim/datebook \
	 core/pim/today core/pim/todo 

TODAYPLUGINS = core/pim/today/plugins/datebook \
		core/pim/today/plugins/todolist \
		core/pim/today/plugins/mail \
		noncore/todayplugins/stockticker/stockticker noncore/todayplugins/stockticker/stocktickerlib \
		noncore/todayplugins/fortune


COREAPPS = core/apps/filebrowser core/apps/helpbrowser \
	core/apps/textedit core/apps/embeddedkonsole \
	core/launcher  \
	core/opie-login \
	core/apps/oipkg core/apps/qcop

COREMULTIMEDIA = core/multimedia/opieplayer

CORESETTINGS = core/settings/light-and-power core/settings/security \
	noncore/settings/netsystemtime core/settings/citytime \
	core/settings/launcher

NONCORESETTINGS  =noncore/settings/language noncore/settings/rotation \
	noncore/settings/appearance2 noncore/settings/sound \
	noncore/settings/mediummount \
	noncore/settings/tabmanager noncore/settings/appskey \
	noncore/settings/sshkeys noncore/settings/usermanager \
	noncore/settings/backup

NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \
	 noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm \
	 noncore/tools/formatter

NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \
	noncore/styles/flat noncore/styles/fresh

NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \
	noncore/decorations/polished

GAMES = noncore/games/minesweep noncore/games/solitaire \
	noncore/games/tetrix noncore/games/wordgame \
	noncore/games/parashoot noncore/games/snake \
	noncore/games/mindbreaker \
	noncore/games/go noncore/games/qasteroids \
	noncore/games/fifteen noncore/games/tictac \
	noncore/games/kcheckers noncore/games/kpacman \
	noncore/games/kbill noncore/games/buzzword \
	noncore/games/bounce noncore/games/sfcave

NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \
	noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \
 	noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \
 	noncore/apps/opie-console noncore/apps/opie-write
	
NONNET = noncore/net/networksetup \
	noncore/net/ftplib noncore/net/opieftp \
	noncore/mail

NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \
	noncore/graphics/qpdf noncore/apps/confedit


NONCOMM = noncore/comm/keypebble

PLUGINS = freetype

APPS=$(LOCALAPPS) $(PIMAPPS)  $(COREAPPS)     \
	$(COREMULTIMEDIA) $(CORESETTINGS) \
	$(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \
	$(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \
	$(NONCOMM) $(GAMES) $(TODAYPLUGINS) $(PLUGINS)
    
    

NONTMAKEAPPS := ipaq/opiealarm 

DOCS = docs/src/opie-policy

dynamic: $(APPS) $(NONTMAKEAPPS)

docs: $(DOCS)

$(COMPONENTS): $(LIBS)

$(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS)

$(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS):
	$(MAKE) -C $@ -f Makefile

showcomponents:
	@echo $(LIBS) $(APPS) $(COMPONENTS)

clean:
	for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); 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 $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) showcomponents clean