-rw-r--r-- | Makefile.Embedded | 54 |
1 files changed, 36 insertions, 18 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index 71035d6..7777a19 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -3,2 +3,3 @@ DISTDIR = $(shell basename $(DISTPATH)) | |||
3 | 3 | ||
4 | |||
4 | ifeq ($(PLATFORM) , zaurus) | 5 | ifeq ($(PLATFORM) , zaurus) |
@@ -11,4 +12,3 @@ endif | |||
11 | 12 | ||
12 | 13 | SUBDIRS_MICROKDE = \ | |
13 | SUBDIRS_MAIN = \ | ||
14 | libical/src/libical \ | 14 | libical/src/libical \ |
@@ -50,3 +50,12 @@ SUBDIRS_MICROMAIL = \ | |||
50 | 50 | ||
51 | all: build_main \ | 51 | SUBDIRS = \ |
52 | $(SUBDIRS_MICROKDE) \ | ||
53 | $(SUBDIRS_QTOPIA_PLUGIN) \ | ||
54 | $(SUBDIRS_OPIE_PLUGIN) \ | ||
55 | $(SUBDIRS_SHARP_PLUGIN) \ | ||
56 | $(SUBDIRS_LDAP_PLUGIN) \ | ||
57 | $(SUBDIRS_MICROMAIL) | ||
58 | |||
59 | |||
60 | all: build_microkde \ | ||
52 | build_qtopia_plugin \ | 61 | build_qtopia_plugin \ |
@@ -58,4 +67,4 @@ all: build_main \ | |||
58 | 67 | ||
59 | build_main: variable_info tmake | 68 | build_microkde: variable_test tmake |
60 | for i in $(SUBDIRS_MAIN); do pushd $$i; \ | 69 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
61 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 70 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
@@ -63,3 +72,3 @@ build_main: variable_info tmake | |||
63 | 72 | ||
64 | build_qtopia_plugin: build_main | 73 | build_qtopia_plugin: build_microkde |
65 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 74 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
@@ -68,3 +77,3 @@ build_qtopia_plugin: build_main | |||
68 | 77 | ||
69 | build_opie_plugin: build_main | 78 | build_opie_plugin: build_microkde |
70 | ifdef BUILD_NO_OPIE_PLUGIN | 79 | ifdef BUILD_NO_OPIE_PLUGIN |
@@ -77,3 +86,3 @@ build_opie_plugin: build_main | |||
77 | 86 | ||
78 | build_sharp_plugin: build_main | 87 | build_sharp_plugin: build_microkde |
79 | ifdef BUILD_NO_SHARP_PLUGIN | 88 | ifdef BUILD_NO_SHARP_PLUGIN |
@@ -86,3 +95,3 @@ build_sharp_plugin: build_main | |||
86 | 95 | ||
87 | build_ldap_plugin: build_main | 96 | build_ldap_plugin: build_microkde |
88 | ifdef BUILD_NO_LDAP_PLUGIN | 97 | ifdef BUILD_NO_LDAP_PLUGIN |
@@ -96,3 +105,3 @@ build_ldap_plugin: build_main | |||
96 | 105 | ||
97 | build_micromail: build_main | 106 | build_micromail: build_microkde |
98 | ifdef BUILD_NO_MICROMAIL | 107 | ifdef BUILD_NO_MICROMAIL |
@@ -106,5 +115,5 @@ build_micromail: build_main | |||
106 | 115 | ||
107 | variable_info: variable_test | 116 | variable_info: |
108 | @echo -------------------------------------- | 117 | @echo -------------------------------------- |
109 | @echo KDEPIM buildsystem, variablecheck... | 118 | @echo KDEPIM buildsystem, variableinfo... |
110 | @echo QTDIR=$(QTDIR) | 119 | @echo QTDIR=$(QTDIR) |
@@ -114,2 +123,3 @@ variable_info: variable_test | |||
114 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 123 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
124 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | ||
115 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 125 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
@@ -117,6 +127,9 @@ variable_info: variable_test | |||
117 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 127 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
118 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 128 | ifndef BUILD_NO_SHARP_PLUGIN |
129 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | ||
130 | endif | ||
119 | @echo -------------------------------------- | 131 | @echo -------------------------------------- |
120 | 132 | ||
121 | variable_test: | 133 | variable_test: variable_info |
134 | @echo KDEPIM buildsystem, variablecheck... | ||
122 | ifdef BUILD_NO_LDAP_PLUGIN | 135 | ifdef BUILD_NO_LDAP_PLUGIN |
@@ -127,5 +140,2 @@ variable_test: | |||
127 | endif | 140 | endif |
128 | ifdef BUILD_NO_SHARP_PLUGIN | ||
129 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | ||
130 | endif | ||
131 | ifdef BUILD_NO_MICROMAIL | 141 | ifdef BUILD_NO_MICROMAIL |
@@ -133,3 +143,11 @@ variable_test: | |||
133 | endif | 143 | endif |
134 | 144 | ifdef BUILD_NO_SHARP_PLUGIN | |
145 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | ||
146 | else | ||
147 | ifndef SHARPDTMSDK | ||
148 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | ||
149 | $(error SHARPDTMSDK is not defined) | ||
150 | endif | ||
151 | endif | ||
152 | @echo -------------------------------------- | ||
135 | 153 | ||