c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# CDDL HEADER START
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# and limitations under the License.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# CDDL HEADER END
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Use is subject to license terms.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# This makefile drives the production of the iwh driver kernel module.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# i86pc architecture dependent
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Path to the base of the uts directory tree (usually /usr/src/uts).
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaUTSBASE = ../..
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Define the module and object file sets.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaMODULE = iwh
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaOBJECTS = $(IWH_OBJS:%=$(OBJS_DIR)/%)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaLINTS = $(IWH_OBJS:%.o=$(LINTS_DIR)/%.ln)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Include common rules.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Define targets
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaLINT_TARGET = $(MODULE).lint
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Overrides
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-label
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaCPPFLAGS += -I. -D_KERNEL
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing ChinaLDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Default build targets.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China.KEEP_STATE:
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinadef: $(DEF_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinaall: $(ALL_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinaclean: $(CLEAN_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinaclobber: $(CLOBBER_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinalint: $(LINT_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinamodlintlib: $(MODLINTLIB_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinaclean.lint: $(CLEAN_LINT_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinainstall: $(INSTALL_DEPS)
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China# Include common targets.
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing China#
c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416fei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ