8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libbc / Makefile
blob403ae316a72921de7b7b241a25e0fd7fe0604394
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
28 LIBRARY= libc.a
29 VERS= .1.9
31 # include common library definitions
32 include ../Makefile.lib
34 # There should be a mapfile here
35 MAPFILES =
37 C99MODE= $(C99_DISABLE)
39 # the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../Makefile.lib
40 ROOTLIBDIR= $(ROOT)/usr/4lib
42 DYNLIBS5= libc.so.2.9
44 #DYNLIBS5 is also defined in sparc/Makefile
46 LIBS = $(DYNLIB) $(DYNLIBS5)
48 # dynamic libraries should have executable file mode
49 FILEMODE= 755
51 .KEEP_STATE:
53 all clean clobber: links FRC
54 @cd $(MACH); pwd; $(MAKE) $@
56 install: links $(MACHLIBS) $(ROOTLIBS)
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!!!
65 links:
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
75 # include MACH-specific library targets
76 include ../Makefile.mach