From e8161a66a1f5f148aac1e3e05cfa6d5eaed4c4d4 Mon Sep 17 00:00:00 2001 From: sreitenbach Date: Sun, 3 Feb 2008 13:50:57 +0000 Subject: [PATCH] * gnustep-make 2 compatibility git-svn-id: http://svn.opengroupware.org/SOGo/inverse/branches/1.0-gsmake2@1350 d1b88da0-ebda-0310-925b-ed51d893ca5b --- Main/GNUmakefile | 4 ++-- OGoContentStore/GNUmakefile | 11 +++++++---- Protocols/GNUmakefile | 2 +- Protocols/common.make | 4 ++-- Protocols/iCalHTTP/GNUmakefile | 1 - 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Main/GNUmakefile b/Main/GNUmakefile index 9feb7639..0c0c1323 100644 --- a/Main/GNUmakefile +++ b/Main/GNUmakefile @@ -1,6 +1,6 @@ # GNUstep makefile --include ../config.make +include ../config.make include $(GNUSTEP_MAKEFILES)/common.make include ../Version include ./Version @@ -10,6 +10,7 @@ ADDITIONAL_LIB_DIRS += -L../SOPE/GDLContentStore/obj/ SOGOD = sogod-$(MAJOR_VERSION).$(MINOR_VERSION) TOOL_NAME = $(SOGOD) +$(SOGOD)_INSTALL_DIR = $(SOGO_ADMIN_TOOLS) # daemon tool all:: @@ -24,4 +25,3 @@ $(SOGOD)_OBJC_FILES += \ -include GNUmakefile.preamble include $(GNUSTEP_MAKEFILES)/tool.make -include GNUmakefile.postamble -include fhs.make diff --git a/OGoContentStore/GNUmakefile b/OGoContentStore/GNUmakefile index a310e306..1ef0149f 100644 --- a/OGoContentStore/GNUmakefile +++ b/OGoContentStore/GNUmakefile @@ -1,17 +1,18 @@ # GNUstep makefile --include ../config.make +include ../config.make include $(GNUSTEP_MAKEFILES)/common.make include ./Version LIBRARY_NAME = libOGoContentStore TOOL_NAME = test_quick_extract -TYPEMODELS_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/OCSTypeModels/ +TYPEMODELS_DIR = $(SOGO_TYPEMODELS) libOGoContentStore_HEADER_FILES_DIR = . libOGoContentStore_HEADER_FILES_INSTALL_DIR = /OGoContentStore -# no headers, commented out: FHS_HEADER_DIRS = OGoContentStore +libOGoContentStore_INTERFACE_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) +libOGoContentStore_INSTALL_DIR=$(SOGO_SYSLIBDIR) ADDITIONAL_INCLUDE_DIRS += -I../SOPE ADDITIONAL_LIB_DIRS += -L../SOPE/GDLContentStore/obj @@ -33,7 +34,9 @@ test_quick_extract_OBJC_FILES += \ test_quick_extract.m -include GNUmakefile.preamble +ifneq ($(FHS_INSTALL_ROOT),) +GNUSTEP_HEADERS=$(DESTDIR)$(FHS_INSTALL_ROOT)/include +endif include $(GNUSTEP_MAKEFILES)/library.make include $(GNUSTEP_MAKEFILES)/tool.make -include GNUmakefile.postamble --include ../fhslib.make diff --git a/Protocols/GNUmakefile b/Protocols/GNUmakefile index 25f185f5..99a2a1bb 100644 --- a/Protocols/GNUmakefile +++ b/Protocols/GNUmakefile @@ -1,6 +1,6 @@ # GNUstep makefile --include ../config.make +include ../config.make include $(GNUSTEP_MAKEFILES)/common.make SUBPROJECTS += \ diff --git a/Protocols/common.make b/Protocols/common.make index 03483a6d..03d2f33d 100644 --- a/Protocols/common.make +++ b/Protocols/common.make @@ -1,12 +1,12 @@ # common make file for Protocol bundles --include ../../config.make +include ../../config.make include $(GNUSTEP_MAKEFILES)/common.make include ../../Version include ./Version BUNDLE_EXTENSION = .SOGo -BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION) +BUNDLE_INSTALL_DIR = $(SOGO_LIBDIR) ADDITIONAL_INCLUDE_DIRS += \ -I.. \ diff --git a/Protocols/iCalHTTP/GNUmakefile b/Protocols/iCalHTTP/GNUmakefile index 1467684a..e59e8c38 100644 --- a/Protocols/iCalHTTP/GNUmakefile +++ b/Protocols/iCalHTTP/GNUmakefile @@ -26,4 +26,3 @@ ADDITIONAL_INCLUDE_DIRS += \ -include GNUmakefile.preamble include $(GNUSTEP_MAKEFILES)/bundle.make -include GNUmakefile.postamble -include ../../fhsbundle.make -- 2.39.5