--- /dev/null
+/*
+ Copyright (C) 2000-2005 SKYRIX Software AG
+
+ This file is part of SOPE.
+
+ SOPE 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.
+
+ SOPE 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 SOPE; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+/*
+ this is required by the "fake" frameworks NGImap4 and NGMail, otherwise
+ linking will fail with:
+ ---snip---
+ ld: /Users/helge/build/NGImap4.framework/NGImap4 tocoff in load command 7 extends past the end of the file
+ ld: /Users/helge/build/NGMail.framework/NGMail tocoff in load command 7 extends past the end of the file
+ ---snap---
+*/
+
--- /dev/null
+# build umbrella framework for this subproject
+
+ifeq ($(frameworks),yes)
+
+FRAMEWORK_NAME = sope-appserver
+
+sope-appserver_C_FILES = dummy.c
+
+sope-appserver_UMBRELLA_FRAMEWORKS = \
+ sope-xml \
+ sope-core \
+ NGObjWeb \
+ WEExtensions \
+ WOExtensions \
+ WOXML \
+ SoOFS \
+ NGXmlRpc \
+
+sope-appserver_PREBIND_ADDR = # TODO
+sope-appserver_INSTALL_DIR = /Library/Frameworks/
+
+
+# generic (consolidate in gstep-make)
+$(FRAMEWORK_NAME)_LDFLAGS += \
+ $(foreach fwname,$($(FRAMEWORK_NAME)_UMBRELLA_FRAMEWORKS),\
+ -framework $(fwname)) \
+ $(foreach fwname,$($(FRAMEWORK_NAME)_UMBRELLA_FRAMEWORKS),\
+ -sub_umbrella $(fwname)) \
+ -headerpad_max_install_names
+
+ifneq ($($(FRAMEWORK_NAME)_PREBIND_ADDR),)
+$(FRAMEWORK_NAME)_LDFLAGS += -seg1addr $($(FRAMEWORK_NAME)_PREBIND_ADDR)
+endif
+
+
+# library/framework search pathes
+
+DEP_DIRS += \
+ ../sope-core \
+ ../sope-xml \
+ ../sope-core/EOControl \
+ ../sope-core/NGExtensions \
+ ../sope-core/NGStreams \
+ ../sope-xml/DOM \
+ ../sope-xml/XmlRpc \
+ ../sope-xml/SaxObjC \
+ NGObjWeb \
+ WEExtensions \
+ WOExtensions \
+ WOXML \
+ SoOFS \
+ NGXmlRpc \
+
+ADDITIONAL_LIB_DIRS += \
+ $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
+
+endif