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