Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
867N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
5680N/A#
5680N/A# uts/sparc/usbms/Makefile
5622N/A
369N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5706N/A# Use is subject to license terms.
5680N/A#
369N/A#ident "%Z%%M% %I% %E% SMI"
369N/A#
5706N/A# This makefile drives the production of the usbms streams module.
844N/A#
5706N/A# sparc architecture dependent
5706N/A#
5622N/A
369N/A#
5680N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5680N/A#
369N/AUTSBASE = ../..
867N/A
867N/A#
1368N/A# Define the module and object file sets.
1368N/A#
1368N/AMODULE = usbms
867N/AOBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%)
3817N/ALINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
867N/AROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
369N/A
5706N/A#
5706N/A# Include common rules.
369N/A#
5680N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
4659N/A
5706N/A#
5706N/A# lint pass one enforcement
369N/A#
369N/ACFLAGS += $(CCVERBOSE)
369N/A
369N/A#
369N/A# depends on misc/usba
369N/A#
369N/ALDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser
369N/A
369N/A#
369N/A# Define targets
369N/A#
5680N/AALL_TARGET = $(BINARY)
5680N/ALINT_TARGET = $(MODULE).lint
5680N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5680N/A
5680N/A#
5680N/A# For now, disable these lint checks; maintainers should endeavor
5680N/A# to investigate and remove these for maximum lint coverage.
5680N/A# Please do not carry these forward to new Makefiles.
5680N/A#
369N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
5706N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
369N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ