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]
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
31 # include common library definitions
32 include ..
/Makefile.lib
34 # There should be a mapfile here
37 C99MODE
= $(C99_DISABLE
)
39 # the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../Makefile.lib
40 ROOTLIBDIR
= $(ROOT
)/usr
/4lib
44 #DYNLIBS5 is also defined in sparc/Makefile
46 LIBS
= $(DYNLIB
) $(DYNLIBS5
)
48 # dynamic libraries should have executable file mode
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!!!
66 -$(RM
) sparc
/inc
/machine
67 $(SYMLINK
) sparc sparc
/inc
/machine
68 -$(RM
) inc
/include/machine
69 $(SYMLINK
) sun4 inc
/include/machine
73 $(SYMLINK
) sparc sparc
/inc
/sun4
75 # include MACH-specific library targets
76 include ..
/Makefile.mach