11c42de6dSgd78059# 21c42de6dSgd78059# CDDL HEADER START 31c42de6dSgd78059# 41c42de6dSgd78059# The contents of this file are subject to the terms of the 51c42de6dSgd78059# Common Development and Distribution License (the "License"). 61c42de6dSgd78059# You may not use this file except in compliance with the License. 71c42de6dSgd78059# 81c42de6dSgd78059# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91c42de6dSgd78059# or http://www.opensolaris.org/os/licensing. 101c42de6dSgd78059# See the License for the specific language governing permissions 111c42de6dSgd78059# and limitations under the License. 121c42de6dSgd78059# 131c42de6dSgd78059# When distributing Covered Code, include this CDDL HEADER in each 141c42de6dSgd78059# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151c42de6dSgd78059# If applicable, add the following below this CDDL HEADER, with the 161c42de6dSgd78059# fields enclosed by brackets "[]" replaced with your own identifying 171c42de6dSgd78059# information: Portions Copyright [yyyy] [name of copyright owner] 181c42de6dSgd78059# 191c42de6dSgd78059# CDDL HEADER END 201c42de6dSgd78059# 211c42de6dSgd78059# 221c42de6dSgd78059# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 231c42de6dSgd78059# Use is subject to license terms. 241c42de6dSgd78059# 25*7014882cSRichard Lowe 261c42de6dSgd78059# 271c42de6dSgd78059# This makefile drives the production of the sun4u "bscv" driver module. 281c42de6dSgd78059# 291c42de6dSgd78059# sun4u implementation architecture dependent 301c42de6dSgd78059# 311c42de6dSgd78059 321c42de6dSgd78059# 331c42de6dSgd78059# Path to the base of the uts directory tree (usually /usr/src/uts). 341c42de6dSgd78059# 351c42de6dSgd78059UTSBASE = ../../.. 361c42de6dSgd78059 371c42de6dSgd78059# 381c42de6dSgd78059# Define the module and object file sets. 391c42de6dSgd78059# 401c42de6dSgd78059MODULE = bscv 411c42de6dSgd78059OBJECTS = $(BSCV_OBJS:%=$(OBJS_DIR)/%) 421c42de6dSgd78059LINTS = $(BSCV_OBJS:%.o=$(LINTS_DIR)/%.ln) 431c42de6dSgd78059ROOTMODULE = $(ROOT_BLADE_DRV_DIR)/$(MODULE) 441c42de6dSgd78059CONF_SRCDIR = $(UTSBASE)/sun4u/blade/io 451c42de6dSgd78059 461c42de6dSgd78059# 471c42de6dSgd78059# Include common rules. 481c42de6dSgd78059# 491c42de6dSgd78059include $(UTSBASE)/sun4u/blade/Makefile.blade 501c42de6dSgd78059 511c42de6dSgd78059# 521c42de6dSgd78059# Overrides 531c42de6dSgd78059# 541c42de6dSgd78059ALL_BUILDS = $(ALL_BUILDSONLY64) 551c42de6dSgd78059DEF_BUILDS = $(DEF_BUILDSONLY64) 561c42de6dSgd78059CLEANLINTFILES += $(LINT32_FILES) 571c42de6dSgd78059 581c42de6dSgd78059# 591c42de6dSgd78059# Define targets 601c42de6dSgd78059# 611c42de6dSgd78059ALL_TARGET = $(BINARY) $(SRC_CONFFILE) 621c42de6dSgd78059LINT_TARGET = $(MODULE).lint 631c42de6dSgd78059INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 641c42de6dSgd78059 651c42de6dSgd78059# 661c42de6dSgd78059# lint pass one enforcement 671c42de6dSgd78059# 681c42de6dSgd78059CFLAGS += $(CCVERBOSE) 69*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 701c42de6dSgd78059 711c42de6dSgd78059# 721c42de6dSgd78059# Default build targets. 731c42de6dSgd78059# 741c42de6dSgd78059.KEEP_STATE: 751c42de6dSgd78059 761c42de6dSgd78059def: $(DEF_DEPS) 771c42de6dSgd78059 781c42de6dSgd78059all: $(ALL_DEPS) 791c42de6dSgd78059 801c42de6dSgd78059clean: $(CLEAN_DEPS) 811c42de6dSgd78059 821c42de6dSgd78059clobber: $(CLOBBER_DEPS) 831c42de6dSgd78059 841c42de6dSgd78059lint: $(LINT_DEPS) 851c42de6dSgd78059 861c42de6dSgd78059modlintlib: $(MODLINTLIB_DEPS) 871c42de6dSgd78059 881c42de6dSgd78059clean.lint: $(CLEAN_LINT_DEPS) 891c42de6dSgd78059 901c42de6dSgd78059install: $(INSTALL_DEPS) 911c42de6dSgd78059 921c42de6dSgd78059# 931c42de6dSgd78059# Include common targets. 941c42de6dSgd78059# 951c42de6dSgd78059include $(UTSBASE)/sun4u/blade/Makefile.targ 96