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