xref: /titanic_52/usr/src/uts/sun4u/seattle/Makefile.seattle (revision f63f7506be0210195779706f51c58646e568cc40)
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#
23# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28#	Global definitions for sun4u implementation specific modules.
29#
30
31#
32#	Define directories.
33#
34ROOT_SEATTLE_DIR		= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-V215
35ROOT_SEATTLE_MOD_DIR		= $(ROOT_SEATTLE_DIR)/kernel
36
37ROOT_SEATTLE_MISC_DIR_32	= $(ROOT_SEATTLE_MOD_DIR)/misc
38ROOT_SEATTLE_MISC_DIR_64	= $(ROOT_SEATTLE_MISC_DIR_32)/$(SUBDIR64)
39ROOT_SEATTLE_DRV_DIR_32		= $(ROOT_SEATTLE_MOD_DIR)/drv
40ROOT_SEATTLE_DRV_DIR_64		= $(ROOT_SEATTLE_DRV_DIR_32)/$(SUBDIR64)
41ROOT_SEATTLE_CRYPTO_DIR_32	= $(ROOT_SEATTLE_MOD_DIR)/crypto
42ROOT_SEATTLE_CRYPTO_DIR_64	= $(ROOT_SEATTLE_CRYPTO_DIR_32)/$(SUBDIR64)
43
44ROOT_SEATTLE_MISC_DIR		= $(ROOT_SEATTLE_MISC_DIR_$(CLASS))
45ROOT_SEATTLE_DRV_DIR		= $(ROOT_SEATTLE_DRV_DIR_$(CLASS))
46ROOT_SEATTLE_CRYPTO_DIR		= $(ROOT_SEATTLE_CRYPTO_DIR_$(CLASS))
47
48ROOT_PLAT_MOD_DIRS	+= $(ROOT_SEATTLE_MOD_DIR)
49ROOT_PLAT_MISC_DIRS	+= $(ROOT_SEATTLE_MISC_DIR)
50
51USR_SEATTLE_DIR		= $(USR_PLAT_DIR)/SUNW,Sun-Fire-V215
52USR_SEATTLE_LINKED_DIR	= $(USR_PLAT_DIR)/$(LINKED_PLATFORM)
53USR_SEATTLE_INC_DIR	= $(USR_SEATTLE_DIR)/include
54USR_SEATTLE_ISYS_DIR	= $(USR_SEATTLE_INC_DIR)/sys
55USR_SEATTLE_SBIN_DIR	= $(USR_SEATTLE_DIR)/sbin
56USR_SEATTLE_SBIN_EEPROM	= $(USR_SEATTLE_SBIN_DIR)/eeprom
57USR_SEATTLE_SBIN_PRTDIAG = $(USR_SEATTLE_SBIN_DIR)/prtdiag
58USR_SEATTLE_SBIN_TRAPSTAT = $(USR_SEATTLE_SBIN_DIR)/trapstat
59USR_SEATTLE_SBIN_FRUADM	= $(USR_SEATTLE_SBIN_DIR)/fruadm
60USR_SEATTLE_LIB_DIR	= $(USR_SEATTLE_DIR)/lib
61
62SEATTLE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/seattle/lint-libs/$(OBJS_DIR)
63
64#
65# Define objects.
66#
67SEATTLE_OBJS	= seattle.o
68
69#
70#	Define modules.
71#
72SEATTLE_KMODS	= su platmod
73
74#
75#	Links to UltraSparc III crypto modules
76#
77SEATTLE_CRYPTO_LINKS	= aes
78
79include $(UTSBASE)/sun4u/seattle/Makefile.files
80
81#
82#	Include common rules.
83#
84include $(UTSBASE)/sun4u/Makefile.sun4u
85