5 ADDITIONAL_CPPFLAGS += -Wall
7 ADDITIONAL_INCLUDE_DIRS += -I. -I..
12 libGDLContentStore_LIBRARIES_DEPEND_UPON += \
14 -lNGExtensions -lEOControl \
17 GDLContentStore_LIBRARIES_DEPEND_UPON += \
18 -framework GDLAccess \
19 -framework NGExtensions -framework EOControl \
20 -framework DOM -framework SaxObjC
22 ifneq ($(frameworks),yes)
24 -lGDLContentStore -lGDLAccess \
25 -lNGExtensions -lEOControl \
29 -framework GDLContentStore -framework GDLAccess \
30 -framework NGExtensions -framework EOControl \
31 -framework DOM -framework SaxObjC
34 gcs_ls_TOOL_LIBS += $(GCS_TOOL_LIBS)
35 gcs_mkdir_TOOL_LIBS += $(GCS_TOOL_LIBS)
36 gcs_cat_TOOL_LIBS += $(GCS_TOOL_LIBS)
37 gcs_recreatequick_TOOL_LIBS += $(GCS_TOOL_LIBS)
38 gcs_gensql_TOOL_LIBS += $(GCS_TOOL_LIBS)
40 gcs_ls_PCH_FILE += common.h
41 gcs_mkdir_PCH_FILE += common.h
42 gcs_cat_PCH_FILE += common.h
43 gcs_recreatequick_PCH_FILE += common.h
44 gcs_gensql_PCH_FILE += common.h
47 # library/framework search pathes
52 $(SOPE_ROOT)/sope-core/NGExtensions \
53 $(SOPE_ROOT)/sope-core/EOControl \
54 $(SOPE_ROOT)/sope-xml/DOM \
55 $(SOPE_ROOT)/sope-xml/SaxObjC
57 ifneq ($(frameworks),yes)
58 ADDITIONAL_LIB_DIRS += \
59 $(foreach dir,$(DEP_DIRS),\
60 -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME))
62 ADDITIONAL_LIB_DIRS += \
63 $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
66 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
69 # platform specific settings
71 ifeq ($(FOUNDATION_LIB),apple)
72 libGDLContentStore_PREBIND_ADDR="0xC7700000"
73 libGDLContentStore_LDFLAGS += -seg1addr $(libGDLContentStore_PREBIND_ADDR)
76 ifeq ($(findstring openbsd3, $(GNUSTEP_HOST_OS)), openbsd3)
77 GCS_TOOL_LIBS += -liconv