Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# The contents of this file are subject to the terms of the
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# Common Development and Distribution License (the "License").
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# You may not use this file except in compliance with the License.
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# See the License for the specific language governing permissions
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# and limitations under the License.
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin# If applicable, add the following below this CDDL HEADER, with the
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin# fields enclosed by brackets "[]" replaced with your own identifying
60998c490ad3334eb07ae63b23b479ac564dec94kbrand# information: Portions Copyright [yyyy] [name of copyright owner]
60998c490ad3334eb07ae63b23b479ac564dec94kbrand# CDDL HEADER END
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick# Use is subject to license terms.
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# ident "%Z%%M% %I% %E% SMI"
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# This makefile drives the production of Metropolis audio driver
efe780dcf13b2b95effabf897d694d8f23feac74trawick# (audio810) kernel module.
81849cd8925f6ffaf57412aaaac8a6df0d33cbb6covener# Path to the base of the uts directory tree (usually /usr/src/uts).
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawick# Define the module and object file sets.
7f6bfe455bd605a6401d2fcc9423972a24266b16jimCONF_SRCDIR = $(UTSBASE)/common/io/audio/sada/drv/audio810
3b995de5609b15115a0764e6979ba43071a2988fjim# Include common rules.
ba050a6f942b9fa0e81ed73437588005c569655ccovener# Overrides, lint pass one enforcement
166b66614fb67e1b95c200433925787457657a0ajim# For now, disable these lint checks; maintainers should endeavor
166b66614fb67e1b95c200433925787457657a0ajim# to investigate and remove these for maximum lint coverage.
166b66614fb67e1b95c200433925787457657a0ajim# Please do not carry these forward to new Makefiles.
efe780dcf13b2b95effabf897d694d8f23feac74trawickLDFLAGS += -dy -Nmisc/amsrc2 -Nmisc/audiosup -Nmisc/mixer
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick# Define targets
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovenerINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza# Default build targets.
921d32d80d8271da08f12fc374a69cb36d1d63b3covener# Include common targets.
faea99bb676ec50ece38da6b1879aa37546483a2covener# Defines for local commands.
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# Warlock targets
50cfe8bbbaf4279375802531268e2bf0155215fetrawickMIXER_FILES = $(MIXER_OBJS:%.o=$(UTSBASE)/intel/mixer/%.ll)
f87299dab99bc04b51a6b8cad51b6795db862c0atrawickAUDIO_SUP_FILES = $(AUDIO_SUP_OBJS:%.o=$(UTSBASE)/intel/audiosup/%.ll)
f87299dab99bc04b51a6b8cad51b6795db862c0atrawickAMSRC2_FILES = $(AMSRC2_OBJS:%.o=$(UTSBASE)/intel/amsrc2/%.ll)
e5d909f2b06bd880fb3675cd49363df981caa631trawick$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files warlock_standalone \
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener warlock_audiosup.files warlock_mixer.files warlock_amsrc2.files \
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener $(WARLOCK) -c $(WLCMD_DIR)/audio810_with_sada.wlcmd $(WARLOCK_OUT) \
1c2cab00d988fc48cbe59032cf76cc0bab20d6f7covener%.ll: $(UTSBASE)/common/io/audio/sada/drv/audio810/%.c
75a230a728338d84dcfe81edd375352f34de22d0covenerwarlock_standalone: $(WARLOCK_OUT) warlock_ddi.files audio810.wlcmd