xref: /illumos-gate/usr/src/cmd/ast/libast/sparcv9/Makefile (revision b30d193948be5a7794d7ae3ba0ed9c2f72c88e0f)
1*b30d1939SAndy Fiddaman#
2*b30d1939SAndy Fiddaman# CDDL HEADER START
3*b30d1939SAndy Fiddaman#
4*b30d1939SAndy Fiddaman# The contents of this file are subject to the terms of the
5*b30d1939SAndy Fiddaman# Common Development and Distribution License (the "License").
6*b30d1939SAndy Fiddaman# You may not use this file except in compliance with the License.
7*b30d1939SAndy Fiddaman#
8*b30d1939SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*b30d1939SAndy Fiddaman# or http://www.opensolaris.org/os/licensing.
10*b30d1939SAndy Fiddaman# See the License for the specific language governing permissions
11*b30d1939SAndy Fiddaman# and limitations under the License.
12*b30d1939SAndy Fiddaman#
13*b30d1939SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each
14*b30d1939SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*b30d1939SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the
16*b30d1939SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying
17*b30d1939SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner]
18*b30d1939SAndy Fiddaman#
19*b30d1939SAndy Fiddaman# CDDL HEADER END
20*b30d1939SAndy Fiddaman#
21*b30d1939SAndy Fiddaman
22*b30d1939SAndy Fiddaman#
23*b30d1939SAndy Fiddaman# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*b30d1939SAndy Fiddaman# Use is subject to license terms.
25*b30d1939SAndy Fiddaman#
26*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
27*b30d1939SAndy Fiddaman#
28*b30d1939SAndy Fiddaman
29*b30d1939SAndy Fiddaman# Platform-specific config
30*b30d1939SAndy Fiddaman# Note that "HOSTTYPE" matches the value used by AT&T upstream.
31*b30d1939SAndy FiddamanASTPLATFORMCPPFLAGS= '-DHOSTTYPE="sol$(RELEASE_MINOR).sun4"'
32*b30d1939SAndy Fiddaman
33*b30d1939SAndy Fiddaman# platform-specific sources
34*b30d1939SAndy FiddamanOBJECTS= conftab.o lctab.o
35*b30d1939SAndy Fiddaman
36*b30d1939SAndy Fiddamaninclude ../Makefile.com
37*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.lib.64
38*b30d1939SAndy Fiddaman
39*b30d1939SAndy Fiddaman# Use big PIC since libast is too big for pic on 64bit
40*b30d1939SAndy Fiddaman# (and on 32bit it is close to the barrier)
41*b30d1939SAndy Fiddamansparcv9_C_PICFLAGS  = $(C_BIGPICFLAGS)
42*b30d1939SAndy Fiddaman
43*b30d1939SAndy Fiddamaninstall: all $(ROOTLIBS64) $(ROOTLINKS64)
44