Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User# CDDL HEADER START
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater#
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# The contents of this file are subject to the terms of the
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Common Development and Distribution License, Version 1.0 only
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# (the "License"). You may not use this file except in compliance
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# with the License.
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# or http://www.opensolaris.org/os/licensing.
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# See the License for the specific language governing permissions
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# and limitations under the License.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Use is subject to license terms.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# uts/intel/usb_ac_dacf/Makefile
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# This makefile drives the production of the usb_ac driver
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# kernel module. Intel architecture dependent
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#pragma ident "%Z%%M% %I% %E% SMI"
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntUTSBASE = ../..
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Define the module and object file sets.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntMODULE = usb_ac_dacf
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntOBJECTS = $(USB_AC_DACF_OBJS:%=$(OBJS_DIR)/%)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLINTS = $(USB_AC_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Include common rules.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude $(UTSBASE)/intel/Makefile.intel
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Define targets
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntALL_TARGET = $(BINARY)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLINT_TARGET = $(MODULE).lint
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Override defaults to build a unique, local modstubs.o.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODSTUBS_DIR = $(OBJS_DIR)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCLEANFILES += $(MODSTUBS_O)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# depends on misc/usba
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLDFLAGS += -dy -Nmisc/usba -Nmisc/amsrc2 -Nmisc/audiosup -Nmisc/mixer
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Default build targets.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt.KEEP_STATE:
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntdef: $(DEF_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntall: $(ALL_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntclean: $(CLEAN_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntclobber: $(CLOBBER_DEPS)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntlint: $(LINT_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntmodlintlib: $(MODLINTLIB_DEPS)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntclean.lint: $(CLEAN_LINT_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntinstall: $(INSTALL_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Include common targets.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude $(UTSBASE)/intel/Makefile.targ
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt