Makefile revision 0a0e9771ca0211c15f3ac4466b661c145feeb9e4
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# CDDL HEADER START
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# The contents of this file are subject to the terms of the
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Common Development and Distribution License (the "License").
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# You may not use this file except in compliance with the License.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# or http://www.opensolaris.org/os/licensing.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# See the License for the specific language governing permissions
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# and limitations under the License.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# When distributing Covered Code, include this CDDL HEADER in each
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# If applicable, add the following below this CDDL HEADER, with the
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# fields enclosed by brackets "[]" replaced with your own identifying
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# information: Portions Copyright [yyyy] [name of copyright owner]
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# CDDL HEADER END
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0a0e9771ca0211c15f3ac4466b661c145feeb9e4Darren Reed# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Use is subject to license terms.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# This makefile drives the production of the mac_wifi plugin
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# kernel module.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Path to the base of the uts directory tree (usually /usr/src/uts).
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcUTSBASE = ../..
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Define the module and object file sets.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcMODULE = mac_wifi
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcOBJECTS = $(MAC_WIFI_OBJS:%=$(OBJS_DIR)/%)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcLINTS = $(MAC_WIFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Include common rules.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcinclude $(UTSBASE)/intel/Makefile.intel
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Define targets
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcALL_TARGET = $(BINARY)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcLINT_TARGET = $(MODULE).lint
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Overrides.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcCFLAGS += $(CCVERBOSE)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcLDFLAGS += -dy -Nmisc/mac
0a0e9771ca0211c15f3ac4466b661c145feeb9e4Darren ReedINC_PATH += -I$(UTSBASE)/common/io/bpf
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Default build targets.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc.KEEP_STATE:
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcdef: $(DEF_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcall: $(ALL_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcclean: $(CLEAN_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcclobber: $(CLOBBER_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxclint: $(LINT_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcmodlintlib: $(MODLINTLIB_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcclean.lint: $(CLEAN_LINT_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcinstall: $(INSTALL_DEPS)
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc# Include common targets.
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxc#
0ba2cbe97e0678a691742f98d2532caed0a2c4aaxcinclude $(UTSBASE)/intel/Makefile.targ