xref: /illumos-gate/usr/src/lib/smbsrv/libmlsvc/sparcv9/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
1da6c28aaSamw#
2da6c28aaSamw# CDDL HEADER START
3da6c28aaSamw#
4da6c28aaSamw# The contents of this file are subject to the terms of the
5da6c28aaSamw# Common Development and Distribution License (the "License").
6da6c28aaSamw# You may not use this file except in compliance with the License.
7da6c28aaSamw#
8da6c28aaSamw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da6c28aaSamw# or http://www.opensolaris.org/os/licensing.
10da6c28aaSamw# See the License for the specific language governing permissions
11da6c28aaSamw# and limitations under the License.
12da6c28aaSamw#
13da6c28aaSamw# When distributing Covered Code, include this CDDL HEADER in each
14da6c28aaSamw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15da6c28aaSamw# If applicable, add the following below this CDDL HEADER, with the
16da6c28aaSamw# fields enclosed by brackets "[]" replaced with your own identifying
17da6c28aaSamw# information: Portions Copyright [yyyy] [name of copyright owner]
18da6c28aaSamw#
19da6c28aaSamw# CDDL HEADER END
20da6c28aaSamw#
21da6c28aaSamw#
22da6c28aaSamw# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23da6c28aaSamw# Use is subject to license terms.
24da6c28aaSamw#
25da6c28aaSamw
2655bf511dSas200622MACH_LDLIBS +=	-L$(ROOT)/usr/lib/smbsrv/$(MACH64)
2755bf511dSas200622
28da6c28aaSamwinclude ../Makefile.com
29da6c28aaSamwinclude ../../../Makefile.lib.64
30da6c28aaSamw
3155bf511dSas200622# With the adition of BIND 8.3.3, the symbol table for 64 bit went over
3255bf511dSas200622# the limit for Kpic, so we add -KPIC here, for just the 64 bit SPARC
3355bf511dSas200622# library. This avoids compiling the 32-bit library with PIC unnecessarily.
34e1bf37b1SRichard Lowesparcv9_C_PICFLAGS =	$(sparcv9_C_BIGPICFLAGS)
3555bf511dSas200622
3655bf511dSas200622DYNFLAGS +=	-R/usr/lib/smbsrv/$(MACH64)
3755bf511dSas200622
38*241c90a0SRichard Loweinstall: all $(ROOTLIBS64) $(ROOTLINKS64)
39