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/littleneck/Makefile
23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 #ident "%Z%%M% %I% %E% SMI"
28 # This makefile drives the production of all Littleneck system
29 # dependent modules for the sun4u architecture.
33 # Path to the base of the uts directory tree (usually /usr/src/uts).
38 # Include common rules.
40 include $(UTSBASE
)/sun4u
/littleneck
/Makefile.littleneck
44 install := TARGET
= install
45 install_h
:= TARGET
= install_h
46 clean := TARGET
= clean
47 clobber := TARGET
= clobber
48 modlist
:= TARGET
= modlist
49 modlist
:= NO_STATE
= -K
$$MODSTATE$$$$
50 check := TARGET
= check
53 # Default build targets.
57 def
all clean clobber modlist
: $(LITTLENECK_KMODS
)
59 install: $(ROOT_LITTLENECK_DIR
) $(USR_LITTLENECK_DIR
) \
60 $(USR_LITTLENECK_INC_DIR
) \
61 $(USR_LITTLENECK_SBIN_DIR
) \
62 $(USR_LITTLENECK_LIB_DIR
) \
63 $(LITTLENECK_CRYPTO_LINKS
) \
64 .WAIT
$(LITTLENECK_KMODS
)
68 $(LITTLENECK_KMODS
): FRC
69 @cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
)
71 $(LITTLENECK_CRYPTO_LINKS
): $(ROOT_LITTLENECK_CRYPTO_DIR_64
)
72 -$(RM
) $(ROOT_LITTLENECK_CRYPTO_DIR_64
)/$@
;
73 $(SYMLINK
) $(ROOT_US3_CRYPTO_LINK
)/$@ \
74 $(ROOT_LITTLENECK_CRYPTO_DIR_64
)/$@
78 # Include common targets.
80 include $(UTSBASE
)/sun4u
/littleneck
/Makefile.targ