1*2305Sstevel# 2*2305Sstevel# CDDL HEADER START 3*2305Sstevel# 4*2305Sstevel# The contents of this file are subject to the terms of the 5*2305Sstevel# Common Development and Distribution License (the "License"). 6*2305Sstevel# You may not use this file except in compliance with the License. 7*2305Sstevel# 8*2305Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*2305Sstevel# or http://www.opensolaris.org/os/licensing. 10*2305Sstevel# See the License for the specific language governing permissions 11*2305Sstevel# and limitations under the License. 12*2305Sstevel# 13*2305Sstevel# When distributing Covered Code, include this CDDL HEADER in each 14*2305Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*2305Sstevel# If applicable, add the following below this CDDL HEADER, with the 16*2305Sstevel# fields enclosed by brackets "[]" replaced with your own identifying 17*2305Sstevel# information: Portions Copyright [yyyy] [name of copyright owner] 18*2305Sstevel# 19*2305Sstevel# CDDL HEADER END 20*2305Sstevel# 21*2305Sstevel 22*2305Sstevel# 23*2305Sstevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*2305Sstevel# Use is subject to license terms. 25*2305Sstevel# 26*2305Sstevel#ident "%Z%%M% %I% %E% SMI" 27*2305Sstevel# 28*2305Sstevel# This makefile drives the production of the lombus driver kernel 29*2305Sstevel# module in the sun4u LW2plus systems 30*2305Sstevel# 31*2305Sstevel 32*2305Sstevel# 33*2305Sstevel# Path to the base of the uts directory tree (usually /usr/src/uts). 34*2305Sstevel# 35*2305SstevelUTSBASE = ../../.. 36*2305Sstevel 37*2305Sstevel# 38*2305Sstevel# Define the module and object file sets. 39*2305Sstevel# 40*2305SstevelMODULE = lombus 41*2305SstevelOBJECTS = $(LOMBUS_OBJS:%=$(OBJS_DIR)/%) 42*2305SstevelLINTS = $(LOMBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) 43*2305SstevelROOTMODULE = $(ROOT_LW2PLUS_DRV_DIR)/$(MODULE) 44*2305SstevelCONF_SRCDIR = $(UTSBASE)/sun4u/lw2plus/io 45*2305Sstevel 46*2305Sstevel# 47*2305Sstevel# Include common rules. 48*2305Sstevel# 49*2305Sstevelinclude $(UTSBASE)/sun4u/lw2plus/Makefile.lw2plus 50*2305Sstevel 51*2305Sstevel# 52*2305Sstevel# Define targets 53*2305Sstevel# 54*2305SstevelALL_TARGET = $(BINARY) $(SRC_CONFILE) 55*2305SstevelLINT_TARGET = $(MODULE).lint 56*2305SstevelINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 57*2305Sstevel 58*2305Sstevel# 59*2305Sstevel# Overrides 60*2305Sstevel# 61*2305SstevelALL_BUILDS = $(ALL_BUILDSONLY64) 62*2305SstevelDEF_BUILDS = $(DEF_BUILDSONLY64) 63*2305SstevelCLEANLINTFILES += $(LINT32_FILES) 64*2305Sstevel 65*2305Sstevel# 66*2305Sstevel# lint pass one enforcement 67*2305Sstevel# 68*2305SstevelCFLAGS += $(CCVERBOSE) 69*2305Sstevel 70*2305Sstevel# 71*2305Sstevel# Turn on doubleword alignment for 64 bit registers 72*2305Sstevel# 73*2305SstevelCFLAGS += -dalign 74*2305Sstevel 75*2305Sstevel# 76*2305Sstevel# Default build targets. 77*2305Sstevel# 78*2305Sstevel.KEEP_STATE: 79*2305Sstevel 80*2305Ssteveldef: $(DEF_DEPS) 81*2305Sstevel 82*2305Sstevelall: $(ALL_DEPS) 83*2305Sstevel 84*2305Sstevelclean: $(CLEAN_DEPS) 85*2305Sstevel 86*2305Sstevelclobber: $(CLOBBER_DEPS) 87*2305Sstevel 88*2305Sstevellint: $(LINT_DEPS) 89*2305Sstevel 90*2305Sstevelmodlintlib: $(MODLINTLIB_DEPS) 91*2305Sstevel 92*2305Sstevelclean.lint: $(CLEAN_LINT_DEPS) 93*2305Sstevel 94*2305Sstevelinstall: $(INSTALL_DEPS) 95*2305Sstevel 96*2305Sstevel# 97*2305Sstevel# Include common targets. 98*2305Sstevel# 99*2305Sstevelinclude $(UTSBASE)/sun4u/lw2plus/Makefile.targ 100