Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# CDDL HEADER START
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# The contents of this file are subject to the terms of the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Common Development and Distribution License (the "License").
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You may not use this file except in compliance with the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# or http://www.opensolaris.org/os/licensing.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# See the License for the specific language governing permissions
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# and limitations under the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# When distributing Covered Code, include this CDDL HEADER in each
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# If applicable, add the following below this CDDL HEADER, with the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# fields enclosed by brackets "[]" replaced with your own identifying
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# information: Portions Copyright [yyyy] [name of copyright owner]
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
7190e58eec40192c9719d2f2593471eda14e7e7cfuankg# CDDL HEADER END
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Use is subject to license terms.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# uts/intel/audioixp/Makefile
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# This makefile drives the production of high definition audio
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# driver (audioixp) kernel module.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Path to the base of the uts directory tree (usually /usr/src/uts).
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUTSBASE = ../..
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# Define the module and object file sets.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE = audioixp
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesOBJECTS = $(AUDIOIXP_OBJS:%=$(OBJS_DIR)/%)
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgLINTS = $(AUDIOIXP_OBJS:%.o=$(LINTS_DIR)/%.ln)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include common rules.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(UTSBASE)/intel/Makefile.intel
0662ed52e814f8f08ef0e09956413a792584eddffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Overrides, lint pass one enforcement
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCFLAGS += $(CCVERBOSE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Depends on misc/audiosup
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCERRWARN += -_gcc=-Wno-unused-label
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# Define targets
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
8d6e239d0e0aa0593fd93b4fef193d8c51b61b3cfuankgALL_TARGET = $(BINARY)
b387b9d37fc71c534f4718777454a8f5a1169017fuankgLINT_TARGET = $(MODULE).lint
b387b9d37fc71c534f4718777454a8f5a1169017fuankgINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
b387b9d37fc71c534f4718777454a8f5a1169017fuankg
b387b9d37fc71c534f4718777454a8f5a1169017fuankg#
b387b9d37fc71c534f4718777454a8f5a1169017fuankg# Default build targets.
b387b9d37fc71c534f4718777454a8f5a1169017fuankg#
b387b9d37fc71c534f4718777454a8f5a1169017fuankg.KEEP_STATE:
b387b9d37fc71c534f4718777454a8f5a1169017fuankg
b387b9d37fc71c534f4718777454a8f5a1169017fuankgdef: $(DEF_DEPS)
8d6e239d0e0aa0593fd93b4fef193d8c51b61b3cfuankg
8d6e239d0e0aa0593fd93b4fef193d8c51b61b3cfuankgall: $(ALL_DEPS)
bfd312b5e6b4bf7113ef8f655b044f93f5c18f28fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclean: $(CLEAN_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclobber: $(CLOBBER_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholeslint: $(LINT_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesmodlintlib: $(MODLINTLIB_DEPS)
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesclean.lint: $(CLEAN_LINT_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall: $(INSTALL_DEPS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include common targets.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(UTSBASE)/intel/Makefile.targ
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes