Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
a623efbff95aab78da9e030524b0fa69b054f6d0brianp# Common Development and Distribution License (the "License").
a623efbff95aab78da9e030524b0fa69b054f6d0brianp# You may not use this file except in compliance with the License.
a623efbff95aab78da9e030524b0fa69b054f6d0brianp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a623efbff95aab78da9e030524b0fa69b054f6d0brianp# See the License for the specific language governing permissions
0b4b04d8621478ba59f0a6ba2950ddc02ab92b58colm# and limitations under the License.
0b4b04d8621478ba59f0a6ba2950ddc02ab92b58colm# When distributing Covered Code, include this CDDL HEADER in each
2f1bb5376c5c4022383bb729679ca751dd75a2eabrianp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2f1bb5376c5c4022383bb729679ca751dd75a2eabrianp# If applicable, add the following below this CDDL HEADER, with the
ad862ab5716726a2d72a292ba1dfb29566c86153brianp# fields enclosed by brackets "[]" replaced with your own identifying
ad862ab5716726a2d72a292ba1dfb29566c86153brianp# information: Portions Copyright [yyyy] [name of copyright owner]
347c9301068524042be654db3b2b055a9ec20633rpluem# CDDL HEADER END
1266e0c1535091b37a0c6ea86183094e575cb8dagregames# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1266e0c1535091b37a0c6ea86183094e575cb8dagregames# Use is subject to license terms.
dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5rpluem# ident "%Z%%M% %I% %E% SMI"
7461431ba407b0e1eac3d6a81440a4184e652e9fniq# This makefile drives the production of high definition audio
7461431ba407b0e1eac3d6a81440a4184e652e9fniq# driver (audiohd) kernel module.
17d53ea32c4968e47733f1c2c063ae07d280efd6jerenkrantz# Path to the base of the uts directory tree (usually /usr/src/uts).
b38565306421ff53e9f7499bc728d6df5cec294dpquerna# Define the module and object file sets.
a6ea86151dd968120a12b48867d45947ef2bb9darpluemCONF_SRCDIR = $(UTSBASE)/common/io/audio/sada/drv/audiohd
a17ca1093e7dc28c1a54cfd9741f65653f5b2b19jim# Include common rules.
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colm# Overrides, lint pass one enforcement
3d76cdd5855071bbfb95a27de7d77a8855d1e893niqLDFLAGS += -dy -Nmisc/amsrc2 -Nmisc/mixer -Nmisc/audiosup
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rpluem# Define targets
7612604db51e61f6ec4a6593c188e6d0640646abwroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE_64)
8828f8c859fabac8c0080440392bc279877f9802rpluem# For now, disable these lint checks; maintainers should endeavor
8828f8c859fabac8c0080440392bc279877f9802rpluem# to investigate and remove these for maximum lint coverage.
8828f8c859fabac8c0080440392bc279877f9802rpluem# Please do not carry these forward to new Makefiles.
8f1c5a2aca731a7676bf74cdce67ec28557ec299trawick# Default build targets.
70706a4d1ead0d72a443eac1cc446a0f1a4de069colm# Include common targets.
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colm# Defines for local commands.
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton# Warlock targets
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonMIXER_FILES = $(MIXER_OBJS:%.o=$(UTSBASE)/sparc/mixer/%.ll)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonAUDIO_SUP_FILES = $(AUDIO_SUP_OBJS:%.o=$(UTSBASE)/sparc/audiosup/%.ll)
a09378e32e823d5619f766394fcdde1cfa16c5dajimAMSRC2_FILES = $(AMSRC2_OBJS:%.o=$(UTSBASE)/sparc/amsrc2/%.ll)
a09378e32e823d5619f766394fcdde1cfa16c5dajim warlock_audiosup.files warlock_mixer.files warlock_amsrc2.files \
ce8e09ffeb8c696f7fc6c5dfa8814c52caaac59bcolm $(WARLOCK) -c $(WLCMD_DIR)/audiohd_with_sada.wlcmd $(WARLOCK_OUT) \
f6e71f622ffde40c654288851ff65b8505cf7596colmwarlock_standalone: $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/audiohd.wlcmd