Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
6213N/A#
6213N/A# CDDL HEADER START
6213N/A#
6213N/A# The contents of this file are subject to the terms of the
6213N/A# Common Development and Distribution License (the "License").
6213N/A# You may not use this file except in compliance with the License.
6213N/A#
6213N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6213N/A# or http://www.opensolaris.org/os/licensing.
6213N/A# See the License for the specific language governing permissions
6213N/A# and limitations under the License.
6213N/A#
6213N/A# When distributing Covered Code, include this CDDL HEADER in each
6213N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6213N/A# If applicable, add the following below this CDDL HEADER, with the
6213N/A# fields enclosed by brackets "[]" replaced with your own identifying
6213N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6213N/A#
6213N/A# CDDL HEADER END
6213N/A#
6213N/A#
6213N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6213N/A# Use is subject to license terms.
6213N/A#
6213N/A
6213N/A#
6213N/A# This makefile drives the production of the wpi driver kernel module.
6213N/A#
6213N/A# i86pc architecture dependent
6213N/A#
6213N/A
6213N/A#
6213N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6213N/A#
6213N/AUTSBASE = ../..
6213N/A
6213N/A#
6213N/A# Define the module and object file sets.
6213N/A#
6213N/AMODULE = rwn
6213N/AOBJECTS = $(RWN_OBJS:%=$(OBJS_DIR)/%)
6213N/ALINTS = $(RWN_OBJS:%.o=$(LINTS_DIR)/%.ln)
6213N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6213N/A
6213N/A#
6213N/A# Include common rules.
6213N/A#
6213N/Ainclude $(UTSBASE)/intel/Makefile.intel
6213N/A
6213N/A#
6213N/A# Define targets
6213N/A#
6213N/AALL_TARGET = $(BINARY)
6213N/ALINT_TARGET = $(MODULE).lint
6213N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
6213N/A
6213N/A#
6213N/A# Driver depends on GLDv3 & wifi kernel support module.
6213N/A#
6213N/ALDFLAGS += -dy -Nmisc/mac -Nmisc/net80211
6213N/A
6213N/A#
6213N/A# Overrides
6213N/A#
6213N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
6213N/A
6213N/ACERRWARN += -_gcc=-Wno-unused-label
6213N/ACERRWARN += -_gcc=-Wno-parentheses
6213N/ACERRWARN += -_gcc=-Wno-unused-value
6213N/A
6213N/A#
6213N/A# Default build targets.
6674N/A#
6674N/A.KEEP_STATE:
6674N/A
6213N/Adef: $(DEF_DEPS)
6213N/A
6213N/Aall: $(ALL_DEPS)
6213N/A
6966N/Aclean: $(CLEAN_DEPS)
6966N/A
6966N/Aclobber: $(CLOBBER_DEPS)
6966N/A
6966N/Alint: $(LINT_DEPS)
6966N/A
6966N/Amodlintlib: $(MODLINTLIB_DEPS)
6966N/A
6966N/Aclean.lint: $(CLEAN_LINT_DEPS)
6966N/A
6966N/Ainstall: $(INSTALL_DEPS)
6966N/A
6966N/A#
6966N/A# Include common targets.
6966N/A#
6966N/Ainclude $(UTSBASE)/intel/Makefile.targ
6966N/A
6966N/A#
6966N/A# If you have any special case that general
6966N/A# Makefile rules don't serve for you, just do
6966N/A# it yourself.
6213N/A#
6213N/A