Makefile revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
278N/A#
278N/A# CDDL HEADER START
278N/A#
278N/A# The contents of this file are subject to the terms of the
278N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
278N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
278N/A# or http://www.opensolaris.org/os/licensing.
278N/A# See the License for the specific language governing permissions
278N/A# and limitations under the License.
278N/A#
278N/A# When distributing Covered Code, include this CDDL HEADER in each
278N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
278N/A# If applicable, add the following below this CDDL HEADER, with the
278N/A# fields enclosed by brackets "[]" replaced with your own identifying
278N/A# information: Portions Copyright [yyyy] [name of copyright owner]
278N/A#
278N/A# CDDL HEADER END
278N/A#
3661N/A#
278N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
278N/A# Use is subject to license terms.
278N/A#
1273N/A# uts/intel/audiohd/Makefile
278N/A#
618N/A# This makefile drives the production of high definition audio
1273N/A# driver (audiohd) kernel module.
1273N/A#
278N/A#
844N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
278N/AUTSBASE = ../..
1273N/A
278N/A#
3661N/A# Define the module and object file sets.
3661N/A#
278N/AMODULE = audiohd
278N/AOBJECTS = $(AUDIOHD_OBJS:%=$(OBJS_DIR)/%)
278N/ALINTS = $(AUDIOHD_OBJS:%.o=$(LINTS_DIR)/%.ln)
278N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
278N/ACONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audiohd
278N/A
278N/A#
278N/A# Include common rules.
278N/A#
278N/Ainclude $(UTSBASE)/intel/Makefile.intel
278N/A
278N/A#
278N/A# Overrides, lint pass one enforcement
278N/A#
278N/ACFLAGS += $(CCVERBOSE)
278N/ADEBUG_FLGS =
278N/A$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
278N/A
278N/A#
278N/A# For now, disable these lint checks; maintainers should endeavor
278N/A# to investigate and remove these for maximum lint coverage.
278N/A# Please do not carry these forward to new Makefiles.
278N/A#
278N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
278N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
278N/A
278N/ALDFLAGS += -dy -Ndrv/audio
278N/A
278N/A#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
$(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ