xref: /titanic_51/usr/src/uts/sun4u/excalibur/Makefile.excalibur (revision 749f21d359d8fbd020c974a1a5227316221bfc9c)
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/excalibur/Makefile.excalibur
24#
25# Copyright 1999-2003 Sun Microsystems, Inc.  All rights reserved.
26# Use is subject to license terms.
27#
28#pragma ident	"%Z%%M%	%I%	%E% SMI"
29#
30#	Global definitions for sun4u implementation specific modules.
31#
32
33#
34#	Define directories.
35#
36ROOT_EXCALIBUR_DIR		= $(ROOT_PLAT_DIR)/SUNW,Sun-Blade-1000
37ROOT_EXCALIBUR_MOD_DIR		= $(ROOT_EXCALIBUR_DIR)/kernel
38
39ROOT_EXCALIBUR_MISC_DIR_32	= $(ROOT_EXCALIBUR_MOD_DIR)/misc
40ROOT_EXCALIBUR_MISC_DIR_64	= $(ROOT_EXCALIBUR_MISC_DIR_32)/$(SUBDIR64)
41ROOT_EXCALIBUR_DRV_DIR_32	= $(ROOT_EXCALIBUR_MOD_DIR)/drv
42ROOT_EXCALIBUR_DRV_DIR_64	= $(ROOT_EXCALIBUR_DRV_DIR_32)/$(SUBDIR64)
43ROOT_EXCALIBUR_CRYPTO_DIR_32	= $(ROOT_EXCALIBUR_MOD_DIR)/crypto
44ROOT_EXCALIBUR_CRYPTO_DIR_64	= $(ROOT_EXCALIBUR_CRYPTO_DIR_32)/$(SUBDIR64)
45
46ROOT_EXCALIBUR_MISC_DIR		= $(ROOT_EXCALIBUR_MISC_DIR_$(CLASS))
47ROOT_EXCALIBUR_DRV_DIR		= $(ROOT_EXCALIBUR_DRV_DIR_$(CLASS))
48ROOT_EXCALIBUR_CRYPTO_DIR	= $(ROOT_EXCALIBUR_CRYPTO_DIR_$(CLASS))
49
50ROOT_PLAT_MOD_DIRS	+= $(ROOT_EXCALIBUR_MOD_DIR)
51ROOT_PLAT_MISC_DIRS	+= $(ROOT_EXCALIBUR_MISC_DIR)
52
53USR_EXCALIBUR_DIR	= $(USR_PLAT_DIR)/SUNW,Sun-Blade-1000
54USR_EXCALIBUR_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM)
55USR_EXCALIBUR_INC_DIR	= $(USR_EXCALIBUR_DIR)/include
56USR_EXCALIBUR_ISYS_DIR	= $(USR_EXCALIBUR_INC_DIR)/sys
57USR_EXCALIBUR_SBIN_DIR	= $(USR_EXCALIBUR_DIR)/sbin
58USR_EXCALIBUR_LIB_DIR	= $(USR_EXCALIBUR_DIR)/lib
59
60EXCALIBUR_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/excalibur/lint-libs/$(OBJS_DIR)
61
62#
63# Define objects.
64#
65EXCALIBUR_OBJS	= excalibur.o
66
67#
68#	Define modules.
69#
70EXCALIBUR_KMODS	= xcalppm xcalwd platmod
71
72#
73#	Links to UltraSparc III crypto modules
74#
75EXCALIBUR_CRYPTO_LINKS	= aes
76
77include $(UTSBASE)/sun4u/excalibur/Makefile.files
78
79#
80#	Include common rules.
81#
82include $(UTSBASE)/sun4u/Makefile.sun4u
83