From 02e7ae4983679a787834277176a031286a8310c2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 16 Sep 2004 15:13:40 +0000 Subject: Foldername fixes --- (limited to 'Makefile') diff --git a/Makefile b/Makefile index de9d5ce..6856b62 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,9 @@ SUBDIRS_GAMMU = \ gammu/emb/common \ gammu/emb/gammu +SUBDIRS_PWMANAGER = \ + pwmanager/pwmanager + SUBDIRS = \ $(SUBDIRS_MICROKDE) \ $(SUBDIRS_QTOPIA_PLUGIN) \ @@ -52,7 +55,8 @@ SUBDIRS = \ $(SUBDIRS_SHARP_PLUGIN) \ $(SUBDIRS_LDAP_PLUGIN) \ $(SUBDIRS_MICROMAIL) \ - $(SUBDIRS_GAMMU) + $(SUBDIRS_GAMMU) \ + $(SUBDIRS_PWMANAGER) all: build_microkde \ build_qtopia_plugin \ @@ -60,7 +64,8 @@ all: build_microkde \ build_sharp_plugin \ build_ldap_plugin \ build_micromail \ - build_gammu + build_gammu \ + build_pwmanager build_microkde: variable_test tmake @@ -119,6 +124,15 @@ build_gammu: variable_test tmake done 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: @echo -------------------------------------- @@ -137,6 +151,7 @@ variable_info: @echo SHARPDTMSDK=$(SHARPDTMSDK) endif @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) + @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) @echo -------------------------------------- variable_test: variable_info @@ -169,6 +184,9 @@ variable_test: variable_info ifdef BUILD_NO_GAMMU @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 -------------------------------------- @@ -190,6 +208,7 @@ install: cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop + cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop dist: @echo Dont forget to do "make install" before "make dist" @@ -206,6 +225,9 @@ dist: ifndef BUILD_NO_GAMMU ./mkipks kammu.control endif + ifndef BUILD_NO_PWMANAGER + ./mkipks pwmanager.control + endif ./mkipks pim_TAB_icon.control tmake: objects \ @@ -231,7 +253,7 @@ tmake: objects \ kmicromail/libmailwrapper/Makefile$(PLATFORM) \ gammu/emb/common/Makefile$(PLATFORM) \ gammu/emb/gammu/Makefile$(PLATFORM) \ - + pwmanager/pwmanager/Makefile$(PLATFORM) \ @@ -301,3 +323,6 @@ 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) -- cgit v0.9.0.2