2006-10-23 17:40:50 +02:00
|
|
|
#
|
2007-02-23 15:50:42 +01:00
|
|
|
# $Id: //poco/Main/build/config/Darwin7#2 $
|
2006-10-23 17:40:50 +02:00
|
|
|
#
|
|
|
|
# Darwin
|
|
|
|
#
|
|
|
|
# Build settings for Mac OS X 10.3
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# General Settings
|
|
|
|
#
|
|
|
|
LINKMODE = SHARED
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tools
|
|
|
|
#
|
|
|
|
CC = gcc
|
|
|
|
CXX = c++
|
|
|
|
LINK = $(CXX) -bind_at_load
|
|
|
|
LIB = libtool -static -o
|
|
|
|
RANLIB = ranlib
|
|
|
|
SHLIB = libtool -dynamic -flat_namespace -undefined suppress -noprebind -install_name $@ -o $@
|
|
|
|
DYLIB = ld -dynamic -bundle -read_only_relocs suppress -flat_namespace -undefined warning -noprebind -bind_at_load -o $@ /usr/lib/bundle1.o
|
|
|
|
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
2006-11-17 17:40:16 +01:00
|
|
|
STRIP = strip
|
2006-10-23 17:40:50 +02:00
|
|
|
DEP = $(POCO_BASE)/build/script/makedepend.gcc
|
|
|
|
SHELL = sh
|
|
|
|
RM = rm -rf
|
|
|
|
CP = cp
|
|
|
|
MKDIR = mkdir -p
|
|
|
|
|
|
|
|
#
|
|
|
|
# Extension for Shared Libraries
|
|
|
|
#
|
|
|
|
SHAREDLIBEXT = .$(target_version).dylib
|
|
|
|
SHAREDLIBLINKEXT = .dylib
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compiler and Linker Flags
|
|
|
|
#
|
|
|
|
CFLAGS =
|
|
|
|
CFLAGS32 =
|
|
|
|
CFLAGS64 =
|
|
|
|
CXXFLAGS = -Wno-long-double -fmessage-length=0 -fcoalesce-templates
|
|
|
|
CXXFLAGS32 =
|
|
|
|
CXXFLAGS64 =
|
|
|
|
LINKFLAGS =
|
|
|
|
LINKFLAGS32 =
|
|
|
|
LINKFLAGS64 =
|
|
|
|
STATICOPT_CC =
|
|
|
|
STATICOPT_CXX =
|
|
|
|
STATICOPT_LINK =
|
|
|
|
SHAREDOPT_CC =
|
|
|
|
SHAREDOPT_CXX =
|
|
|
|
SHAREDOPT_LINK =
|
|
|
|
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
|
|
|
|
DEBUGOPT_CXX = -g -D_DEBUG=$(DEBUGLEVEL)
|
|
|
|
DEBUGOPT_LINK =
|
|
|
|
RELEASEOPT_CC = -DNDEBUG -O2
|
|
|
|
RELEASEOPT_CXX = -DNDEBUG -O
|
|
|
|
RELEASEOPT_LINK =
|
|
|
|
|
|
|
|
#
|
|
|
|
# System Specific Flags
|
|
|
|
#
|
|
|
|
SYSFLAGS = -D_XOPEN_SOURCE
|
|
|
|
|
|
|
|
#
|
|
|
|
# System Specific Libraries
|
|
|
|
#
|
|
|
|
SYSLIBS = -lstdc++ -framework System -ldl -lcc_dynamic
|