xref: /titanic_51/usr/src/uts/sun4u/montecarlo/Makefile.montecarlo (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
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/montecarlo/Makefile.impl
24# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
25# All rights reserved.
26#
27#ident	"%Z%%M%	%I%	%E% SMI"
28#
29#     This makefile contains the common definitions for the
30#     sun4u MonteCarlo system dependent modules.
31#
32
33#
34# Define directories.
35#
36ROOT_MONTECARLO_DIR		= $(ROOT_PLAT_DIR)/SUNW,UltraSPARC-IIi-Netract
37ROOT_MONTECARLO_MOD_DIR		= $(ROOT_MONTECARLO_DIR)/kernel
38
39ROOT_MONTECARLO_KERN_DIR_32	= $(ROOT_MONTECARLO_MOD_DIR)
40ROOT_MONTECARLO_KERN_DIR_64	= $(ROOT_MONTECARLO_MOD_DIR)/$(SUBDIR64)
41ROOT_MONTECARLO_DRV_DIR_32	= $(ROOT_MONTECARLO_MOD_DIR)/drv
42ROOT_MONTECARLO_DACF_DIR_32	= $(ROOT_MONTECARLO_MOD_DIR)/dacf
43ROOT_MONTECARLO_DACF_DIR_64	= $(ROOT_MONTECARLO_MOD_DIR)/dacf/$(SUBDIR64)
44ROOT_MONTECARLO_DRV_DIR_64	= $(ROOT_MONTECARLO_MOD_DIR)/drv/$(SUBDIR64)
45ROOT_MONTECARLO_MISC_DIR_32	= $(ROOT_MONTECARLO_MOD_DIR)/misc
46ROOT_MONTECARLO_MISC_DIR_64	= $(ROOT_MONTECARLO_MOD_DIR)/misc/$(SUBDIR64)
47
48ROOT_MONTECARLO_KERN_DIR	= $(ROOT_MONTECARLO_KERN_DIR_$(CLASS))
49ROOT_MONTECARLO_MISC_DIR	= $(ROOT_MONTECARLO_MISC_DIR_$(CLASS))
50ROOT_MONTECARLO_DRV_DIR		= $(ROOT_MONTECARLO_DRV_DIR_$(CLASS))
51ROOT_MONTECARLO_DACF_DIR	= $(ROOT_MONTECARLO_DACF_DIR_$(CLASS))
52
53ROOT_PLAT_MOD_DIRS	+= $(ROOT_MONTECARLO_MOD_DIR)
54ROOT_PLAT_MISC_DIRS	+= $(ROOT_MONTECARLO_MISC_DIR)
55ROOT_PLAT_MISC_DIRS_32	+= $(ROOT_MONTECARLO_MISC_DIR_32)
56ROOT_PLAT_DRV_DIRS	= $(ROOT_MONTECARLO_DRV_DIR)
57ROOT_PLAT_DACF_DIRS	= $(ROOT_MONTECARLO_DACF_DIR)
58
59USR_MONTECARLO_DIR	= $(USR_PLAT_DIR)/SUNW,UltraSPARC-IIi-Netract
60USR_MONTECARLO_INC_DIR	= $(USR_MONTECARLO_DIR)/include
61USR_MONTECARLO_SBIN_DIR	= $(USR_MONTECARLO_DIR)/sbin
62USR_MONTECARLO_LIB_DIR	= $(USR_MONTECARLO_DIR)/lib
63USR_MONTECARLO_ISYS_DIR	= $(USR_MONTECARLO_INC_DIR)/sys
64
65MONTECARLO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/montecarlo/lint-libs/$(OBJS_DIR)
66
67#
68# Define objects.
69#
70
71#
72# Define modules.
73#
74MONTECARLO_KMODS = acebus pcf8574_nct pcf8591_nct scsb ttymux_dacf
75
76include $(UTSBASE)/sun4u/montecarlo/Makefile.files
77
78#
79#	Include common rules.
80#
81include $(UTSBASE)/sun4u/Makefile.sun4u
82
83#
84# we need the official MONTECARLO name here, and for the sun4u/montecarlo
85# directory and Makefile.montecarlo
86# for now we'll use montecarlo for workspace file/dir names
87# and NORDICA_CP1500 for conditional code compiles, since that's our current
88# test platform
89#
90MACHINE_DEFS    += -DNORDICA_CP1500
91
92