+2005-08-11 Helge Hess <helge.hess@opengroupware.org>
+
+ * ngobjweb.make: added support for OSX frameworks (v4.5.186)
+
2005-08-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Defaults.plist: changed 'NGLogDefaultAppenderClass' from
-# $Id: ngobjweb.make 14 2004-08-20 21:07:18Z helge $
+# settings for NGObjWeb based applications
WO_LDFLAGS =
-WO_LIBS = -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions
WO_DEFINE = -DNGObjWeb_LIBRARY=1
+ifneq ($(frameworks),yes)
+
+WO_LIBS = -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions
+
ifeq ($(FOUNDATION_LIB),apple)
WO_LIBS += \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
endif
+
+else
+
+WO_LIBS = \
+ -framework NGObjWeb \
+ -framework NGMime \
+ -framework NGStreams \
+ -framework NGExtensions
+
+ifeq ($(FOUNDATION_LIB),apple)
+WO_LIBS += \
+ -framework NGMime \
+ -framework NGStreams -framework NGExtensions -framework EOControl \
+ -framework XmlRpc -framework DOM -framework SaxObjC
+endif
+
+endif