author | zautrix <zautrix> | 2004-08-30 20:38:49 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-30 20:38:49 (UTC) |
commit | a415f6b4188fe9fc7a7c8d530def31d0877a8073 (patch) (side-by-side diff) | |
tree | 015334928bc184833549508bb705384547e55115 | |
parent | 109a23b70f67552a9ce27f682bb2b1bdbb2bb4f3 (diff) | |
download | kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.zip kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.gz kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.bz2 |
Gammu integrated in build system
-rw-r--r-- | Makefile | 36 | ||||
-rw-r--r-- | Makefile.Embedded | 36 | ||||
-rw-r--r-- | gammu.control | 11 | ||||
-rw-r--r-- | gammu/emb/common/commonE.pro | 2 | ||||
-rw-r--r-- | gammu/emb/gammu/gammuE.pro | 2 |
5 files changed, 77 insertions, 10 deletions
@@ -5,2 +5,3 @@ ifeq ($(PLATFORM) , zaurus) BUILD_NO_LDAP_PLUGIN=1 + BUILD_NO_GAMMU=1 endif @@ -9,2 +10,3 @@ ifneq ($(PLATFORM) , zaurus) BUILD_NO_SHARP_PLUGIN=1 + BUILD_NO_GAMMU=1 endif @@ -43,2 +45,6 @@ SUBDIRS_MICROMAIL = \ +SUBDIRS_GAMMU = \ + gammu/emb/common \ + gammu/emb/gammu + SUBDIRS = \ @@ -49,4 +55,4 @@ SUBDIRS = \ $(SUBDIRS_LDAP_PLUGIN) \ - $(SUBDIRS_MICROMAIL) - + $(SUBDIRS_MICROMAIL) \ + $(SUBDIRS_GAMMU) @@ -57,3 +63,4 @@ all: build_microkde \ build_ldap_plugin \ - build_micromail + build_micromail \ + build_gammu @@ -107,2 +114,11 @@ build_micromail: build_microkde +build_gammu: variable_test tmake + ifdef BUILD_NO_GAMMU + @echo ---> gammu not build. + else + for i in $(SUBDIRS_GAMMU); do pushd $$i; \ + make -f Makefile$(PLATFORM) || exit 1; popd; \ + done + endif + @@ -124,2 +140,3 @@ variable_info: endif + @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) @echo -------------------------------------- @@ -185,2 +202,5 @@ dist: ./mkipks korganizer-alarm.control + ifndef BUILD_NO_GAMMU + ./mkipks gammu.control + endif @@ -206,3 +226,5 @@ tmake: objects \ kmicromail/libetpan/Makefile$(PLATFORM) \ - kmicromail/libmailwrapper/Makefile$(PLATFORM) + kmicromail/libmailwrapper/Makefile$(PLATFORM) \ + gammu/emb/common/Makefile$(PLATFORM) \ + gammu/emb/gammu/Makefile$(PLATFORM) \ @@ -271 +293,7 @@ kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmail cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) + +gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro + cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) + +gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro + cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) diff --git a/Makefile.Embedded b/Makefile.Embedded index 9b55ecf..b7e0e33 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded @@ -5,2 +5,3 @@ ifeq ($(PLATFORM) , zaurus) BUILD_NO_LDAP_PLUGIN=1 + BUILD_NO_GAMMU=1 endif @@ -9,2 +10,3 @@ ifneq ($(PLATFORM) , zaurus) BUILD_NO_SHARP_PLUGIN=1 + BUILD_NO_GAMMU=1 endif @@ -43,2 +45,6 @@ SUBDIRS_MICROMAIL = \ +SUBDIRS_GAMMU = \ + gammu/emb/common \ + gammu/emb/gammu + SUBDIRS = \ @@ -49,4 +55,4 @@ SUBDIRS = \ $(SUBDIRS_LDAP_PLUGIN) \ - $(SUBDIRS_MICROMAIL) - + $(SUBDIRS_MICROMAIL) \ + $(SUBDIRS_GAMMU) @@ -57,3 +63,4 @@ all: build_microkde \ build_ldap_plugin \ - build_micromail + build_micromail \ + build_gammu @@ -107,2 +114,11 @@ build_micromail: build_microkde +build_gammu: variable_test tmake + ifdef BUILD_NO_GAMMU + @echo ---> gammu not build. + else + for i in $(SUBDIRS_GAMMU); do pushd $$i; \ + make -f Makefile$(PLATFORM) || exit 1; popd; \ + done + endif + @@ -124,2 +140,3 @@ variable_info: endif + @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) @echo -------------------------------------- @@ -185,2 +202,5 @@ dist: ./mkipks korganizer-alarm.control + ifndef BUILD_NO_GAMMU + ./mkipks gammu.control + endif @@ -206,3 +226,5 @@ tmake: objects \ kmicromail/libetpan/Makefile$(PLATFORM) \ - kmicromail/libmailwrapper/Makefile$(PLATFORM) + kmicromail/libmailwrapper/Makefile$(PLATFORM) \ + gammu/emb/common/Makefile$(PLATFORM) \ + gammu/emb/gammu/Makefile$(PLATFORM) \ @@ -271 +293,7 @@ kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmail cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) + +gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro + cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) + +gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro + cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) diff --git a/gammu.control b/gammu.control new file mode 100644 index 0000000..db52c80 --- a/dev/null +++ b/gammu.control @@ -0,0 +1,11 @@ +Files: bin/kammu lib/libkammu* + +Priority: optional +Section: qpe/pim +Maintainer: Lutz Rogowski <lutz@pi-sync.net> +Architecture: arm +Version: 1.9.4 +License: GPL +Depends: +Description: Special version of gammu / libgammu + for Zaurus PDA and microkde diff --git a/gammu/emb/common/commonE.pro b/gammu/emb/common/commonE.pro index 33c0224..a36947b 100644 --- a/gammu/emb/common/commonE.pro +++ b/gammu/emb/common/commonE.pro @@ -175,3 +175,3 @@ phone/symbian/mroutgen.c -TARGET = microgammu +TARGET = kammu DESTDIR = $(QPEDIR)/lib diff --git a/gammu/emb/gammu/gammuE.pro b/gammu/emb/gammu/gammuE.pro index 5010d8c..c685bf8 100644 --- a/gammu/emb/gammu/gammuE.pro +++ b/gammu/emb/gammu/gammuE.pro @@ -49,3 +49,3 @@ SOURCES += gammu.c \ LIBS += -L$(QPEDIR)/lib -LIBS += -lmicrogammu +LIBS += -lkammu LIBS += -lbluetooth |