unxmacc.mk (1e1ac450) unxmacc.mk (61a3a0ff)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35# -D_PTHREADS and -D_REENTRANT are needed for STLport, and must be specified when
36# compiling STLport sources too, either internally or externally.
37CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY $(PROCESSOR_DEFINES) -D_USE_NAMESPACE=1
38
39# MAXOSX_DEPLOYMENT_TARGET : The minimum version required to run the build result
40# (safer/easier than dealing with the MAC_OS_X_VERSION_MAX_ALLOWED macro)
41# http://developer.apple.com/technotes/tn2002/tn2064.html
42# done in setsolar/configure now. left here for documentation
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35# -D_PTHREADS and -D_REENTRANT are needed for STLport, and must be specified when
36# compiling STLport sources too, either internally or externally.
37CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY $(PROCESSOR_DEFINES) -D_USE_NAMESPACE=1
38
39# MAXOSX_DEPLOYMENT_TARGET : The minimum version required to run the build result
40# (safer/easier than dealing with the MAC_OS_X_VERSION_MAX_ALLOWED macro)
41# http://developer.apple.com/technotes/tn2002/tn2064.html
42# done in setsolar/configure now. left here for documentation
43#MACOSX_DEPLOYMENT_TARGET=10.7
44#.EXPORT: MACOSX_DEPLOYMENT_TARGET
45CDEFS+=-DQUARTZ
43CDEFS+=-DQUARTZ
46EXTRA_CDEFS*=-isysroot $(SDK_PATH)
44EXTRA_CDEFS*=-isysroot $(MACOSX_SDK_PATH)
47
48# Name of library where static data members are initialized
49# STATICLIBNAME=static$(DLLPOSTFIX)
50# STATICLIB=-l$(STATICLIBNAME)
51
52# enable visibility define in "sal/types.h"
53.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
54 CDEFS += -DHAVE_GCC_VISIBILITY_FEATURE

--- 109 unchanged lines hidden (view full) ---

164# ---------------------------------
165# Link stage flags
166# ---------------------------------
167
168LINK*=$(CXX)
169LINKC*=$(CC)
170
171###LINKFLAGSDEFS*=-Wl,-multiply_defined,suppress
45
46# Name of library where static data members are initialized
47# STATICLIBNAME=static$(DLLPOSTFIX)
48# STATICLIB=-l$(STATICLIBNAME)
49
50# enable visibility define in "sal/types.h"
51.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
52 CDEFS += -DHAVE_GCC_VISIBILITY_FEATURE

--- 109 unchanged lines hidden (view full) ---

162# ---------------------------------
163# Link stage flags
164# ---------------------------------
165
166LINK*=$(CXX)
167LINKC*=$(CC)
168
169###LINKFLAGSDEFS*=-Wl,-multiply_defined,suppress
172EXTRA_LINKFLAGS*=-L$(SDK_PATH)
170EXTRA_LINKFLAGS*=-L$(MACOSX_SDK_PATH)
173# Very long install_names are needed so that install_name_tool -change later on
174# does not complain that "larger updated load commands do not fit:"
175LINKFLAGSRUNPATH_URELIB=-install_name '@__________________________________________________URELIB/$(@:f)'
176LINKFLAGSRUNPATH_UREBIN=
177LINKFLAGSRUNPATH_OOO=-install_name '@__________________________________________________OOO/$(@:f)'
178LINKFLAGSRUNPATH_SDK=
179LINKFLAGSRUNPATH_BRAND=
180LINKFLAGSRUNPATH_OXT=

--- 67 unchanged lines hidden ---
171# Very long install_names are needed so that install_name_tool -change later on
172# does not complain that "larger updated load commands do not fit:"
173LINKFLAGSRUNPATH_URELIB=-install_name '@__________________________________________________URELIB/$(@:f)'
174LINKFLAGSRUNPATH_UREBIN=
175LINKFLAGSRUNPATH_OOO=-install_name '@__________________________________________________OOO/$(@:f)'
176LINKFLAGSRUNPATH_SDK=
177LINKFLAGSRUNPATH_BRAND=
178LINKFLAGSRUNPATH_OXT=

--- 67 unchanged lines hidden ---