mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-23 23:39:23 +01:00
72 lines
1.3 KiB
Plaintext
72 lines
1.3 KiB
Plaintext
#
|
|
# $Id: //poco/Main/build/config/Darwin#10 $
|
|
#
|
|
# 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
|
|
STRIP =
|
|
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
|