Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
551N/A#
551N/A# CDDL HEADER START
943N/A#
551N/A# The contents of this file are subject to the terms of the
551N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
551N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
551N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
551N/A# Use is subject to license terms.
551N/A#
551N/A# uts/i86pc/audio810/Makefile
551N/A#
551N/A#
551N/A# ident "%Z%%M% %I% %E% SMI"
551N/A#
551N/A# This makefile drives the production of Metropolis audio driver
551N/A# (audio810) kernel module.
551N/A#
551N/A#
551N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
551N/A#
551N/AUTSBASE = ../..
551N/A
551N/A#
551N/A# Define the module and object file sets.
551N/A#
551N/AMODULE = audio810
551N/AOBJECTS = $(AUDIO810_OBJS:%=$(OBJS_DIR)/%)
551N/ALINTS = $(AUDIO810_OBJS:%.o=$(LINTS_DIR)/%.ln)
551N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
551N/ACONF_SRCDIR = $(UTSBASE)/common/io/audio/sada/drv/audio810
551N/A
551N/A#
551N/A# Include common rules.
551N/A#
551N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
551N/A
551N/A#
551N/A# Overrides, lint pass one enforcement
551N/A#
551N/ACFLAGS += $(CCVERBOSE)
551N/ADEBUG_FLGS =
551N/A$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
551N/A
551N/A#
551N/A# For now, disable these lint checks; maintainers should endeavor
551N/A# to investigate and remove these for maximum lint coverage.
551N/A# Please do not carry these forward to new Makefiles.
551N/A#
551N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
551N/A
551N/A#
551N/A# Depends on misc/audiosup
551N/A#
551N/ALDFLAGS += -dy -Nmisc/amsrc2 -Nmisc/audiosup -Nmisc/mixer
551N/A
551N/A#
551N/A# Define targets
551N/A#
551N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
551N/ALINT_TARGET = $(MODULE).lint
551N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
551N/A
551N/A#
551N/A# Default build targets.
551N/A#
551N/A.KEEP_STATE:
551N/A
551N/Adef: $(DEF_DEPS)
551N/A
551N/Aall: $(ALL_DEPS)
551N/A
551N/Aclean: $(CLEAN_DEPS)
551N/A
551N/Aclobber: $(CLOBBER_DEPS)
551N/A
551N/Alint: $(LINT_DEPS)
551N/A
551N/Amodlintlib: $(MODLINTLIB_DEPS)
551N/A
551N/Aclean.lint: $(CLEAN_LINT_DEPS)
551N/A
551N/Ainstall: $(INSTALL_DEPS)
551N/A
551N/A#
551N/A# Include common targets.
551N/A#
551N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
551N/A