summaryrefslogtreecommitdiff
path: root/Makefile
blob: f6f13a690ee26eb2c2721f5e99b5b34a61e6a431 (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
default:  dynamic

all: default docs

LIBS=library libopie

COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
	inputmethods/pickboard \
	inputmethods/handwriting \
	inputmethods/unikeyboard \
	inputmethods/jumpx \
	inputmethods/kjumpx \
	inputmethods/dvorak \
	launcher/batteryapplet \
	launcher/irdaapplet \
	launcher/volumeapplet \
	launcher/clockapplet \
	launcher/netmonapplet \
	launcher/screenshotapplet \
	launcher/clipboardapplet \
	launcher/cardmon \
	launcher/vmemo \
	netsetup/dialup \
	netsetup/lan \
	opiemail/ifaces/pop3 opiemail/ifaces/smtp \
	core/opieplayer/libmpeg3 \
	core/opieplayer/libmad \
	core/opieplayer/wavplugin \

APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \
    filebrowser helpbrowser minesweep core/opieplayer \
    settings/light-and-power \
    settings/language \
    settings/rotation \
    settings/appearance \
    settings/security \
    settings/sound \
    settings/systemtime \
    settings/mediummount \
    settings/tabmanager \
    solitaire spreadsheet tetrix textedit \
    todo wordgame embeddedkonsole launcher sysinfo \
    parashoot snake citytime showimg netsetup core/wlansetup tableviewer \
    core/oipkg mindbreaker go qasteroids qcop fifteen keypebble  today opiemail/converter opiemail \
    noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf \
    noncore/kpacman noncore/advancedfm noncore/kbill noncore/remote noncore/opie-sh

NONTMAKEAPPS := noncore/nethack

DOCS = docs/src/opie-policy
single: mpegplayer/libmpeg3

dynamic: $(APPS) $(NONTMAKEAPPS)

docs: $(DOCS)

$(COMPONENTS): $(LIBS)

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

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

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

clean:
	$(MAKE) -C single -f Makefile $@
	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) single showcomponents clean