1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25# ident "%Z%%M% %I% %E% SMI" 26# 27 28LIBRARY= libc.a 29VERS= .1.9 30 31# include common library definitions 32include ../Makefile.lib 33 34# There should be a mapfile here 35MAPFILES = 36 37C99MODE= $(C99_DISABLE) 38 39# the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../Makefile.lib 40ROOTLIBDIR= $(ROOT)/usr/4lib 41 42DYNLIBS5= libc.so.2.9 43 44#DYNLIBS5 is also defined in sparc/Makefile 45 46LIBS = $(DYNLIB) $(DYNLIBS5) 47 48# dynamic libraries should have executable file mode 49FILEMODE= 755 50 51.KEEP_STATE: 52 53all clean clobber: links FRC 54 @cd $(MACH); pwd; $(MAKE) $@ 55 56install: links $(MACHLIBS) $(ROOTLIBS) 57 58# 59# NOTE: all of these processor specific links have been hardcoded 60# into this Makefile. This is because the libbc library 61# is for the Binary Compatiblity Package. The BCP is 62# only relevant for Sun4 machines. Future architectures will 63# not use this package!!! 64# 65links: 66 -$(RM) sparc/inc/machine 67 $(SYMLINK) sparc sparc/inc/machine 68 -$(RM) inc/include/machine 69 $(SYMLINK) sun4 inc/include/machine 70 -$(RM) mach 71 $(SYMLINK) sparc mach 72 -$(RM) sparc/inc/sun4 73 $(SYMLINK) sparc sparc/inc/sun4 74 75# include MACH-specific library targets 76include ../Makefile.mach 77