xref: /titanic_51/usr/src/uts/intel/bscv/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
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# uts/intel/bscv/Makefile
231c42de6dSgd78059#
241c42de6dSgd78059# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
251c42de6dSgd78059# Use is subject to license terms.
261c42de6dSgd78059#
27*7014882cSRichard Lowe
281c42de6dSgd78059#
291c42de6dSgd78059#	This makefile drives the production of the bscv driver
301c42de6dSgd78059#
311c42de6dSgd78059#	intel architecture dependent
321c42de6dSgd78059#
331c42de6dSgd78059
341c42de6dSgd78059#
351c42de6dSgd78059#	Path to the base of the uts directory tree (usually /usr/src/uts).
361c42de6dSgd78059#
371c42de6dSgd78059UTSBASE = ../..
381c42de6dSgd78059
391c42de6dSgd78059#
401c42de6dSgd78059#	Define the module and object file sets.
411c42de6dSgd78059#
421c42de6dSgd78059MODULE		= bscv
431c42de6dSgd78059OBJECTS		= $(BSCV_OBJS:%=$(OBJS_DIR)/%)
441c42de6dSgd78059LINTS		= $(BSCV_OBJS:%.o=$(LINTS_DIR)/%.ln)
451c42de6dSgd78059ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
461c42de6dSgd78059CONF_SRCDIR	= $(UTSBASE)/intel/io
471c42de6dSgd78059
481c42de6dSgd78059#
491c42de6dSgd78059#	Include common rules.
501c42de6dSgd78059#
511c42de6dSgd78059include $(UTSBASE)/intel/Makefile.intel
521c42de6dSgd78059
531c42de6dSgd78059#
541c42de6dSgd78059#	Define targets
551c42de6dSgd78059#
561c42de6dSgd78059ALL_TARGET	= $(BINARY) $(CONFMOD)
571c42de6dSgd78059LINT_TARGET	= $(MODULE).lint
581c42de6dSgd78059INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
591c42de6dSgd78059
601c42de6dSgd78059#
611c42de6dSgd78059# For now, disable these lint checks; maintainers should endeavor
621c42de6dSgd78059# to investigate and remove these for maximum lint coverage.
631c42de6dSgd78059# Please do not carry these forward to new Makefiles.
641c42de6dSgd78059#
651c42de6dSgd78059LINTTAGS	+= -erroff=E_BAD_PTR_CAST_ALIGN
661c42de6dSgd78059LINTTAGS	+= -erroff=E_PTRDIFF_OVERFLOW
671c42de6dSgd78059LINTTAGS	+= -erroff=E_ASSIGN_NARROW_CONV
681c42de6dSgd78059LINTTAGS	+= -erroff=E_SUSPICIOUS_COMPARISON
691c42de6dSgd78059
70*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
71*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-value
72*7014882cSRichard Lowe
731c42de6dSgd78059#
741c42de6dSgd78059#	Default build targets.
751c42de6dSgd78059#
761c42de6dSgd78059.KEEP_STATE:
771c42de6dSgd78059
781c42de6dSgd78059def:		$(DEF_DEPS)
791c42de6dSgd78059
801c42de6dSgd78059all:		$(ALL_DEPS)
811c42de6dSgd78059
821c42de6dSgd78059clean:		$(CLEAN_DEPS)
831c42de6dSgd78059
841c42de6dSgd78059clobber:	$(CLOBBER_DEPS)
851c42de6dSgd78059
861c42de6dSgd78059lint:		$(LINT_DEPS)
871c42de6dSgd78059
881c42de6dSgd78059modlintlib:	$(MODLINTLIB_DEPS)
891c42de6dSgd78059
901c42de6dSgd78059clean.lint:	$(CLEAN_LINT_DEPS)
911c42de6dSgd78059
921c42de6dSgd78059install:	$(INSTALL_DEPS)
931c42de6dSgd78059
941c42de6dSgd78059#
951c42de6dSgd78059#	Include common targets.
961c42de6dSgd78059#
971c42de6dSgd78059include $(UTSBASE)/intel/Makefile.targ
98