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