xref: /titanic_41/usr/src/uts/sun4u/daktari/Makefile.daktari (revision 6185db853e024a486ff8837e6784dd290d866112)
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/daktari/Makefile.daktari
24# Copyright 2000-2003 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 Daktari system dependent modules.
31#
32
33#
34# Define directories
35#
36ROOT_DAKTARI_DIR	= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-880
37ROOT_DAKTARI_MOD_DIR	= $(ROOT_DAKTARI_DIR)/kernel
38ROOT_DAKTARI_KERN_DIR_32 = $(ROOT_DAKTARI_MOD_DIR)
39ROOT_DAKTARI_KERN_DIR_64 = $(ROOT_DAKTARI_MOD_DIR)/$(SUBDIR64)
40ROOT_DAKTARI_DRV_DIR_32	= $(ROOT_DAKTARI_MOD_DIR)/drv
41ROOT_DAKTARI_DRV_DIR_64	= $(ROOT_DAKTARI_MOD_DIR)/drv/$(SUBDIR64)
42ROOT_DAKTARI_MISC_DIR_32 = $(ROOT_DAKTARI_MOD_DIR)/misc
43ROOT_DAKTARI_MISC_DIR_64 = $(ROOT_DAKTARI_MOD_DIR)/misc/$(SUBDIR64)
44ROOT_DAKTARI_CRYPTO_DIR_32 = $(ROOT_DAKTARI_MOD_DIR)/crypto
45ROOT_DAKTARI_CRYPTO_DIR_64 = $(ROOT_DAKTARI_MOD_DIR)/crypto/$(SUBDIR64)
46
47ROOT_DAKTARI_KERN_DIR	= $(ROOT_DAKTARI_KERN_DIR_$(CLASS))
48ROOT_DAKTARI_MISC_DIR	= $(ROOT_DAKTARI_MISC_DIR_$(CLASS))
49ROOT_DAKTARI_DRV_DIR	= $(ROOT_DAKTARI_DRV_DIR_$(CLASS))
50ROOT_DAKTARI_CRYPTO_DIR	= $(ROOT_DAKTARI_CRYPTO_DIR_$(CLASS))
51
52ROOT_PLAT_MOD_DIRS	+= $(ROOT_DAKTARI_MOD_DIR)
53ROOT_PLAT_MISC_DIRS	+= $(ROOT_DAKTARI_MISC_DIR)
54ROOT_PLAT_MISC_DIRS_32	+= $(ROOT_DAKTARI_MISC_DIR_32)
55ROOT_PLAT_DRV_DIRS	= $(ROOT_DAKTARI_DRV_DIR)
56
57USR_DAKTARI_DIR		= $(USR_PLAT_DIR)/SUNW,Sun-Fire-880
58USR_DAKTARI_INC_DIR	= $(USR_DAKTARI_DIR)/include
59USR_DAKTARI_SBIN_DIR	= $(USR_DAKTARI_DIR)/sbin
60USR_DAKTARI_LIB_DIR	= $(USR_DAKTARI_DIR)/lib
61USR_DAKTARI_ISYS_DIR	= $(USR_DAKTARI_INC_DIR)/sys
62
63DAKTARI_LINT_LIB_DIR	= $(UTSBASE)/$(PLATFORM)/daktari/lint-libs/$(OBJS_DIR)
64
65#
66# Define objects.
67
68DAKTARI_OBJS	= daktari.o daktari_asm.o
69
70#
71# Define modules
72#
73DAKTARI_KMODS	= platmod hpc3130
74
75#
76# Links to UltraSparc III crypto modules
77#
78DAKTARI_CRYPTO_LINKS	= aes
79
80include $(UTSBASE)/sun4u/daktari/Makefile.files
81
82#
83#	Include common rules.
84#
85include $(UTSBASE)/sun4u/Makefile.sun4u
86