Makefile.montoya revision 1e49577a7fcde812700ded04431b49d67cc57d6d
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# The contents of this file are subject to the terms of the
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# Common Development and Distribution License (the "License").
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic# You may not use this file except in compliance with the License.
4da61833a1cbbca94094f9653fd970582b97a72etrawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4da61833a1cbbca94094f9653fd970582b97a72etrawick# See the License for the specific language governing permissions
4da61833a1cbbca94094f9653fd970582b97a72etrawick# and limitations under the License.
4789804be088bcd86ae637a29cdb7fda25169521jailletc# When distributing Covered Code, include this CDDL HEADER in each
4789804be088bcd86ae637a29cdb7fda25169521jailletc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4789804be088bcd86ae637a29cdb7fda25169521jailletc# If applicable, add the following below this CDDL HEADER, with the
4789804be088bcd86ae637a29cdb7fda25169521jailletc# fields enclosed by brackets "[]" replaced with your own identifying
e50c3026198fd496f183cda4c32a202925476778covener# information: Portions Copyright [yyyy] [name of copyright owner]
e50c3026198fd496f183cda4c32a202925476778covener# CDDL HEADER END
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic# Global definitions for sun4v montoya implementation specific modules.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# Define directories.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavicROOT_MONTOYA_DIR = $(ROOT_PLAT_DIR)/SUNW,Netra-CP3060
69301145375a889e7e37caf7cc7321ac0f91801erpluemROOT_MONTOYA_MOD_DIR = $(ROOT_MONTOYA_DIR)/kernel
69301145375a889e7e37caf7cc7321ac0f91801erpluemROOT_MONTOYA_MISC_DIR_32 = $(ROOT_MONTOYA_DIR)/kernel/misc
69301145375a889e7e37caf7cc7321ac0f91801erpluemROOT_MONTOYA_MISC_DIR_64 = $(ROOT_MONTOYA_MISC_DIR_32)/$(SUBDIR64)
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaROOT_MONTOYA_KERN_DIR_32 = $(ROOT_MONTOYA_MOD_DIR)
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaROOT_MONTOYA_KERN_DIR_64 = $(ROOT_MONTOYA_MOD_DIR)/$(SUBDIR64)
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaROOT_MONTOYA_DRV_DIR_32 = $(ROOT_MONTOYA_MOD_DIR)/drv
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaROOT_MONTOYA_DRV_DIR_64 = $(ROOT_MONTOYA_MOD_DIR)/drv/$(SUBDIR64)
d58a848a016d401b965111e50ef829e1641f7834minfrinROOT_MONTOYA_KERN_DIR = $(ROOT_MONTOYA_KERN_DIR_$(CLASS))
d58a848a016d401b965111e50ef829e1641f7834minfrinROOT_MONTOYA_DRV_DIR = $(ROOT_MONTOYA_DRV_DIR_$(CLASS))
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfROOT_MONTOYA_MISC_DIR = $(ROOT_MONTOYA_MISC_DIR_$(CLASS))
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfROOT_PLAT_MOD_DIRS += $(ROOT_MONTOYA_MOD_DIR)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicROOT_PLAT_MISC_DIRS += $(ROOT_MONTOYA_MISC_DIR)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicROOT_MONTOYA_LIB_DIR = $(ROOT_MONTOYA_DIR)/lib
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicUSR_SUN4V_PLAT_DIR = $(USR_PLAT_DIR)/$(PLATFORM)
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavicUSR_MONTOYA_DIR = $(USR_PLAT_DIR)/SUNW,Netra-CP3060
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavicUSR_MONTOYA_SBIN_DIR = $(USR_MONTOYA_DIR)/sbin
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavicUSR_MONTOYA_INC_DIR = $(USR_MONTOYA_DIR)/include
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicUSR_MONTOYA_LIB_DIR = $(USR_MONTOYA_DIR)/lib
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicUSR_MONTOYA_ISYS_DIR = $(USR_MONTOYA_INC_DIR)/sys
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicUSR_MONTOYA_SBIN_LINKS = $(USR_MONTOYA_SBIN_DIR)/prtdiag
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicMONTOYA_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/montoya/lint-libs/$(OBJS_DIR)
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# Define modules.
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerMONTOYA_KMODS = platmod
44ff304057225e944e220e981d434a046d14cf06covener# Include the makefiles which define build rule templates, the
44ff304057225e944e220e981d434a046d14cf06covener# collection of files per module, and a few specific flags. Note
44ff304057225e944e220e981d434a046d14cf06covener# that order is significant, just as with an include path. The
5d1ba75b8794925e67591c209085a49279791de9covener# first build rule template which matches the files name will be
5d1ba75b8794925e67591c209085a49279791de9covener# used. By including these in order from most machine dependent
5d1ba75b8794925e67591c209085a49279791de9covener# to most machine independent, we allow a machine dependent file
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand# to be used in preference over a machine independent version
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand# (Such as a machine specific optimization, which preserves the
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand# interfaces.)
caad2986f81ab263f7af41467dd622dc9add17f3ylavic# Include common rules.
f7317ff316c2b141feea31bddb74d5d3fa1584edjortoninclude $(UTSBASE)/sun4v/Makefile.sun4v
2165214331e4afafca4048f66f303d0253d7b001covenerMODSTUBS_DIR = $(UNIX_DIR)
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemLINTS_DIR = $(OBJS_DIR)
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemLINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/montoya/lint-libs/$(OBJS_DIR)
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# Define the actual specific platforms
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedoohMACHINE_DEFS += -D$(PLATFORM) -D_MACHDEP
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedoohMACHINE_DEFS += -D_MONTOYA
0b67eb8568cd58bb77082703951679b42cf098actrawick# Define for inline pre-processing since
0b67eb8568cd58bb77082703951679b42cf098actrawick# cpp not smart about v9 yet.
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovenerCPP_DEFS_32 =
09c87c777bed1655621bb20e1c46cb6b1a63279dcovenerCPP_DEFS_64 = -D__sparcv9
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavicCPP_DEFS = $(CPP_DEFS_$(CLASS))