File: variable-processing.make

package info (click to toggle)
gnustep-dl2 0.11.0-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,152 kB
  • ctags: 743
  • sloc: objc: 61,254; makefile: 50
file content (16 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Heres a way to compile/link against a framework/library before the library is
# installed.
#
# It depends upon the source layout of GDL2 where the directories are the same
# name as the framework name, for the -F flag to work.
#
# this is only comparable to the -L flags of a normal library, -I flags
# for this are redundant so just use typical ADDITONAL_INCLUDE_DIRS.
#

ifeq ($(FOUNDATION_LIB), apple)
  ADDITIONAL_LIB_DIRS += $(foreach libdir,$(ADDITIONAL_NATIVE_LIB_DIRS),-F$(libdir))
else
  ADDITIONAL_LIB_DIRS += $(foreach libdir,$(ADDITIONAL_NATIVE_LIB_DIRS),-L$(libdir)/$(GNUSTEP_OBJ_DIR))
endif