xref: /titanic_44/usr/src/uts/sun4u/schumacher/Makefile.schumacher (revision 90f050286227cf4c4f8aa425555d04723d331d48)
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# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#pragma ident	"%Z%%M%	%I%	%E% SMI"
26#
27#	Global definitions for sun4u implementation specific modules.
28#
29
30#
31#	Define directories.
32#
33ROOT_SCHUMACHER_DIR		= $(ROOT_PLAT_DIR)/SUNW,Netra-CP3010
34ROOT_SCHUMACHER_MOD_DIR		= $(ROOT_SCHUMACHER_DIR)/kernel
35
36ROOT_SCHUMACHER_MISC_DIR_32	= $(ROOT_SCHUMACHER_MOD_DIR)/misc
37ROOT_SCHUMACHER_MISC_DIR_64	= $(ROOT_SCHUMACHER_MISC_DIR_32)/$(SUBDIR64)
38ROOT_SCHUMACHER_DRV_DIR_32	= $(ROOT_SCHUMACHER_MOD_DIR)/drv
39ROOT_SCHUMACHER_DRV_DIR_64	= $(ROOT_SCHUMACHER_DRV_DIR_32)/$(SUBDIR64)
40ROOT_SCHUMACHER_CRYPTO_DIR_32	= $(ROOT_SCHUMACHER_MOD_DIR)/crypto
41ROOT_SCHUMACHER_CRYPTO_DIR_64	= $(ROOT_SCHUMACHER_CRYPTO_DIR_32)/$(SUBDIR64)
42
43ROOT_SCHUMACHER_MISC_DIR	= $(ROOT_SCHUMACHER_MISC_DIR_$(CLASS))
44ROOT_SCHUMACHER_DRV_DIR		= $(ROOT_SCHUMACHER_DRV_DIR_$(CLASS))
45ROOT_SCHUMACHER_CRYPTO_DIR	= $(ROOT_SCHUMACHER_CRYPTO_DIR_$(CLASS))
46
47ROOT_PLAT_MOD_DIRS	+= $(ROOT_SCHUMACHER_MOD_DIR)
48ROOT_PLAT_MISC_DIRS	+= $(ROOT_SCHUMACHER_MISC_DIR)
49
50USR_SCHUMACHER_DIR	= $(USR_PLAT_DIR)/SUNW,Netra-CP3010
51USR_SCHUMACHER_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM)
52USR_SCHUMACHER_INC_DIR	= $(USR_SCHUMACHER_DIR)/include
53USR_SCHUMACHER_ISYS_DIR	= $(USR_SCHUMACHER_INC_DIR)/sys
54USR_SCHUMACHER_SBIN_DIR	= $(USR_SCHUMACHER_DIR)/sbin
55USR_SCHUMACHER_SBIN_EEPROM = $(USR_SCHUMACHER_SBIN_DIR)/eeprom
56USR_SCHUMACHER_SBIN_PRTDIAG = $(USR_SCHUMACHER_SBIN_DIR)/prtdiag
57USR_SCHUMACHER_SBIN_TRAPSTAT = $(USR_SCHUMACHER_SBIN_DIR)/trapstat
58USR_SCHUMACHER_SBIN_FRUADM = $(USR_SCHUMACHER_SBIN_DIR)/fruadm
59USR_SCHUMACHER_LIB_DIR	= $(USR_SCHUMACHER_DIR)/lib
60
61SCHUMACHER_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/schumacher/lint-libs/$(OBJS_DIR)
62
63#
64# Define objects.
65#
66SCHUMACHER_OBJS	= schumacher.o
67
68#
69#	Define modules.
70#
71SCHUMACHER_KMODS	= platmod
72
73#
74#	Links to UltraSparc III cyrpto modules
75#
76SCHUMACHER_CRYPTO_LINKS	= aes
77
78include $(UTSBASE)/sun4u/schumacher/Makefile.files
79
80#
81#	Include common rules.
82#
83include $(UTSBASE)/sun4u/Makefile.sun4u
84