summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Side-by-side diff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.Embedded27
1 files changed, 24 insertions, 3 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index de9d5ce..e472689 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -46,4 +46,7 @@ SUBDIRS_GAMMU = \
gammu/emb/gammu
+SUBDIRS_PWMANAGER = \
+ pwmanager/pwmanager
+
SUBDIRS = \
$(SUBDIRS_MICROKDE) \
@@ -53,5 +56,6 @@ SUBDIRS = \
$(SUBDIRS_LDAP_PLUGIN) \
$(SUBDIRS_MICROMAIL) \
- $(SUBDIRS_GAMMU)
+ $(SUBDIRS_GAMMU) \
+ $(SUBDIRS_PWMANAGER)
all: build_microkde \
@@ -61,5 +65,6 @@ all: build_microkde \
build_ldap_plugin \
build_micromail \
- build_gammu
+ build_gammu \
+ build_pwmanager
@@ -120,4 +125,13 @@ build_gammu: variable_test tmake
endif
+build_pwmanager: build_microkde
+ ifdef BUILD_NO_PWMANAGER
+ @echo == pwmanager not build.
+ else
+ for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \
+ make -f Makefile$(PLATFORM) || exit 1; popd; \
+ done
+ endif
+
variable_info:
@@ -138,4 +152,5 @@ variable_info:
endif
@echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
+ @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER)
@echo --------------------------------------
@@ -170,4 +185,7 @@ variable_test: variable_info
@echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
endif
+ ifdef BUILD_NO_PWMANAGER
+ @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER)
+ endif
@echo --------------------------------------
@@ -232,5 +250,5 @@ tmake: objects \
gammu/emb/common/Makefile$(PLATFORM) \
gammu/emb/gammu/Makefile$(PLATFORM) \
-
+ pwmanager/pwmanager/Makefile$(PLATFORM) \
@@ -302,2 +320,5 @@ gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM)
+
+pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro
+ cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" pwmanagerE.pro -o Makefile$(PLATFORM)