5 ADDITIONAL_CPPFLAGS += \
6 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \
7 -DSOPE_MAJOR_VERSION=$(MAJOR_VERSION) \
8 -DSOPE_MINOR_VERSION=$(MINOR_VERSION) \
9 -DSOPE_SUBMINOR_VERSION=$(SUBMINOR_VERSION)
11 ADDITIONAL_INCLUDE_DIRS += \
13 -I$(SOPE_ROOT)/sope-core/NGExtensions/ \
14 -I$(SOPE_ROOT)/sope-core \
15 -I$(SOPE_ROOT)/sope-xml
20 libNGiCal_LIBRARIES_DEPEND_UPON += \
26 NGiCal_LIBRARIES_DEPEND_UPON += \
27 -framework NGExtensions -framework EOControl \
28 -framework DOM -framework SaxObjC
31 # library/framework search pathes
34 $(SOPE_ROOT)/sope-core/NGExtensions \
35 $(SOPE_ROOT)/sope-core/EOControl \
36 $(SOPE_ROOT)/sope-xml/DOM \
37 $(SOPE_ROOT)/sope-xml/SaxObjC
39 ifneq ($(frameworks),yes)
40 ADDITIONAL_LIB_DIRS += \
41 $(foreach dir,$(DEP_DIRS),\
42 -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME))
44 ADDITIONAL_LIB_DIRS += \
45 $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
48 ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
49 SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
51 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
57 ifeq ($(FOUNDATION_LIB),apple)
58 libNGiCal_PREBIND_ADDR="0xC1E00000"
59 libNGiCal_LDFLAGS += -seg1addr $(libNGiCal_PREBIND_ADDR)
60 NGiCal_LDFLAGS += -seg1addr $(libNGiCal_PREBIND_ADDR)