mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-25 17:10:59 +01:00
71 lines
1.5 KiB
Plaintext
71 lines
1.5 KiB
Plaintext
#
|
|
# $Id: //poco/1.2/build/config/Darwin7#1 $
|
|
#
|
|
# 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
|
|
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
|