10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 52522Sraf# Common Development and Distribution License (the "License"). 62522Sraf# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 222522Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 260Sstevel@tonic-gate# 272522Sraf 280Sstevel@tonic-gateLIBRARY= libc.a 290Sstevel@tonic-gateVERS= .1.9 300Sstevel@tonic-gate 310Sstevel@tonic-gate# include common library definitions 320Sstevel@tonic-gateinclude ../Makefile.lib 330Sstevel@tonic-gate 342522Sraf# There should be a mapfile here 352522SrafMAPFILES = 362522Sraf 370Sstevel@tonic-gateC99MODE= $(C99_DISABLE) 380Sstevel@tonic-gate 390Sstevel@tonic-gate# the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../Makefile.lib 400Sstevel@tonic-gateROOTLIBDIR= $(ROOT)/usr/4lib 410Sstevel@tonic-gate 420Sstevel@tonic-gateDYNLIBS5= libc.so.2.9 430Sstevel@tonic-gate 440Sstevel@tonic-gate#DYNLIBS5 is also defined in sparc/Makefile 450Sstevel@tonic-gate 460Sstevel@tonic-gateLIBS = $(DYNLIB) $(DYNLIBS5) 470Sstevel@tonic-gate 480Sstevel@tonic-gate# dynamic libraries should have executable file mode 490Sstevel@tonic-gateFILEMODE= 755 500Sstevel@tonic-gate 510Sstevel@tonic-gate.KEEP_STATE: 520Sstevel@tonic-gate 530Sstevel@tonic-gateall clean clobber: links FRC 540Sstevel@tonic-gate @cd $(MACH); pwd; $(MAKE) $@ 550Sstevel@tonic-gate 560Sstevel@tonic-gateinstall: links $(MACHLIBS) $(ROOTLIBS) 570Sstevel@tonic-gate 580Sstevel@tonic-gate# 590Sstevel@tonic-gate# NOTE: all of these processor specific links have been hardcoded 600Sstevel@tonic-gate# into this Makefile. This is because the libbc library 610Sstevel@tonic-gate# is for the Binary Compatiblity Package. The BCP is 62*3517Smp204432# only relevant for Sun4 machines. Future architectures will 630Sstevel@tonic-gate# not use this package!!! 640Sstevel@tonic-gate# 650Sstevel@tonic-gatelinks: 660Sstevel@tonic-gate -$(RM) sparc/inc/machine 670Sstevel@tonic-gate $(SYMLINK) sparc sparc/inc/machine 680Sstevel@tonic-gate -$(RM) inc/include/machine 690Sstevel@tonic-gate $(SYMLINK) sun4 inc/include/machine 700Sstevel@tonic-gate -$(RM) mach 710Sstevel@tonic-gate $(SYMLINK) sparc mach 720Sstevel@tonic-gate -$(RM) sparc/inc/sun4 730Sstevel@tonic-gate $(SYMLINK) sparc sparc/inc/sun4 740Sstevel@tonic-gate 750Sstevel@tonic-gate# include MACH-specific library targets 760Sstevel@tonic-gateinclude ../Makefile.mach 77