Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
155N/A#
155N/A# CDDL HEADER START
155N/A#
155N/A# The contents of this file are subject to the terms of the
155N/A# Common Development and Distribution License (the "License").
155N/A# You may not use this file except in compliance with the License.
155N/A#
155N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
155N/A# or http://www.opensolaris.org/os/licensing.
155N/A# See the License for the specific language governing permissions
155N/A# and limitations under the License.
155N/A#
155N/A# When distributing Covered Code, include this CDDL HEADER in each
155N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155N/A# If applicable, add the following below this CDDL HEADER, with the
155N/A# fields enclosed by brackets "[]" replaced with your own identifying
155N/A# information: Portions Copyright [yyyy] [name of copyright owner]
155N/A#
155N/A# CDDL HEADER END
155N/A#
3477N/A#
155N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
155N/A# Use is subject to license terms.
155N/A#
485N/A# uts/sparc/usb_as/Makefile
485N/A#
277N/A# This makefile drives the production of the usb_as driver
277N/A# kernel module. Intel architecture dependent
277N/A#
277N/A
155N/A#ident "%Z%%M% %I% %E% SMI"
1499N/A
155N/A#
618N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
155N/A#
155N/AUTSBASE = ../..
844N/A
1499N/A#
155N/A# Define the module and object file sets.
1258N/A#
3557N/AMODULE = usb_as
155N/AOBJECTS = $(USB_AS_OBJS:%=$(OBJS_DIR)/%)
155N/ALINTS = $(USB_AS_OBJS:%.o=$(LINTS_DIR)/%.ln)
1405N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
155N/A
155N/A#
155N/A# Include common rules.
215N/A#
215N/Ainclude $(UTSBASE)/intel/Makefile.intel
215N/A
215N/A#
215N/A# Define targets
215N/A#
215N/AALL_TARGET = $(BINARY)
215N/ALINT_TARGET = $(MODULE).lint
215N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
215N/A
215N/A#
215N/A# Override defaults to build a unique, local modstubs.o.
215N/A#
215N/AMODSTUBS_DIR = $(OBJS_DIR)
215N/ACLEANFILES += $(MODSTUBS_O)
155N/A
155N/A#
155N/A# do not remove depends on amsrc2. If removed, amsrc2 gets unloaded when
155N/A# usb_ac_dacf gets unloaded
155N/A#
155N/ALDFLAGS += -dy -Nmisc/usba -Nmisc/audiosup -Nmisc/mixer -Nmisc/amsrc2
155N/A
155N/A#
741N/A# For now, disable these lint checks; maintainers should endeavor
741N/A# to investigate and remove these for maximum lint coverage.
1405N/A# Please do not carry these forward to new Makefiles.
1405N/A#
1405N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1405N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
156N/A
155N/A#
155N/A# Default build targets.
155N/A#
155N/A.KEEP_STATE:
155N/A
155N/Adef: $(DEF_DEPS)
155N/A
155N/Aall: $(ALL_DEPS)
155N/A
155N/Aclean: $(CLEAN_DEPS)
566N/A
155N/Aclobber: $(CLOBBER_DEPS)
155N/A
1405N/Alint: $(LINT_DEPS)
155N/A
1405N/Amodlintlib: $(MODLINTLIB_DEPS)
1405N/A
1641N/Aclean.lint: $(CLEAN_LINT_DEPS)
1641N/A
1641N/Ainstall: $(INSTALL_DEPS)
1405N/A
155N/A#
155N/A# Include common targets.
155N/A#
155N/Ainclude $(UTSBASE)/intel/Makefile.targ
155N/A
155N/A