xref: /titanic_41/usr/src/uts/sun4u/enchilada/Makefile.enchilada (revision b509e89b2befbaa42939abad9da1d7f5a8c6aaae)
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 2004 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_ENCHILADA_DIR		= $(ROOT_PLAT_DIR)/SUNW,Sun-Blade-2500
35ROOT_ENCHILADA_MOD_DIR		= $(ROOT_ENCHILADA_DIR)/kernel
36
37ROOT_ENCHILADA_MISC_DIR_32	= $(ROOT_ENCHILADA_MOD_DIR)/misc
38ROOT_ENCHILADA_MISC_DIR_64	= $(ROOT_ENCHILADA_MISC_DIR_32)/$(SUBDIR64)
39ROOT_ENCHILADA_DRV_DIR_32	= $(ROOT_ENCHILADA_MOD_DIR)/drv
40ROOT_ENCHILADA_DRV_DIR_64	= $(ROOT_ENCHILADA_DRV_DIR_32)/$(SUBDIR64)
41ROOT_ENCHILADA_CRYPTO_DIR_32	= $(ROOT_ENCHILADA_MOD_DIR)/crypto
42ROOT_ENCHILADA_CRYPTO_DIR_64	= $(ROOT_ENCHILADA_CRYPTO_DIR_32)/$(SUBDIR64)
43
44ROOT_ENCHILADA_MISC_DIR		= $(ROOT_ENCHILADA_MISC_DIR_$(CLASS))
45ROOT_ENCHILADA_DRV_DIR		= $(ROOT_ENCHILADA_DRV_DIR_$(CLASS))
46ROOT_ENCHILADA_CRYPTO_DIR	= $(ROOT_ENCHILADA_CRYPTO_DIR_$(CLASS))
47
48ROOT_PLAT_MOD_DIRS	+= $(ROOT_ENCHILADA_MOD_DIR)
49ROOT_PLAT_MISC_DIRS	+= $(ROOT_ENCHILADA_MISC_DIR)
50
51USR_ENCHILADA_DIR	= $(USR_PLAT_DIR)/SUNW,Sun-Blade-2500
52USR_ENCHILADA_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM)
53USR_ENCHILADA_INC_DIR	= $(USR_ENCHILADA_DIR)/include
54USR_ENCHILADA_ISYS_DIR	= $(USR_ENCHILADA_INC_DIR)/sys
55USR_ENCHILADA_SBIN_DIR	= $(USR_ENCHILADA_DIR)/sbin
56USR_ENCHILADA_LIB_DIR	= $(USR_ENCHILADA_DIR)/lib
57
58ENCHILADA_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/enchilada/lint-libs/$(OBJS_DIR)
59
60#
61# Define objects.
62#
63ENCHILADA_OBJS	= enchilada.o
64
65#
66#	Define modules.
67#
68ENCHILADA_KMODS	= ppm platmod
69
70#
71#	Links to UltraSparc III cyrpto modules
72#
73ENCHILADA_CRYPTO_LINKS	= aes
74
75include $(UTSBASE)/sun4u/enchilada/Makefile.files
76
77#
78#	Include common rules.
79#
80include $(UTSBASE)/sun4u/Makefile.sun4u
81