xref: /titanic_41/usr/src/uts/sun4u/littleneck/Makefile.littleneck (revision 269473047d747f7815af570197e4ef7322d3632c)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# uts/sun4u/littleneck/Makefile.littleneck
24# Copyright 1994-2003 Sun Microsystems, Inc.  All rights reserved.
25# Use is subject to license terms.
26#
27#ident	"%Z%%M%	%I%	%E% SMI"
28#
29#	This makefile contains the common definitions for the
30#	sun4u Littleneck system dependent modules.
31#
32
33#
34# Define directories
35#
36ROOT_LITTLENECK_DIR	= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-280R
37ROOT_LITTLENECK_MOD_DIR	= $(ROOT_LITTLENECK_DIR)/kernel
38ROOT_LITTLENECK_KERN_DIR_32 = $(ROOT_LITTLENECK_MOD_DIR)
39ROOT_LITTLENECK_KERN_DIR_64 = $(ROOT_LITTLENECK_MOD_DIR)/$(SUBDIR64)
40ROOT_LITTLENECK_DRV_DIR_32	= $(ROOT_LITTLENECK_MOD_DIR)/drv
41ROOT_LITTLENECK_DRV_DIR_64	= $(ROOT_LITTLENECK_MOD_DIR)/drv/$(SUBDIR64)
42ROOT_LITTLENECK_MISC_DIR_32 = $(ROOT_LITTLENECK_MOD_DIR)/misc
43ROOT_LITTLENECK_MISC_DIR_64 = $(ROOT_LITTLENECK_MOD_DIR)/misc/$(SUBDIR64)
44ROOT_LITTLENECK_CRYPTO_DIR_32 = $(ROOT_LITTLENECK_MOD_DIR)/crypto
45ROOT_LITTLENECK_CRYPTO_DIR_64 = $(ROOT_LITTLENECK_MOD_DIR)/crypto/$(SUBDIR64)
46
47ROOT_LITTLENECK_KERN_DIR	= $(ROOT_LITTLENECK_KERN_DIR_$(CLASS))
48ROOT_LITTLENECK_MISC_DIR	= $(ROOT_LITTLENECK_MISC_DIR_$(CLASS))
49ROOT_LITTLENECK_DRV_DIR		= $(ROOT_LITTLENECK_DRV_DIR_$(CLASS))
50ROOT_LITTLENECK_CRYPTO_DIR	= $(ROOT_LITTLENECK_CRYPTO_DIR_$(CLASS))
51
52ROOT_PLAT_MOD_DIRS	+= $(ROOT_LITTLENECK_MOD_DIR)
53ROOT_PLAT_MISC_DIRS	+= $(ROOT_LITTLENECK_MISC_DIR)
54ROOT_PLAT_MISC_DIRS_32	+= $(ROOT_LITTLENECK_MISC_DIR_32)
55ROOT_PLAT_DRV_DIRS	= $(ROOT_LITTLENECK_DRV_DIR)
56
57USR_LITTLENECK_DIR		= $(USR_PLAT_DIR)/SUNW,Sun-Fire-280R
58USR_LITTLENECK_INC_DIR	= $(USR_LITTLENECK_DIR)/include
59USR_LITTLENECK_SBIN_DIR	= $(USR_LITTLENECK_DIR)/sbin
60USR_LITTLENECK_LIB_DIR	= $(USR_LITTLENECK_DIR)/lib
61USR_LITTLENECK_ISYS_DIR	= $(USR_LITTLENECK_INC_DIR)/sys
62
63LITTLENECK_LINT_LIB_DIR	= $(UTSBASE)/$(PLATFORM)/littleneck/lint-libs/$(OBJS_DIR)
64#
65# Define objects.
66#
67LNECKPLATMOD_OBJS	= littleneck.o
68
69#
70# Define modules
71#
72LITTLENECK_KMODS	= pcf8574 platmod
73
74#
75# Links to UltraSparc III crypto modules
76#
77LITTLENECK_CRYPTO_LINKS	= aes
78
79include $(UTSBASE)/sun4u/littleneck/Makefile.files
80
81#
82#	Include common rules.
83#
84include $(UTSBASE)/sun4u/Makefile.sun4u
85