xref: /titanic_51/usr/src/uts/sun4u/seattle/Makefile.seattle (revision a31148363f598def767ac48c5d82e1572e44b935)
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 2007 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_PRTDIAG = $(USR_SEATTLE_SBIN_DIR)/prtdiag
57USR_SEATTLE_SBIN_TRAPSTAT = $(USR_SEATTLE_SBIN_DIR)/trapstat
58USR_SEATTLE_SBIN_FRUADM	= $(USR_SEATTLE_SBIN_DIR)/fruadm
59USR_SEATTLE_LIB_DIR	= $(USR_SEATTLE_DIR)/lib
60
61SEATTLE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/seattle/lint-libs/$(OBJS_DIR)
62
63#
64# Define objects.
65#
66SEATTLE_OBJS	= seattle.o
67
68#
69#	Define modules.
70#
71SEATTLE_KMODS	= su platmod
72
73#
74#	Links to UltraSparc III crypto modules
75#
76SEATTLE_CRYPTO_LINKS	= aes
77
78include $(UTSBASE)/sun4u/seattle/Makefile.files
79
80#
81#	Include common rules.
82#
83include $(UTSBASE)/sun4u/Makefile.sun4u
84