+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the library,
+ its headers, the tools and the resources will be installed in
+ FHS_INSTALL_ROOT if specified (eg make FHS_INSTALL_ROOT=/usr/local)
+ (v4.3.20)
+
2004-08-29 Marcus Mueller <znek@mulle-kybernetik.com>
* NGLdap.xcode: new Xcode project
-# $Id$
+# $Id: GNUmakefile 32 2004-08-21 00:50:30Z helge $
include $(GNUSTEP_MAKEFILES)/common.make
include ./Version
libNGLdap_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
libNGLdap_HEADER_FILES = \
- NGLdap.h \
+ NGLdap.h \
\
- EOQualifier+LDAP.h \
- NSString+DN.h \
- NGLdapEntry.h \
- NGLdapConnection.h \
- NGLdapAttribute.h \
- NGLdapModification.h \
+ EOQualifier+LDAP.h \
+ NSString+DN.h \
+ NGLdapEntry.h \
+ NGLdapConnection.h \
+ NGLdapAttribute.h \
+ NGLdapModification.h \
NGLdapSearchResultEnumerator.h \
\
- NGLdapURL.h \
- NGLdapGlobalID.h \
- NGLdapFileManager.h \
- NGLdapDataSource.h \
+ NGLdapURL.h \
+ NGLdapGlobalID.h \
+ NGLdapFileManager.h \
+ NGLdapDataSource.h \
libNGLdap_CORE_OBJC_FILES = \
EOQualifier+LDAP.m \
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/library.make
-include GNUmakefile.postamble
-
-autodoc :
- autodoc $(AUTODOC_FLAGS) -dest ../Documentation/NGLdap/ -proj .
+-include fhs.make
-# $Id$
+# $Id: Version 13 2004-08-20 20:08:20Z helge $
MAJOR_VERSION=4
MINOR_VERSION=3
-SUBMINOR_VERSION:=19
+SUBMINOR_VERSION:=20
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-header-dirs ::
+ $(MKDIRS) $(FHS_INCLUDE_DIR)$(libNGLdap_HEADER_FILES_INSTALL_DIR)
+
+move-headers-to-fhs :: fhs-header-dirs
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ mv $(GNUSTEP_HEADERS)$(libNGLdap_HEADER_FILES_INSTALL_DIR)/*.h \
+ $(FHS_INCLUDE_DIR)$(libNGLdap_HEADER_FILES_INSTALL_DIR)/
+
+NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+
+move-libs-to-fhs ::
+ @echo "moving libs to $(FHS_LIB_DIR) .."
+ mv $(NONFHS_LIBDIR)/$(NONFHS_LIBNAME)* $(FHS_LIB_DIR)/
+
+move-to-fhs :: move-headers-to-fhs move-libs-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the tools in FHS locations - the executables
+ will be installed in FHS_INSTALL_ROOT if specified (eg make
+ FHS_INSTALL_ROOT=/usr/local)
+
2004-08-20 Helge Hess <helge.hess@opengroupware.org>
* moved in NGLdap samples from sope-core
-# $Id$
+# $Id: GNUmakefile 13 2004-08-20 20:08:20Z helge $
include $(GNUSTEP_MAKEFILES)/common.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
+-include fhs.make
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-bin-dirs ::
+ $(MKDIRS) $(FHS_BIN_DIR)
+
+NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
+
+move-tools-to-fhs :: fhs-bin-dirs
+ @echo "moving tools from $(NONFHS_BINDIR) to $(FHS_BIN_DIR) .."
+ for i in $(TOOL_NAME); do \
+ mv "$(NONFHS_BINDIR)/$${i}" $(FHS_BIN_DIR); \
+ done
+
+move-to-fhs :: move-tools-to-fhs
+
+after-install :: move-to-fhs
+
+endif