Makefile revision 56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# CDDL HEADER START
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# and limitations under the License.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# CDDL HEADER END
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Use is subject to license terms.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# This makefile drives the production of the uath driver kernel module.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# i86pc architecture dependent
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Path to the base of the uts directory tree (usually /usr/src/uts).
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Define the module and object file sets.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaOBJECTS = $(UATH_OBJS:%=$(OBJS_DIR)/%)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaLINTS = $(UATH_OBJS:%.o=$(LINTS_DIR)/%.ln)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Include common rules.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaALL_TARGET = $(BINARY)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaLINT_TARGET = $(MODULE).lint
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Driver depends on GLDv3 & wifi kernel support module.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaLDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing ChinaLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Default build targets.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinaclean: $(CLEAN_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinaclobber: $(CLOBBER_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinalint: $(LINT_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinamodlintlib: $(MODLINTLIB_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinaclean.lint: $(CLEAN_LINT_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinainstall: $(INSTALL_DEPS)
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Include common targets.
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# If you have any special case that general
56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0fei feng - Sun Microsystems - Beijing China# Makefile rules don't serve for you, just do