Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# CDDL HEADER START
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# The contents of this file are subject to the terms of the
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Common Development and Distribution License (the "License").
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# You may not use this file except in compliance with the License.
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews# See the License for the specific language governing permissions
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater# and limitations under the License.
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# CDDL HEADER END
58be84825d7f5de30e50eb7206b37227ecd8055bAutomatic Updater# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# Use is subject to license terms.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater# This makefile drives the production of the usb_ac driver
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# kernel module. Intel architecture dependent
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater#ident "%Z%%M% %I% %E% SMI"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Path to the base of the uts directory tree (usually /usr/src/uts).
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Define the module and object file sets.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLINTS = $(USB_AC_OBJS:%.o=$(LINTS_DIR)/%.ln)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define targets
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Override defaults to build a unique, local modstubs.o.
129090f0f6f91753b4a085ab635e28549fd018adAutomatic UpdaterLDFLAGS += -dy -Nmisc/usba -Nmisc/audiosup -Nmisc/mixer
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For now, disable these lint checks; maintainers should endeavor
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater# to investigate and remove these for maximum lint coverage.
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Please do not carry these forward to new Makefiles.
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic UpdaterLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Default build targets.
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater# Include common targets.