xref: /titanic_51/usr/src/lib/libast/sparc/Makefile (revision 7c2fbfb345896881c631598ee3852ce9ce33fb07)
1da2e3ebdSchin#
2da2e3ebdSchin# CDDL HEADER START
3da2e3ebdSchin#
4da2e3ebdSchin# The contents of this file are subject to the terms of the
5da2e3ebdSchin# Common Development and Distribution License (the "License").
6da2e3ebdSchin# You may not use this file except in compliance with the License.
7da2e3ebdSchin#
8da2e3ebdSchin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da2e3ebdSchin# or http://www.opensolaris.org/os/licensing.
10da2e3ebdSchin# See the License for the specific language governing permissions
11da2e3ebdSchin# and limitations under the License.
12da2e3ebdSchin#
13da2e3ebdSchin# When distributing Covered Code, include this CDDL HEADER in each
14da2e3ebdSchin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15da2e3ebdSchin# If applicable, add the following below this CDDL HEADER, with the
16da2e3ebdSchin# fields enclosed by brackets "[]" replaced with your own identifying
17da2e3ebdSchin# information: Portions Copyright [yyyy] [name of copyright owner]
18da2e3ebdSchin#
19da2e3ebdSchin# CDDL HEADER END
20da2e3ebdSchin#
21*7c2fbfb3SApril Chin
22da2e3ebdSchin#
23*7c2fbfb3SApril Chin# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24da2e3ebdSchin# Use is subject to license terms.
25da2e3ebdSchin#
26*7c2fbfb3SApril Chin
27da2e3ebdSchin
28da2e3ebdSchin# Platform-specific config
29da2e3ebdSchin# Note that "HOSTTYPE" matches the value used by AT&T upstream.
302032ea7bSmeemASTPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).sun4"'
31da2e3ebdSchin
32da2e3ebdSchin# platform-specific sources
33da2e3ebdSchinOBJECTS = \
34*7c2fbfb3SApril Chin	sparc/src/lib/libast/conftab.o \
35*7c2fbfb3SApril Chin	sparc/src/lib/libast/lctab.o
36da2e3ebdSchinOBJDIRS = \
37da2e3ebdSchin	sparc/src/lib/libast
38da2e3ebdSchin
39da2e3ebdSchininclude ../Makefile.com
40da2e3ebdSchin
41da2e3ebdSchin# Use -KPIC since libast is too big for -Kpic on 64bit
42da2e3ebdSchin# (and on 32bit it is close to the barrier)
43da2e3ebdSchinsparc_C_PICFLAGS = $(C_BIGPICFLAGS)
44da2e3ebdSchin
45da2e3ebdSchininstall: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
46