2006-10-23 17:40:50 +02:00
|
|
|
#
|
2006-11-17 17:40:16 +01:00
|
|
|
# $Id: //poco/1.3/build/config/Darwin#2 $
|
2006-10-23 17:40:50 +02:00
|
|
|
#
|
|
|
|
# Darwin8
|
|
|
|
#
|
|
|
|
# Build settings for Mac OS X 10.4/GCC 4.0.0
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# General Settings
|
|
|
|
#
|
|
|
|
LINKMODE = SHARED
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tools
|
|
|
|
#
|
|
|
|
CC = gcc
|
|
|
|
CXX = c++
|
|
|
|
LINK = $(CXX) -bind_at_load
|
|
|
|
LIB = libtool -static -o
|
|
|
|
RANLIB = ranlib
|
|
|
|
SHLIB = $(CXX) -dynamiclib -Wl,-install_name,$@ -o $@
|
|
|
|
DYLIB = $(CXX) -dynamic -bundle -read_only_relocs suppress -Wl,-noprebind -Wl,-bind_at_load -o $@
|
|
|
|
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
2006-11-17 17:40:16 +01:00
|
|
|
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 = -Wall -Wno-sign-compare
|
|
|
|
CXXFLAGS32 =
|
|
|
|
CXXFLAGS64 =
|
|
|
|
LINKFLAGS =
|
|
|
|
LINKFLAGS32 =
|
|
|
|
LINKFLAGS64 =
|
|
|
|
STATICOPT_CC =
|
|
|
|
STATICOPT_CXX =
|
|
|
|
STATICOPT_LINK =
|
|
|
|
SHAREDOPT_CC = -fPIC
|
|
|
|
SHAREDOPT_CXX = -fPIC
|
|
|
|
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 = -DPOCO_HAVE_IPv6
|
|
|
|
|
|
|
|
#
|
|
|
|
# System Specific Libraries
|
|
|
|
#
|
|
|
|
SYSLIBS = -ldl
|