-rw-r--r-- | Makefile | 181 | ||||
-rw-r--r-- | Makefile.test | 113 | ||||
-rw-r--r-- | Makefile.x11 | 132 | ||||
-rw-r--r-- | README | 27 | ||||
-rw-r--r-- | README.NEWBUILD | 26 |
5 files changed, 105 insertions, 374 deletions
@@ -1,136 +1,113 @@ | |||
1 | hehindefault: dynamic | 1 | #!/usr/bin/make -f |
2 | export OPIEDIR:=$(shell pwd) | ||
3 | export TOPDIR:=$(OPIEDIR) | ||
4 | export QMAKE:=$(OPIEDIR)/qmake/qmake | ||
2 | 5 | ||
3 | all: default docs | 6 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
4 | 7 | ||
5 | LIBS=library libopie | 8 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ |
9 | defconfig allyesconfig allnoconfig allmodconfig \ | ||
10 | clean-configs | ||
6 | 11 | ||
12 | configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/todayplugins/config.in | ||
7 | 13 | ||
8 | INPUTCOMPONENTS= inputmethods/keyboard inputmethods/pickboard \ | 14 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) |
9 | inputmethods/handwriting inputmethods/unikeyboard \ | 15 | # in order to have a full set of config.in files. |
10 | inputmethods/jumpx inputmethods/kjumpx \ | 16 | # .depends depends on $(TOPDIR)/.config |
11 | inputmethods/dvorak inputmethods/multikey \ | 17 | # everything else depends on .depends, to ensure the dependencies are |
18 | # intact. | ||
19 | # | ||
20 | # NOTE: The order in which things happen in this makefile is | ||
21 | # -critical-. Do not rearrange this! | ||
12 | 22 | ||
13 | APPLETS= core/applets/batteryapplet \ | 23 | all : $(TOPDIR)/.config |
14 | core/applets/irdaapplet core/applets/volumeapplet \ | ||
15 | core/applets/clockapplet \ | ||
16 | core/applets/homeapplet core/applets/suspendapplet \ | ||
17 | core/applets/logoutapplet \ | ||
18 | core/applets/screenshotapplet core/applets/clipboardapplet \ | ||
19 | core/applets/cardmon core/applets/obex \ | ||
20 | core/applets/vmemo \ | ||
21 | noncore/applets/wirelessapplet noncore/applets/notesapplet | ||
22 | 24 | ||
23 | MAIL= noncore/mail/libmail noncore/mail/bend | 25 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs |
24 | 26 | ||
25 | PLAYER = core/multimedia/opieplayer/libmpeg3 \ | 27 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs |
26 | core/multimedia/opieplayer/libmad \ | ||
27 | core/multimedia/opieplayer/wavplugin \ | ||
28 | core/multimedia/opieplayer/modplug | ||
29 | 28 | ||
30 | COMPONENTS=$(LOCALCOMPONENTS) $(INPUTCOMPONENTS) $(APPLETS) $(MAIL) $(PLAYER) | 29 | clean-configs : |
30 | @echo "Wiping generated config.in files..." | ||
31 | @-rm -f $(configs) | ||
31 | 32 | ||
33 | -include $(TOPDIR)/.depends.cfgs | ||
32 | 34 | ||
33 | PIMAPPS = core/pim/addressbook core/pim/datebook \ | 35 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) |
34 | core/pim/today core/pim/todo | ||
35 | 36 | ||
36 | TODAYPLUGINS = core/pim/today/plugins/datebook \ | 37 | $(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) |
37 | core/pim/today/plugins/addressbook \ | 38 | $(call descend,scripts/kconfig,conf) |
38 | core/pim/today/plugins/todolist \ | 39 | @if [ ! -e $@ ]; then \ |
39 | core/pim/today/plugins/mail \ | 40 | cp $(TOPDIR)/def-configs/opie $@; \ |
40 | noncore/todayplugins/stockticker/stockticker noncore/todayplugins/stockticker/stocktickerlib \ | 41 | fi; |
41 | noncore/todayplugins/fortune \ | 42 | @$(MAKE) -C scripts/kconfig conf; |
42 | noncore/todayplugins/weather | 43 | ./scripts/kconfig/conf -s ./config.in |
43 | 44 | ||
45 | # config rules must have the $(configs) var defined | ||
46 | # at the time that they run. we must ensure that .depends.cfgs | ||
47 | # is built and included by the time we reach this point. | ||
44 | 48 | ||
45 | COREAPPS = core/apps/filebrowser core/apps/helpbrowser \ | 49 | xconfig : |
46 | core/apps/textedit core/apps/embeddedkonsole \ | 50 | $(call descend,scripts/kconfig,qconf) |
47 | core/launcher \ | 51 | LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ |
48 | core/opie-login \ | 52 | ./scripts/kconfig/qconf ./config.in |
49 | core/apps/oipkg core/apps/qcop | ||
50 | 53 | ||
51 | COREMULTIMEDIA = core/multimedia/opieplayer | 54 | menuconfig : scripts/lxdialog/lxdialog |
55 | $(call descend,scripts/kconfig,mconf) | ||
56 | ./scripts/kconfig/mconf ./config.in | ||
52 | 57 | ||
53 | CORESETTINGS = core/settings/light-and-power core/settings/security \ | 58 | config : |
54 | noncore/settings/netsystemtime core/settings/citytime \ | 59 | $(call descend,scripts/kconfig,conf) |
55 | core/settings/launcher core/settings/button | 60 | ./scripts/kconfig/conf ./config.in |
56 | 61 | ||
57 | NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \ | 62 | oldconfig : |
58 | noncore/settings/appearance2 noncore/settings/sound \ | 63 | $(call descend,scripts/kconfig,conf) |
59 | noncore/settings/mediummount \ | 64 | ./scripts/kconfig/conf -o ./config.in |
60 | noncore/settings/tabmanager \ | ||
61 | noncore/settings/sshkeys noncore/settings/usermanager \ | ||
62 | noncore/settings/backup | ||
63 | 65 | ||
64 | NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \ | 66 | randconfig : |
65 | noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm \ | 67 | $(call descend,scripts/kconfig,conf) |
66 | noncore/tools/formatter | 68 | ./scripts/kconfig/conf -r ./config.in |
67 | 69 | ||
68 | NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \ | 70 | allyesconfig : |
69 | noncore/styles/flat noncore/styles/fresh | 71 | $(call descend,scripts/kconfig,conf) |
72 | ./scripts/kconfig/conf -y ./config.in | ||
70 | 73 | ||
71 | NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \ | 74 | allnoconfig : |
72 | noncore/decorations/polished | 75 | $(call descend,scripts/kconfig,conf) |
76 | ./scripts/kconfig/conf -n ./config.in | ||
73 | 77 | ||
74 | GAMES = noncore/games/minesweep noncore/games/solitaire \ | 78 | defconfig : |
75 | noncore/games/tetrix noncore/games/wordgame \ | 79 | $(call descend,scripts/kconfig,conf) |
76 | noncore/games/parashoot noncore/games/snake \ | 80 | ./scripts/kconfig/conf -d ./config.in |
77 | noncore/games/mindbreaker \ | ||
78 | noncore/games/go noncore/games/qasteroids \ | ||
79 | noncore/games/fifteen noncore/games/tictac \ | ||
80 | noncore/games/kcheckers noncore/games/kpacman \ | ||
81 | noncore/games/kbill noncore/games/buzzword \ | ||
82 | noncore/games/bounce noncore/games/sfcave | ||
83 | 81 | ||
84 | NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \ | ||
85 | noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \ | ||
86 | noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \ | ||
87 | noncore/apps/opie-console noncore/apps/opie-write | ||
88 | 82 | ||
89 | NONNET = noncore/net/ftplib noncore/net/opieftp \ | 83 | export |
90 | noncore/mail | ||
91 | 84 | ||
92 | NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \ | 85 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) |
93 | noncore/graphics/qpdf noncore/apps/confedit | ||
94 | 86 | ||
87 | export include-config := 1 | ||
95 | 88 | ||
96 | NONCOMM = noncore/comm/keypebble | 89 | -include $(TOPDIR)/.config |
90 | -include $(TOPDIR)/.depends | ||
97 | 91 | ||
98 | PLUGINS = freetype | 92 | endif |
99 | 93 | ||
100 | APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \ | 94 | -include $(TOPDIR)/..config.cmd |
101 | $(COREMULTIMEDIA) $(CORESETTINGS) \ | ||
102 | $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \ | ||
103 | $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \ | ||
104 | $(NONCOMM) $(GAMES) $(TODAYPLUGINS) $(PLUGINS) | ||
105 | 95 | ||
96 | SUBDIRS = $(subdir-y) | ||
106 | 97 | ||
98 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | ||
107 | 99 | ||
108 | NONTMAKEAPPS := core/opiealarm | 100 | ifdef CONFIG_OPTIMIZATIONS |
101 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | ||
102 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | ||
103 | endif | ||
109 | 104 | ||
110 | DOCS = docs/src/opie-policy | 105 | all clean lupdate lrelease install ipk: $(SUBDIRS) |
111 | 106 | ||
112 | dynamic: $(APPS) $(NONTMAKEAPPS) | 107 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers) \ |
108 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11) \ | ||
109 | $(TOPDIR)/library/custom.h | ||
113 | 110 | ||
114 | docs: $(DOCS) | 111 | clean : $(TOPDIR)/.config |
115 | 112 | ||
116 | $(COMPONENTS): $(LIBS) | 113 | include $(TOPDIR)/Rules.make |
117 | |||
118 | $(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) | ||
119 | |||
120 | $(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS): | ||
121 | $(MAKE) -C $@ -f Makefile | ||
122 | |||
123 | showcomponents: | ||
124 | @echo $(LIBS) $(APPS) $(COMPONENTS) | ||
125 | |||
126 | clean: | ||
127 | for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
128 | |||
129 | lupdate: | ||
130 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
131 | |||
132 | lrelease: | ||
133 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
134 | |||
135 | |||
136 | .PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) showcomponents clean | ||
diff --git a/Makefile.test b/Makefile.test deleted file mode 100644 index 3fe7867..0000000 --- a/Makefile.test +++ b/dev/null | |||
@@ -1,113 +0,0 @@ | |||
1 | #!/usr/bin/make -f | ||
2 | export OPIEDIR:=$(shell pwd) | ||
3 | export TOPDIR:=$(OPIEDIR) | ||
4 | export QMAKE:=$(OPIEDIR)/qmake/qmake | ||
5 | |||
6 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | ||
7 | |||
8 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ | ||
9 | defconfig allyesconfig allnoconfig allmodconfig \ | ||
10 | clean-configs clean | ||
11 | |||
12 | configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/todayplugins/config.in | ||
13 | |||
14 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) | ||
15 | # in order to have a full set of config.in files. | ||
16 | # .depends depends on $(TOPDIR)/.config | ||
17 | # everything else depends on .depends, to ensure the dependencies are | ||
18 | # intact. | ||
19 | # | ||
20 | # NOTE: The order in which things happen in this makefile is | ||
21 | # -critical-. Do not rearrange this! | ||
22 | |||
23 | all : $(TOPDIR)/.config | ||
24 | |||
25 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs | ||
26 | |||
27 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs | ||
28 | |||
29 | clean-configs : | ||
30 | @echo "Wiping generated config.in files..." | ||
31 | @-rm -f $(configs) | ||
32 | |||
33 | -include $(TOPDIR)/.depends.cfgs | ||
34 | |||
35 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) | ||
36 | |||
37 | $(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) | ||
38 | $(call descend,scripts/kconfig,conf) | ||
39 | @if [ ! -e $@ ]; then \ | ||
40 | cp $(TOPDIR)/def-configs/opie $@; \ | ||
41 | fi; | ||
42 | @$(MAKE) -C scripts/kconfig conf; | ||
43 | ./scripts/kconfig/conf -s ./config.in | ||
44 | |||
45 | # config rules must have the $(configs) var defined | ||
46 | # at the time that they run. we must ensure that .depends.cfgs | ||
47 | # is built and included by the time we reach this point. | ||
48 | |||
49 | xconfig : | ||
50 | $(call descend,scripts/kconfig,qconf) | ||
51 | LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ | ||
52 | ./scripts/kconfig/qconf ./config.in | ||
53 | |||
54 | menuconfig : scripts/lxdialog/lxdialog | ||
55 | $(call descend,scripts/kconfig,mconf) | ||
56 | ./scripts/kconfig/mconf ./config.in | ||
57 | |||
58 | config : | ||
59 | $(call descend,scripts/kconfig,conf) | ||
60 | ./scripts/kconfig/conf ./config.in | ||
61 | |||
62 | oldconfig : | ||
63 | $(call descend,scripts/kconfig,conf) | ||
64 | ./scripts/kconfig/conf -o ./config.in | ||
65 | |||
66 | randconfig : | ||
67 | $(call descend,scripts/kconfig,conf) | ||
68 | ./scripts/kconfig/conf -r ./config.in | ||
69 | |||
70 | allyesconfig : | ||
71 | $(call descend,scripts/kconfig,conf) | ||
72 | ./scripts/kconfig/conf -y ./config.in | ||
73 | |||
74 | allnoconfig : | ||
75 | $(call descend,scripts/kconfig,conf) | ||
76 | ./scripts/kconfig/conf -n ./config.in | ||
77 | |||
78 | defconfig : | ||
79 | $(call descend,scripts/kconfig,conf) | ||
80 | ./scripts/kconfig/conf -d ./config.in | ||
81 | |||
82 | |||
83 | export | ||
84 | |||
85 | ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) | ||
86 | |||
87 | export include-config := 1 | ||
88 | |||
89 | -include $(TOPDIR)/.config | ||
90 | -include $(TOPDIR)/.depends | ||
91 | |||
92 | endif | ||
93 | |||
94 | -include $(TOPDIR)/..config.cmd | ||
95 | |||
96 | SUBDIRS = $(subdir-y) | ||
97 | |||
98 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | ||
99 | |||
100 | ifdef CONFIG_OPTIMIZATIONS | ||
101 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | ||
102 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | ||
103 | endif | ||
104 | |||
105 | all clean lupdate lrelease install ipk: $(SUBDIRS) | ||
106 | |||
107 | $(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers) \ | ||
108 | $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11) \ | ||
109 | $(TOPDIR)/library/custom.h | ||
110 | |||
111 | clean : $(TOPDIR)/.config | ||
112 | |||
113 | include $(TOPDIR)/Rules.make | ||
diff --git a/Makefile.x11 b/Makefile.x11 deleted file mode 100644 index 9aa96da..0000000 --- a/Makefile.x11 +++ b/dev/null | |||
@@ -1,132 +0,0 @@ | |||
1 | indefault: dynamic | ||
2 | |||
3 | all: default docs | ||
4 | |||
5 | LIBS=x11/libqpe-x11 libopie | ||
6 | |||
7 | |||
8 | INPUTCOMPONENTS= inputmethods/keyboard inputmethods/pickboard \ | ||
9 | inputmethods/handwriting inputmethods/unikeyboard \ | ||
10 | inputmethods/jumpx inputmethods/kjumpx \ | ||
11 | inputmethods/dvorak inputmethods/multikey \ | ||
12 | |||
13 | APPLETS= core/applets/batteryapplet core/applets/batteryapplet-ipaq \ | ||
14 | core/applets/irdaapplet core/applets/volumeapplet \ | ||
15 | core/applets/clockapplet core/applets/netmonapplet \ | ||
16 | core/applets/homeapplet core/applets/suspendapplet \ | ||
17 | core/applets/logoutapplet \ | ||
18 | core/applets/screenshotapplet core/applets/clipboardapplet \ | ||
19 | core/applets/cardmon core/applets/obex \ | ||
20 | core/applets/vmemo noncore/net/netsetup/dialup \ | ||
21 | noncore/net/netsetup/lan \ | ||
22 | noncore/applets/wirelessapplet noncore/applets/notesapplet | ||
23 | |||
24 | MAIL= noncore/mail/libmail noncore/mail/bend | ||
25 | |||
26 | PLAYER = core/multimedia/opieplayer/libmpeg3 \ | ||
27 | core/multimedia/opieplayer/libmad \ | ||
28 | core/multimedia/opieplayer/wavplugin \ | ||
29 | core/multimedia/opieplayer/modplug | ||
30 | |||
31 | COMPONENTS=$(LOCALCOMPONENTS) $(INPUTCOMPONENTS) $(APPLETS) $(MAIL) $(PLAYER) | ||
32 | |||
33 | |||
34 | PIMAPPS = core/pim/addressbook core/pim/datebook \ | ||
35 | core/pim/today core/pim/todo | ||
36 | |||
37 | TODAYPLUGINS = core/pim/today/plugins/datebook \ | ||
38 | core/pim/today/plugins/todolist \ | ||
39 | core/pim/today/plugins/mail \ | ||
40 | |||
41 | |||
42 | COREAPPS = core/apps/filebrowser core/apps/helpbrowser \ | ||
43 | core/apps/textedit core/apps/embeddedkonsole \ | ||
44 | core/launcher \ | ||
45 | core/opie-login \ | ||
46 | core/apps/oipkg core/apps/qcop | ||
47 | |||
48 | COREMULTIMEDIA = core/multimedia/opieplayer | ||
49 | |||
50 | CORESETTINGS = core/settings/light-and-power core/settings/security \ | ||
51 | noncore/settings/netsystemtime core/settings/citytime \ | ||
52 | core/settings/launcher | ||
53 | |||
54 | NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \ | ||
55 | noncore/settings/appearance2 noncore/settings/sound \ | ||
56 | noncore/settings/mediummount \ | ||
57 | noncore/settings/tabmanager noncore/settings/appskey \ | ||
58 | noncore/settings/wlansetup \ | ||
59 | noncore/settings/sshkeys noncore/settings/usermanager \ | ||
60 | noncore/apps/backup | ||
61 | |||
62 | NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \ | ||
63 | noncore/tools/remote noncore/tools/opie-sh noncore/apps/advancedfm | ||
64 | |||
65 | NONCORESTYLES = noncore/styles/liquid noncore/styles/theme noncore/styles/metal \ | ||
66 | noncore/styles/flat noncore/styles/fresh | ||
67 | |||
68 | NONCOREDECOS = noncore/decorations/liquid noncore/decorations/flat \ | ||
69 | noncore/decorations/polished | ||
70 | |||
71 | GAMES = noncore/games/minesweep noncore/games/solitaire \ | ||
72 | noncore/games/tetrix noncore/games/wordgame \ | ||
73 | noncore/games/parashoot noncore/games/snake \ | ||
74 | noncore/games/mindbreaker \ | ||
75 | noncore/games/go noncore/games/qasteroids \ | ||
76 | noncore/games/fifteen noncore/games/tictac \ | ||
77 | noncore/games/kcheckers noncore/games/kpacman \ | ||
78 | noncore/games/kbill noncore/games/buzzword \ | ||
79 | noncore/games/bounce | ||
80 | |||
81 | NONAPPS = noncore/apps/opie-sheet noncore/apps/tableviewer \ | ||
82 | noncore/apps/opie-reader noncore/apps/checkbook noncore/apps/oxygen \ | ||
83 | noncore/apps/sysinfo noncore/net/opieirc noncore/apps/aqpkg \ | ||
84 | |||
85 | NONNET = noncore/net/netsetup noncore/net/opieftp \ | ||
86 | noncore/mail | ||
87 | |||
88 | NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \ | ||
89 | noncore/graphics/qpdf noncore/apps/confedit | ||
90 | |||
91 | |||
92 | NONCOMM = noncore/comm/keypebble | ||
93 | |||
94 | APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \ | ||
95 | $(CORESETTINGS) \ | ||
96 | $(NONCORESETTINGS) $(NONCORETOOLS) $(NONCORESTYLES) \ | ||
97 | $(NONCOREDECOS) $(NONAPPS) $(NONNET) $(NONMULT) \ | ||
98 | $(NONCOMM) $(GAMES) $(TODAYPLUGINS) | ||
99 | |||
100 | |||
101 | |||
102 | NONTMAKEAPPS := root/opiealarm | ||
103 | |||
104 | DOCS = docs/src/opie-policy | ||
105 | single: mpegplayer/libmpeg3 | ||
106 | |||
107 | dynamic: $(APPS) $(NONTMAKEAPPS) | ||
108 | |||
109 | docs: $(DOCS) | ||
110 | |||
111 | $(COMPONENTS): $(LIBS) | ||
112 | |||
113 | $(NONTMAKEAPPS) $(APPS): $(LIBS) $(COMPONENTS) | ||
114 | |||
115 | $(LIBS) $(COMPONENTS) $(NONTMAKEAPPS) $(APPS) $(DOCS) single: | ||
116 | $(MAKE) -C $@ -f Makefile | ||
117 | |||
118 | showcomponents: | ||
119 | @echo $(LIBS) $(APPS) $(COMPONENTS) single | ||
120 | |||
121 | clean: | ||
122 | $(MAKE) -C single -f Makefile $@ | ||
123 | for dir in $(NONTMAKEAPPS) $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
124 | |||
125 | lupdate: | ||
126 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
127 | |||
128 | lrelease: | ||
129 | for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done | ||
130 | |||
131 | |||
132 | .PHONY: default dynamic $(NONTMAKEAPPS) $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean | ||
@@ -1 +1,26 @@ | |||
1 | See http://opie.handhelds.org or docs/ or website/index.html for docs. | 1 | How to use the new build system |
2 | =============================== | ||
3 | |||
4 | WARNING: This buildsystem is currently under construction. Therefore | ||
5 | it may create more problems than solutions .. ;) | ||
6 | |||
7 | But if you have problems with the old one, you may use the new which | ||
8 | is much more advanced: | ||
9 | |||
10 | First of all set you shell-variables to the correct settings | ||
11 | ( as you need for the old build system ) | ||
12 | |||
13 | Then do the following: | ||
14 | |||
15 | cd $OPIEDIR | ||
16 | make clean | ||
17 | ln -s Makefile.test GNUmakefile | ||
18 | cp def-configs/opie .config | ||
19 | make menuconfig | ||
20 | |||
21 | Now you can move through the menu and select or deselect anything.. | ||
22 | Exit and save the configuration and enter "make" to create opie... | ||
23 | |||
24 | Have fun with it ! | ||
25 | |||
26 | Ciao, Stefan \ No newline at end of file | ||
diff --git a/README.NEWBUILD b/README.NEWBUILD deleted file mode 100644 index e533725..0000000 --- a/README.NEWBUILD +++ b/dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | How to use the new build system | ||
2 | =============================== | ||
3 | |||
4 | WARNING: This buildsystem is currently under construction. Therefore | ||
5 | it may create more problems than solutions .. ;) | ||
6 | |||
7 | But if you have problems with the old one, you may use the new which | ||
8 | is much more advanced: | ||
9 | |||
10 | First of all set you shell-variables to the correct settings | ||
11 | ( as you need for the old build system ) | ||
12 | |||
13 | Then do the following: | ||
14 | |||
15 | cd $OPIEDIR | ||
16 | make clean | ||
17 | ln -s Makefile.test GNUmakefile | ||
18 | cp def-configs/opie .config | ||
19 | make menuconfig | ||
20 | |||
21 | Now you can move through the menu and select or deselect anything.. | ||
22 | Exit and save the configuration and enter "make" to create opie... | ||
23 | |||
24 | Have fun with it ! | ||
25 | |||
26 | Ciao, Stefan \ No newline at end of file | ||