Makefile revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968
183N/A#
183N/A# CDDL HEADER START
183N/A#
183N/A# The contents of this file are subject to the terms of the
183N/A# Common Development and Distribution License (the "License").
183N/A# You may not use this file except in compliance with the License.
183N/A#
183N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
183N/A# or http://www.opensolaris.org/os/licensing.
183N/A# See the License for the specific language governing permissions
183N/A# and limitations under the License.
183N/A#
183N/A# When distributing Covered Code, include this CDDL HEADER in each
183N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
183N/A# If applicable, add the following below this CDDL HEADER, with the
183N/A# fields enclosed by brackets "[]" replaced with your own identifying
183N/A# information: Portions Copyright [yyyy] [name of copyright owner]
183N/A#
183N/A# CDDL HEADER END
183N/A#
183N/A#
183N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
183N/A# Use is subject to license terms.
183N/A#
183N/A# ident "%Z%%M% %I% %E% SMI"
183N/A#
# Fetch minor version from RELEASE, e.g. "10" for "5.10", "11" for "5.11" etc.
GETRELEASEMINOR = /usr/bin/ksh -c 'x=$(RELEASE) ; print "$${x$(POUND_SIGN)$(POUND_SIGN)*.}"'
# Platform-specific config
# Note that "HOSTTYPE" matches the value used by AT&T upstream.
ASTPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(GETRELEASEMINOR:sh).i386"'
# platform-specific sources
OBJECTS = \
amd64/src/lib/libast/conftab.o
OBJDIRS = \
amd64/src/lib/libast
include ../Makefile.com
include ../../Makefile.lib.64
# Use -KPIC since libast is too big for -Kpic on 64bit
# (and on 32bit it is close to the barrier)
amd64_C_PICFLAGS = $(C_BIGPICFLAGS)
install: all $(ROOTLIBS64) $(ROOTLINKS64)