# $Id$ ifneq ($(GNUSTEP_BUILD_DIR),) RELBUILD_DIR_SxCore=$(GNUSTEP_BUILD_DIR)/.. RELBUILD_DIR_SxXml=$(GNUSTEP_BUILD_DIR)/../../skyrix-xml libNGStreams_LIB_DIRS += \ -L$(GNUSTEP_OBJ_DIR) \ -L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxCore)/EOControl/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxXml)/DOM/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxXml)/SaxObjC/$(GNUSTEP_OBJ_DIR_NAME) else libNGStreams_LIB_DIRS += \ -L../NGExtensions/$(GNUSTEP_OBJ_DIR) \ -L../EOControl/$(GNUSTEP_OBJ_DIR) endif libNGStreams_LIBRARIES_DEPEND_UPON += \ -lNGExtensions -lEOControl \ -lDOM -lSaxObjC \ -lz libNGStreams_INCLUDE_DIRS += \ -I$(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS) \ -INGStreams \ -I../NGExtensions \ -I.. # activating SSL support ifneq ($(ssl),no) libNGStreams_OBJC_FILES += NGActiveSSLSocket.m ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1 -DOPENSSL_NO_KRB5 libNGStreams_LIBRARIES_DEPEND_UPON += -lssl -lcrypto endif ADDITIONAL_CPPFLAGS += -Wall -Wno-protocol # reentrant ifeq ($(reentrant),yes) ADDITIONAL_CPPFLAGS += -D_REENTRANT=1 endif # Apple ifeq ($(FOUNDATION_LIB),apple) libNGStreams_PREBIND_ADDR="0xC1400000" libNGStreams_LDFLAGS += -seg1addr $(libNGStreams_PREBIND_ADDR) endif # Windows ifeq ($(GNUSTEP_TARGET_OS),mingw32) libNGStreams_LIBRARIES_DEPEND_UPON += -lFoundation -lobjc endif ifeq ($(GNUSTEP_TARGET_OS),cygwin32) libNGStreams_LIBRARIES_DEPEND_UPON += -lFoundation -lobjc endif