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