unxmacx.mk (9e1bc291) unxmacx.mk (a4523a2b)
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

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

181# ---------------------------------
182# always link with gcc since you may be linking c code and don't want -lstdc++ linked in!
183
184## ericb 04 mars 2005
185
186LINK*=$(CXX)
187LINKC*=$(CC)
188
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

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

181# ---------------------------------
182# always link with gcc since you may be linking c code and don't want -lstdc++ linked in!
183
184## ericb 04 mars 2005
185
186LINK*=$(CXX)
187LINKC*=$(CC)
188
189LINKFLAGSDEFS*=-Wl,-multiply_defined,suppress
189LINKFLAGSDEFS*=-Wl,-headerpad,ff,-multiply_defined,suppress
190# assure backwards-compatibility
191EXTRA_LINKFLAGS*=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
190# assure backwards-compatibility
191EXTRA_LINKFLAGS*=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
192# Very long install_names are needed so that install_name_tool -change later on
193# does not complain that "larger updated load commands do not fit:"
194LINKFLAGSRUNPATH_URELIB=-install_name '@__________________________________________________URELIB/$(@:f)'
192LINKFLAGSRUNPATH_URELIB=-install_name '@_______URELIB/$(@:f)'
195LINKFLAGSRUNPATH_UREBIN=
193LINKFLAGSRUNPATH_UREBIN=
196LINKFLAGSRUNPATH_OOO=-install_name '@__________________________________________________OOO/$(@:f)'
194LINKFLAGSRUNPATH_OOO=-install_name '@_______OOO/$(@:f)'
197LINKFLAGSRUNPATH_SDK=
198LINKFLAGSRUNPATH_BRAND=
199LINKFLAGSRUNPATH_OXT=
200LINKFLAGSRUNPATH_BOXT=
195LINKFLAGSRUNPATH_SDK=
196LINKFLAGSRUNPATH_BRAND=
197LINKFLAGSRUNPATH_OXT=
198LINKFLAGSRUNPATH_BOXT=
201LINKFLAGSRUNPATH_NONE=-install_name '@__________________________________________________NONE/$(@:f)'
199LINKFLAGSRUNPATH_NONE=-install_name '@_______NONE/$(@:f)'
202LINKFLAGS=$(LINKFLAGSDEFS)
203
204# [ed] 5/14/02 If we're building for aqua, add in the objc runtime library into our link line
205.IF "$(GUIBASE)" == "aqua"
206 LINKFLAGS+=-lobjc
207 # Sometimes we still use files that would be in a GUIBASE="unx" specific directory
208 # because they really aren't GUIBASE specific, so we've got to account for that here.
209 INCGUI+= -I$(PRJ)/unx/inc

--- 71 unchanged lines hidden ---
200LINKFLAGS=$(LINKFLAGSDEFS)
201
202# [ed] 5/14/02 If we're building for aqua, add in the objc runtime library into our link line
203.IF "$(GUIBASE)" == "aqua"
204 LINKFLAGS+=-lobjc
205 # Sometimes we still use files that would be in a GUIBASE="unx" specific directory
206 # because they really aren't GUIBASE specific, so we've got to account for that here.
207 INCGUI+= -I$(PRJ)/unx/inc

--- 71 unchanged lines hidden ---