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 # uts/sun4u/excalibur/Makefile
24 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 # This makefile drives the production of the sun4u excalibur platform
32 # sun4u implementation architecture dependent
36 # Path to the base of the uts directory tree (usually /usr/src/uts).
41 # Include common rules.
43 include $(UTSBASE
)/sun4u
/excalibur
/Makefile.excalibur
47 install := TARGET
= install
48 install_h
:= TARGET
= install_h
49 clean := TARGET
= clean
50 clobber := TARGET
= clobber
51 modlist
:= TARGET
= modlist
52 modlist
:= NO_STATE
= -K
$$MODSTATE$$$$
53 check := TARGET
= check
56 # Default build targets.
60 def
all clean clobber modlist
: $(EXCALIBUR_KMODS
)
62 install: $(ROOT_EXCALIBUR_DIR
) \
63 $(USR_EXCALIBUR_DIR
) \
64 $(USR_EXCALIBUR_INC_DIR
) \
65 $(USR_EXCALIBUR_SBIN_DIR
) \
66 $(USR_EXCALIBUR_LIB_DIR
) \
67 $(EXCALIBUR_CRYPTO_LINKS
) \
72 $(EXCALIBUR_KMODS
): FRC
73 @cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
)
75 $(EXCALIBUR_CRYPTO_LINKS
): $(ROOT_EXCALIBUR_CRYPTO_DIR_64
)
76 -$(RM
) $(ROOT_EXCALIBUR_CRYPTO_DIR_64
)/$@
;
77 $(SYMLINK
) $(ROOT_US3_CRYPTO_LINK
)/$@
$(ROOT_EXCALIBUR_CRYPTO_DIR_64
)/$@
80 # Include common targets.
82 include $(UTSBASE
)/sun4u
/excalibur
/Makefile.targ