xref: /titanic_41/usr/src/uts/sun4u/cherrystone/Makefile.cherrystone (revision 25cf1a301a396c38e8adf52c15f537b80d2483f7)
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/cherrystone/Makefile.cherrystone
24# Copyright 2004 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_CHERRYSTONE_DIR	= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-480R
37ROOT_CHERRYSTONE_MOD_DIR	= $(ROOT_CHERRYSTONE_DIR)/kernel
38ROOT_CHERRYSTONE_KERN_DIR_32 = $(ROOT_CHERRYSTONE_MOD_DIR)
39ROOT_CHERRYSTONE_KERN_DIR_64 = $(ROOT_CHERRYSTONE_MOD_DIR)/$(SUBDIR64)
40ROOT_CHERRYSTONE_DRV_DIR_32	= $(ROOT_CHERRYSTONE_MOD_DIR)/drv
41ROOT_CHERRYSTONE_DRV_DIR_64	= $(ROOT_CHERRYSTONE_MOD_DIR)/drv/$(SUBDIR64)
42ROOT_CHERRYSTONE_MISC_DIR_32 = $(ROOT_CHERRYSTONE_MOD_DIR)/misc
43ROOT_CHERRYSTONE_MISC_DIR_64 = $(ROOT_CHERRYSTONE_MOD_DIR)/misc/$(SUBDIR64)
44ROOT_CHERRYSTONE_CRYPTO_DIR_32 = $(ROOT_CHERRYSTONE_MOD_DIR)/crypto
45ROOT_CHERRYSTONE_CRYPTO_DIR_64 = $(ROOT_CHERRYSTONE_MOD_DIR)/crypto/$(SUBDIR64)
46
47ROOT_CHERRYSTONE_KERN_DIR	= $(ROOT_CHERRYSTONE_KERN_DIR_$(CLASS))
48ROOT_CHERRYSTONE_MISC_DIR	= $(ROOT_CHERRYSTONE_MISC_DIR_$(CLASS))
49ROOT_CHERRYSTONE_DRV_DIR	= $(ROOT_CHERRYSTONE_DRV_DIR_$(CLASS))
50ROOT_CHERRYSTONE_CRYPTO_DIR	= $(ROOT_CHERRYSTONE_CRYPTO_DIR_$(CLASS))
51
52ROOT_PLAT_MOD_DIRS	+= $(ROOT_CHERRYSTONE_MOD_DIR)
53ROOT_PLAT_MISC_DIRS	+= $(ROOT_CHERRYSTONE_MISC_DIR)
54ROOT_PLAT_MISC_DIRS_32	+= $(ROOT_CHERRYSTONE_MISC_DIR_32)
55ROOT_PLAT_DRV_DIRS	= $(ROOT_CHERRYSTONE_DRV_DIR)
56
57USR_CHERRYSTONE_DIR		= $(USR_PLAT_DIR)/SUNW,Sun-Fire-480R
58USR_CHERRYSTONE_INC_DIR	= $(USR_CHERRYSTONE_DIR)/include
59USR_CHERRYSTONE_SBIN_DIR	= $(USR_CHERRYSTONE_DIR)/sbin
60USR_CHERRYSTONE_LIB_DIR	= $(USR_CHERRYSTONE_DIR)/lib
61USR_CHERRYSTONE_ISYS_DIR	= $(USR_CHERRYSTONE_INC_DIR)/sys
62
63CHERRYSTONE_LINT_LIB_DIR	= $(UTSBASE)/$(PLATFORM)/cherrystone/lint-libs/$(OBJS_DIR)
64#
65# Define objects.
66#
67CSTONEPLATMOD_OBJS	= cherrystone.o cherrystone_asm.o
68
69#
70# Define modules
71#
72CHERRYSTONE_KMODS	= platmod
73
74#
75# Links to UltraSparc III crypto modules
76#
77CHERRYSTONE_CRYPTO_LINKS	= aes
78
79include $(UTSBASE)/sun4u/cherrystone/Makefile.files
80
81#
82#	Include common rules.
83#
84include $(UTSBASE)/sun4u/Makefile.sun4u
85