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# uts/sun4u/littleneck/Makefile 23# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# This makefile drives the production of all Littleneck system 27# dependent modules for the sun4u architecture. 28# 29 30# 31# Path to the base of the uts directory tree (usually /usr/src/uts). 32# 33UTSBASE = ../.. 34 35# 36# Include common rules. 37# 38include $(UTSBASE)/sun4u/littleneck/Makefile.littleneck 39 40def := TARGET= def 41all := TARGET= all 42install := TARGET= install 43install_h := TARGET= install_h 44clean := TARGET= clean 45clobber := TARGET= clobber 46modlist := TARGET= modlist 47modlist := NO_STATE= -K $$MODSTATE$$$$ 48check := TARGET= check 49 50# 51# Default build targets. 52# 53.KEEP_STATE: 54 55def all clean clobber modlist: $(LITTLENECK_KMODS) 56 57install: $(ROOT_LITTLENECK_DIR) $(USR_LITTLENECK_DIR) \ 58 $(USR_LITTLENECK_INC_DIR) \ 59 $(USR_LITTLENECK_SBIN_DIR) \ 60 $(USR_LITTLENECK_LIB_DIR) \ 61 $(LITTLENECK_CRYPTO_LINKS) \ 62 .WAIT $(LITTLENECK_KMODS) 63 64install_h check: 65 66$(LITTLENECK_KMODS): FRC 67 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) 68 69$(LITTLENECK_CRYPTO_LINKS): $(ROOT_LITTLENECK_CRYPTO_DIR_64) 70 -$(RM) $(ROOT_LITTLENECK_CRYPTO_DIR_64)/$@; 71 $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ \ 72 $(ROOT_LITTLENECK_CRYPTO_DIR_64)/$@ 73 74# 75# 76# Include common targets. 77# 78include $(UTSBASE)/sun4u/littleneck/Makefile.targ 79