xref: /titanic_52/usr/src/uts/sun4u/chicago/Makefile.chicago (revision ea8dc4b6d2251b437950c0056bc626b311c73c27)
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# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#pragma ident	"%Z%%M%	%I%	%E% SMI"
27#
28#	Global definitions for sun4u implementation specific modules.
29#
30
31#
32#	Define directories.
33#
34ROOT_CHICAGO_DIR               = $(ROOT_PLAT_DIR)/SUNW,A70
35ROOT_CHICAGO_MOD_DIR		= $(ROOT_CHICAGO_DIR)/kernel
36
37ROOT_CHICAGO_MISC_DIR_32	= $(ROOT_CHICAGO_MOD_DIR)/misc
38ROOT_CHICAGO_MISC_DIR_64	= $(ROOT_CHICAGO_MISC_DIR_32)/$(SUBDIR64)
39ROOT_CHICAGO_DRV_DIR_32	= $(ROOT_CHICAGO_MOD_DIR)/drv
40ROOT_CHICAGO_DRV_DIR_64	= $(ROOT_CHICAGO_DRV_DIR_32)/$(SUBDIR64)
41ROOT_CHICAGO_CRYPTO_DIR_32	= $(ROOT_CHICAGO_MOD_DIR)/crypto
42ROOT_CHICAGO_CRYPTO_DIR_64	= $(ROOT_CHICAGO_CRYPTO_DIR_32)/$(SUBDIR64)
43
44ROOT_CHICAGO_MISC_DIR		= $(ROOT_CHICAGO_MISC_DIR_$(CLASS))
45ROOT_CHICAGO_DRV_DIR		= $(ROOT_CHICAGO_DRV_DIR_$(CLASS))
46ROOT_CHICAGO_CRYPTO_DIR	= $(ROOT_CHICAGO_CRYPTO_DIR_$(CLASS))
47
48ROOT_PLAT_MOD_DIRS	+= $(ROOT_CHICAGO_MOD_DIR)
49ROOT_PLAT_MISC_DIRS	+= $(ROOT_CHICAGO_MISC_DIR)
50
51USR_CHICAGO_DIR        = $(USR_PLAT_DIR)/SUNW,A70
52USR_CHICAGO_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM)
53USR_CHICAGO_INC_DIR	= $(USR_CHICAGO_DIR)/include
54USR_CHICAGO_ISYS_DIR	= $(USR_CHICAGO_INC_DIR)/sys
55USR_CHICAGO_SBIN_DIR	= $(USR_CHICAGO_DIR)/sbin
56USR_CHICAGO_LIB_DIR	= $(USR_CHICAGO_DIR)/lib
57
58CHICAGO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/chicago/lint-libs/$(OBJS_DIR)
59
60#
61# Define objects.
62#
63CHICAGO_OBJS	= chicago.o
64
65#
66#	Define modules.
67#
68CHICAGO_KMODS	= ppm platmod
69
70#
71#	Links to UltraSparc III cyrpto modules
72#
73CHICAGO_CRYPTO_LINKS	= aes
74
75include $(UTSBASE)/sun4u/chicago/Makefile.files
76
77#
78#	Include common rules.
79#
80include $(UTSBASE)/sun4u/Makefile.sun4u
81