e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# CDDL HEADER START
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# The contents of this file are subject to the terms of the
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Common Development and Distribution License (the "License").
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# You may not use this file except in compliance with the License.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# or http://www.opensolaris.org/os/licensing.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# See the License for the specific language governing permissions
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# and limitations under the License.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# When distributing Covered Code, include this CDDL HEADER in each
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# If applicable, add the following below this CDDL HEADER, with the
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# fields enclosed by brackets "[]" replaced with your own identifying
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# information: Portions Copyright [yyyy] [name of copyright owner]
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# CDDL HEADER END
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
ff3124eff995e6cd8ebd8c6543648e0670920034ff# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Use is subject to license terms.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# ident "%Z%%M% %I% %E% SMI"
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# This makefile drives the production of the wpi driver kernel module.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# i86pc architecture dependent
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Path to the base of the uts directory tree (usually /usr/src/uts).
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfUTSBASE = ../..
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Define the module and object file sets.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfMODULE = ral
e07d9cb85217949d497b02d7211de8a197d2f2ebzfOBJECTS = $(RAL_OBJS:%=$(OBJS_DIR)/%)
e07d9cb85217949d497b02d7211de8a197d2f2ebzfLINTS = $(RAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
e07d9cb85217949d497b02d7211de8a197d2f2ebzfROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Include common rules.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfinclude $(UTSBASE)/intel/Makefile.intel
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Define targets
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfALL_TARGET = $(BINARY)
e07d9cb85217949d497b02d7211de8a197d2f2ebzfLINT_TARGET = $(MODULE).lint
e07d9cb85217949d497b02d7211de8a197d2f2ebzfINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Driver depends on GLDv3 & wifi kernel support module.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfLDFLAGS += -dy -Nmisc/mac -Nmisc/net80211
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Default build targets.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf.KEEP_STATE:
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfdef: $(DEF_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfall: $(ALL_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfclean: $(CLEAN_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfclobber: $(CLOBBER_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzflint: $(LINT_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfmodlintlib: $(MODLINTLIB_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfclean.lint: $(CLEAN_LINT_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzfinstall: $(INSTALL_DEPS)
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Include common targets.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzfinclude $(UTSBASE)/intel/Makefile.targ
e07d9cb85217949d497b02d7211de8a197d2f2ebzf
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# If you have any special case that general
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# Makefile rules don't serve for you, just do
e07d9cb85217949d497b02d7211de8a197d2f2ebzf# it yourself.
e07d9cb85217949d497b02d7211de8a197d2f2ebzf#