]> err.no Git - sope/blob - sope-core/umbrella.make
cfbd5f803b9eec63bd4a95d4e1ca9de65703cb31
[sope] / sope-core / umbrella.make
1 # build umbrella framework for this subproject
2
3 ifeq ($(frameworks),yes)
4
5 FRAMEWORK_NAME = sope-core
6
7 sope-core_C_FILES = dummy.c
8
9 sope-core_UMBRELLA_FRAMEWORKS = \
10         SaxObjC DOM     \
11         EOControl       \
12         EOCoreData      \
13         NGExtensions    \
14         NGStreams       \
15
16 sope-core_PREBIND_ADDR = 0xC0FF0000
17 sope-core_INSTALL_DIR  = /Library/Frameworks/
18
19
20 # generic (consolidate in gstep-make)
21 $(FRAMEWORK_NAME)_LDFLAGS += \
22         $(foreach fwname,$($(FRAMEWORK_NAME)_UMBRELLA_FRAMEWORKS),\
23           -framework $(fwname)) \
24         $(foreach fwname,$($(FRAMEWORK_NAME)_UMBRELLA_FRAMEWORKS),\
25           -sub_umbrella $(fwname)) \
26         -headerpad_max_install_names
27
28 ifneq ($($(FRAMEWORK_NAME)_PREBIND_ADDR),)
29 $(FRAMEWORK_NAME)_LDFLAGS += -seg1addr $($(FRAMEWORK_NAME)_PREBIND_ADDR)
30 endif
31
32
33 # library/framework search pathes
34
35 DEP_DIRS += \
36         EOControl EOCoreData NGExtensions NGStreams \
37         ../sope-xml/SaxObjC ../sope-xml/DOM
38
39 ADDITIONAL_LIB_DIRS += \
40         $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
41
42 endif