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