+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.27)
+
2004-08-26 Marcus Mueller <znek@mulle-kybernetik.com>
* NGiCal.xcode: new Xcode project
-# $Id$
+# $Id: GNUmakefile 32 2004-08-21 00:50:30Z helge $
include $(GNUSTEP_MAKEFILES)/common.make
include ./Version
iCalDataSource.m \
# NSString+ICal.m \
-#IcalElements.m
-#IcalResponse.m
+# IcalElements.m
+# IcalResponse.m
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/library.make
-include GNUmakefile.postamble
+-include fhs.make
-# $Id$
+# $Id: Version 12 2004-08-20 19:49:55Z helge $
MAJOR_VERSION=4
MINOR_VERSION=3
-SUBMINOR_VERSION:=26
+SUBMINOR_VERSION:=27
--- /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)$(libNGiCal_HEADER_FILES_INSTALL_DIR)
+
+move-headers-to-fhs :: fhs-header-dirs
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ mv $(GNUSTEP_HEADERS)$(libNGiCal_HEADER_FILES_INSTALL_DIR)/*.h \
+ $(FHS_INCLUDE_DIR)$(libNGiCal_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 project in FHS locations - the SAX driver
+ will be installed in FHS_INSTALL_ROOT if specified (eg make
+ FHS_INSTALL_ROOT=/usr/local) (v4.3.13)
+
2004-08-24 Helge Hess <helge.hess@skyrix.com>
* GNUmakefile: install SAX driver in Library/SaxDrivers-4.3/ (v4.3.12)
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+-include fhs.make
# $Id$
-SUBMINOR_VERSION:=12
+SUBMINOR_VERSION:=13
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_SAX_DIR=$(FHS_LIB_DIR)sope-4.3/saxdrivers/
+
+fhs-sax-dirs ::
+ $(MKDIRS) $(FHS_SAX_DIR)
+
+move-bundles-to-fhs :: fhs-sax-dirs
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SAX_DIR) .."
+ for i in $(BUNDLE_NAME); do \
+ j="$(FHS_SAX_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ if test -d $$j; then rm -r $$j; fi; \
+ mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
+ done
+
+move-to-fhs :: move-bundles-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-17 Helge Hess <helge.hess@opengroupware.org>
* subclassing.m: fixed a compiler warning
-# $Id$
+# $Id: GNUmakefile 9 2004-08-20 18:40:42Z helge $
include $(GNUSTEP_MAKEFILES)/common.make
-TOOL_NAME = \
- ical2 \
- ical3 \
+TOOL_NAME = ical2 ical3
-ical2_OBJC_FILES = ical2.m
-ical3_OBJC_FILES = ical3.m
+ical2_OBJC_FILES = ical2.m
+ical3_OBJC_FILES = ical3.m
ical2_TOOL_LIBS += -lNGiCal -lSaxObjC
ical3_TOOL_LIBS += -lNGiCal -lSaxObjC
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
+-include fhs.make
-# $Id$
+# $Id: GNUmakefile.preamble 9 2004-08-20 18:40:42Z helge $
ADDITIONAL_INCLUDE_DIRS += \
-I.. \
-I../NGExtensions \
ADDITIONAL_LIB_DIRS += \
- -L../EOControl/$(GNUSTEP_OBJ_DIR) \
- -L../NGExtensions/$(GNUSTEP_OBJ_DIR) \
- -L../NGStreams/$(GNUSTEP_OBJ_DIR) \
- -L../NGiCal/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGExtensions/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/DOM/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR) \
+ -L../NGiCal/$(GNUSTEP_OBJ_DIR) \
+ -L/usr/local/lib -L/usr/lib
ADDITIONAL_TOOL_LIBS += \
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+
+#if LIB_FOUNDATION_LIBRARY
+# include <Foundation/exceptions/GeneralExceptions.h>
+#else
+# include <NGExtensions/NGObjectMacros.h>
+# include <NGExtensions/NSString+Ext.h>
+#endif
+
+#include <NGExtensions/NGExtensions.h>
--- /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