1*92d53ff1SJosef 'Jeff' Sipek# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*92d53ff1SJosef 'Jeff' Sipek# Common Development and Distribution License (the "License"). 6*92d53ff1SJosef 'Jeff' Sipek# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21*92d53ff1SJosef 'Jeff' Sipek 22*92d53ff1SJosef 'Jeff' Sipek# 23*92d53ff1SJosef 'Jeff' Sipek# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24fb9f9b97Skupfer# Use is subject to license terms. 257c478bd9Sstevel@tonic-gate# 26*92d53ff1SJosef 'Jeff' Sipek# This makefile contains the common definitions for the 27*92d53ff1SJosef 'Jeff' Sipek# sun4u Javelin system dependent modules. 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate 30*92d53ff1SJosef 'Jeff' Sipek# 31*92d53ff1SJosef 'Jeff' Sipek# Define directories 32*92d53ff1SJosef 'Jeff' Sipek# 33*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_DIR = $(ROOT_PLAT_DIR)/SUNW,Ultra-250 34*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_MOD_DIR = $(ROOT_JAVELIN_DIR)/kernel 35*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_KERN_DIR_32 = $(ROOT_JAVELIN_MOD_DIR) 36*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_KERN_DIR_64 = $(ROOT_JAVELIN_MOD_DIR)/$(SUBDIR64) 37*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_DRV_DIR_32 = $(ROOT_JAVELIN_MOD_DIR)/drv 38*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_DRV_DIR_64 = $(ROOT_JAVELIN_MOD_DIR)/drv/$(SUBDIR64) 39*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_MISC_DIR_32 = $(ROOT_JAVELIN_MOD_DIR)/misc 40*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_MISC_DIR_64 = $(ROOT_JAVELIN_MOD_DIR)/misc/$(SUBDIR64) 417c478bd9Sstevel@tonic-gate 42*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_KERN_DIR = $(ROOT_JAVELIN_KERN_DIR_$(CLASS)) 43*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_MISC_DIR = $(ROOT_JAVELIN_MISC_DIR_$(CLASS)) 44*92d53ff1SJosef 'Jeff' SipekROOT_JAVELIN_DRV_DIR = $(ROOT_JAVELIN_DRV_DIR_$(CLASS)) 45*92d53ff1SJosef 'Jeff' Sipek 46*92d53ff1SJosef 'Jeff' SipekROOT_PLAT_MOD_DIRS += $(ROOT_JAVELIN_MOD_DIR) 47*92d53ff1SJosef 'Jeff' SipekROOT_PLAT_MISC_DIRS += $(ROOT_JAVELIN_MISC_DIR) 48*92d53ff1SJosef 'Jeff' SipekROOT_PLAT_MISC_DIRS_32 += $(ROOT_JAVELIN_MISC_DIR_32) 49*92d53ff1SJosef 'Jeff' SipekROOT_PLAT_DRV_DIRS = $(ROOT_JAVELIN_DRV_DIR) 50*92d53ff1SJosef 'Jeff' Sipek 51*92d53ff1SJosef 'Jeff' SipekUSR_JAVELIN_DIR = $(USR_PLAT_DIR)/SUNW,Ultra-250 52*92d53ff1SJosef 'Jeff' SipekUSR_JAVELIN_INC_DIR = $(USR_JAVELIN_DIR)/include 53*92d53ff1SJosef 'Jeff' SipekUSR_JAVELIN_SBIN_DIR = $(USR_JAVELIN_DIR)/sbin 54*92d53ff1SJosef 'Jeff' SipekUSR_JAVELIN_LIB_DIR = $(USR_JAVELIN_DIR)/lib 55*92d53ff1SJosef 'Jeff' SipekUSR_JAVELIN_ISYS_DIR = $(USR_JAVELIN_INC_DIR)/sys 56*92d53ff1SJosef 'Jeff' Sipek 57*92d53ff1SJosef 'Jeff' SipekJAVELIN_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/javelin/lint-libs/$(OBJS_DIR) 58*92d53ff1SJosef 'Jeff' Sipek 59*92d53ff1SJosef 'Jeff' Sipek# 60*92d53ff1SJosef 'Jeff' Sipek# Define objects. 61*92d53ff1SJosef 'Jeff' Sipek# 62*92d53ff1SJosef 'Jeff' SipekJAVELIN_OBJS = javelin.o 63*92d53ff1SJosef 'Jeff' Sipek 64*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/javelin/Makefile.files 65*92d53ff1SJosef 'Jeff' Sipek 66*92d53ff1SJosef 'Jeff' Sipek# 67*92d53ff1SJosef 'Jeff' Sipek# Include common rules. 68*92d53ff1SJosef 'Jeff' Sipek# 69*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/Makefile.sun4u 70*92d53ff1SJosef 'Jeff' Sipek 71*92d53ff1SJosef 'Jeff' Sipek# 72*92d53ff1SJosef 'Jeff' Sipek# Define modules (must come after Makefile.sun4u) 73*92d53ff1SJosef 'Jeff' Sipek# 74*92d53ff1SJosef 'Jeff' SipekJAVELIN_KMODS = platmod 75*92d53ff1SJosef 'Jeff' SipekJAVELIN_KMODS += envctrltwo 76*92d53ff1SJosef 'Jeff' Sipek 77