Makefile revision c7ee0b5c5eb7b17e7ef152313d57f97c2fee7416
4070N/A#
4070N/A# CDDL HEADER START
4070N/A#
4070N/A# The contents of this file are subject to the terms of the
4070N/A# Common Development and Distribution License (the "License").
4070N/A# You may not use this file except in compliance with the License.
4070N/A#
4070N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4070N/A# or http://www.opensolaris.org/os/licensing.
4070N/A# See the License for the specific language governing permissions
4070N/A# and limitations under the License.
4070N/A#
4070N/A# When distributing Covered Code, include this CDDL HEADER in each
4070N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4070N/A# If applicable, add the following below this CDDL HEADER, with the
4070N/A# fields enclosed by brackets "[]" replaced with your own identifying
4070N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4070N/A#
4070N/A# CDDL HEADER END
4070N/A#
4070N/A#
4070N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
6033N/A# Use is subject to license terms.
4070N/A#
4070N/A
4070N/A#
4070N/A# This makefile drives the production of the iwh driver kernel module.
4070N/A#
4070N/A# i86pc architecture dependent
4070N/A#
4070N/A
4070N/A#
4070N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
4070N/A#
4070N/AUTSBASE = ../..
4070N/A
4070N/A#
4070N/A# Define the module and object file sets.
4070N/A#
4070N/AMODULE = iwh
4070N/AOBJECTS = $(IWH_OBJS:%=$(OBJS_DIR)/%)
4070N/ALINTS = $(IWH_OBJS:%.o=$(LINTS_DIR)/%.ln)
4070N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
4070N/A
4070N/A#
4070N/A# Include common rules.
4070N/A#
4070N/Ainclude $(UTSBASE)/intel/Makefile.intel
6033N/A
4070N/A#
4070N/A# Define targets
4070N/A#
4070N/AALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
4070N/ALINT_TARGET = $(MODULE).lint
4070N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4070N/A
4070N/A#
4070N/A# Overrides
4070N/A#
4070N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
4070N/A
4070N/ACPPFLAGS += -I. -D_KERNEL
4070N/A
4070N/ALDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
4070N/A
4070N/A#
4070N/A# Default build targets.
4070N/A#
6033N/A.KEEP_STATE:
6033N/A
6033N/Adef: $(DEF_DEPS)
6033N/A
6033N/Aall: $(ALL_DEPS)
6033N/A
6033N/Aclean: $(CLEAN_DEPS)
6033N/A
6033N/Aclobber: $(CLOBBER_DEPS)
6033N/A
6033N/Alint: $(LINT_DEPS)
6033N/A
6033N/Amodlintlib: $(MODLINTLIB_DEPS)
6033N/A
6033N/Aclean.lint: $(CLEAN_LINT_DEPS)
6033N/A
6033N/Ainstall: $(INSTALL_DEPS)
6033N/A
6033N/A#
6033N/A# Include common targets.
6033N/A#
6033N/Ainclude $(UTSBASE)/intel/Makefile.targ
6033N/A