1*1ae08745Sheppo# 2*1ae08745Sheppo# CDDL HEADER START 3*1ae08745Sheppo# 4*1ae08745Sheppo# The contents of this file are subject to the terms of the 5*1ae08745Sheppo# Common Development and Distribution License (the "License"). 6*1ae08745Sheppo# You may not use this file except in compliance with the License. 7*1ae08745Sheppo# 8*1ae08745Sheppo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1ae08745Sheppo# or http://www.opensolaris.org/os/licensing. 10*1ae08745Sheppo# See the License for the specific language governing permissions 11*1ae08745Sheppo# and limitations under the License. 12*1ae08745Sheppo# 13*1ae08745Sheppo# When distributing Covered Code, include this CDDL HEADER in each 14*1ae08745Sheppo# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1ae08745Sheppo# If applicable, add the following below this CDDL HEADER, with the 16*1ae08745Sheppo# fields enclosed by brackets "[]" replaced with your own identifying 17*1ae08745Sheppo# information: Portions Copyright [yyyy] [name of copyright owner] 18*1ae08745Sheppo# 19*1ae08745Sheppo# CDDL HEADER END 20*1ae08745Sheppo# 21*1ae08745Sheppo 22*1ae08745Sheppo# 23*1ae08745Sheppo# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*1ae08745Sheppo# Use is subject to license terms. 25*1ae08745Sheppo# 26*1ae08745Sheppo# ident "%Z%%M% %I% %E% SMI" 27*1ae08745Sheppo# 28*1ae08745Sheppo# This makefile drives the production of the fault_iso kernel module. 29*1ae08745Sheppo# 30*1ae08745Sheppo# sun4v implementation architecture dependent 31*1ae08745Sheppo# 32*1ae08745Sheppo 33*1ae08745Sheppo# 34*1ae08745Sheppo# Path to the base of the uts directory tree (usually /usr/src/uts). 35*1ae08745Sheppo# 36*1ae08745SheppoUTSBASE = ../.. 37*1ae08745Sheppo 38*1ae08745Sheppo# 39*1ae08745Sheppo# Define the module and object file sets. 40*1ae08745Sheppo# 41*1ae08745SheppoMODULE = fault_iso 42*1ae08745SheppoOBJECTS = $(FAULT_ISO_OBJS:%=$(OBJS_DIR)/%) 43*1ae08745SheppoLINTS = $(FAULT_ISO_OBJS:%.o=$(LINTS_DIR)/%.ln) 44*1ae08745SheppoROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) 45*1ae08745Sheppo 46*1ae08745Sheppo# 47*1ae08745Sheppo# Include common rules. 48*1ae08745Sheppo# 49*1ae08745Sheppoinclude $(UTSBASE)/sun4v/Makefile.sun4v 50*1ae08745Sheppo 51*1ae08745Sheppo# 52*1ae08745Sheppo# Define targets 53*1ae08745Sheppo# 54*1ae08745SheppoALL_TARGET = $(BINARY) 55*1ae08745SheppoLINT_TARGET = $(MODULE).lint 56*1ae08745SheppoINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 57*1ae08745Sheppo 58*1ae08745Sheppo# 59*1ae08745Sheppo# lint pass one enforcement 60*1ae08745Sheppo# 61*1ae08745SheppoCFLAGS += -v 62*1ae08745Sheppo 63*1ae08745Sheppo# 64*1ae08745Sheppo# Turn on doubleword alignment for 64 bit registers 65*1ae08745Sheppo# 66*1ae08745SheppoCFLAGS += -dalign 67*1ae08745Sheppo 68*1ae08745Sheppo# 69*1ae08745Sheppo# Module Dependencies 70*1ae08745Sheppo# 71*1ae08745SheppoLDFLAGS += -dy -Nmisc/ds 72*1ae08745Sheppo 73*1ae08745Sheppo# 74*1ae08745Sheppo# Default build targets. 75*1ae08745Sheppo# 76*1ae08745Sheppo.KEEP_STATE: 77*1ae08745Sheppo 78*1ae08745Sheppodef: $(DEF_DEPS) 79*1ae08745Sheppo 80*1ae08745Sheppoall: $(ALL_DEPS) 81*1ae08745Sheppo 82*1ae08745Sheppoclean: $(CLEAN_DEPS) 83*1ae08745Sheppo 84*1ae08745Sheppoclobber: $(CLOBBER_DEPS) 85*1ae08745Sheppo 86*1ae08745Sheppolint: $(LINT_DEPS) 87*1ae08745Sheppo 88*1ae08745Sheppomodlintlib: $(MODLINTLIB_DEPS) 89*1ae08745Sheppo 90*1ae08745Sheppoclean.lint: $(CLEAN_LINT_DEPS) 91*1ae08745Sheppo 92*1ae08745Sheppoinstall: $(INSTALL_DEPS) 93*1ae08745Sheppo 94*1ae08745Sheppo# 95*1ae08745Sheppo# Include common targets. 96*1ae08745Sheppo# 97*1ae08745Sheppoinclude $(UTSBASE)/$(PLATFORM)/Makefile.targ 98