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