112720SWyllys.Ingersoll@Sun.COM# 212720SWyllys.Ingersoll@Sun.COM# CDDL HEADER START 312720SWyllys.Ingersoll@Sun.COM# 412720SWyllys.Ingersoll@Sun.COM# The contents of this file are subject to the terms of the 512720SWyllys.Ingersoll@Sun.COM# Common Development and Distribution License (the "License"). 612720SWyllys.Ingersoll@Sun.COM# You may not use this file except in compliance with the License. 712720SWyllys.Ingersoll@Sun.COM# 812720SWyllys.Ingersoll@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 912720SWyllys.Ingersoll@Sun.COM# or http://www.opensolaris.org/os/licensing. 1012720SWyllys.Ingersoll@Sun.COM# See the License for the specific language governing permissions 1112720SWyllys.Ingersoll@Sun.COM# and limitations under the License. 1212720SWyllys.Ingersoll@Sun.COM# 1312720SWyllys.Ingersoll@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 1412720SWyllys.Ingersoll@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1512720SWyllys.Ingersoll@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 1612720SWyllys.Ingersoll@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 1712720SWyllys.Ingersoll@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 1812720SWyllys.Ingersoll@Sun.COM# 1912720SWyllys.Ingersoll@Sun.COM# CDDL HEADER END 2012720SWyllys.Ingersoll@Sun.COM# 2112720SWyllys.Ingersoll@Sun.COM 2212720SWyllys.Ingersoll@Sun.COM# 2312720SWyllys.Ingersoll@Sun.COM# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2412720SWyllys.Ingersoll@Sun.COM# 2512720SWyllys.Ingersoll@Sun.COM 2612720SWyllys.Ingersoll@Sun.COM 2712720SWyllys.Ingersoll@Sun.COMinclude ../Makefile.com 2812720SWyllys.Ingersoll@Sun.COMinclude $(SRC)/lib/Makefile.lib.64 2912720SWyllys.Ingersoll@Sun.COM 30*12749SWyllys.Ingersoll@Sun.COM# 31*12749SWyllys.Ingersoll@Sun.COM# CCNEEDED must be modified for 64-bit because the default only includes 32*12749SWyllys.Ingersoll@Sun.COM# -lCrun 33*12749SWyllys.Ingersoll@Sun.COM# 34*12749SWyllys.Ingersoll@Sun.COMCCNEEDED = -lCstd -lCrun 35*12749SWyllys.Ingersoll@Sun.COM 36*12749SWyllys.Ingersoll@Sun.COM# 37*12749SWyllys.Ingersoll@Sun.COM# If linking with gcc, we must fix the CCNEEDED and LDLIBS64 38*12749SWyllys.Ingersoll@Sun.COM# to get a clean link without duplicates. 39*12749SWyllys.Ingersoll@Sun.COM# 4012735SWyllys.Ingersoll@Sun.COM$(__GNUC)CCNEEDED = -L$(SFWLIBDIR) -R$(SFWLIBDIR) -lstdc++ -lgcc_s 41*12749SWyllys.Ingersoll@Sun.COM$(__GNUC)LDLIBS64 += $(CCNEEDED) 4212735SWyllys.Ingersoll@Sun.COM 4312720SWyllys.Ingersoll@Sun.COMinstall: all $(ROOTLIBS64) $(ROOTLINKS64) 44