Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# CDDL HEADER START
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# The contents of this file are subject to the terms of the
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Common Development and Distribution License, Version 1.0 only
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# (the "License"). You may not use this file except in compliance
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# with the License.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# or http://www.opensolaris.org/os/licensing.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# See the License for the specific language governing permissions
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# and limitations under the License.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# When distributing Covered Code, include this CDDL HEADER in each
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# If applicable, add the following below this CDDL HEADER, with the
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# fields enclosed by brackets "[]" replaced with your own identifying
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# information: Portions Copyright [yyyy] [name of copyright owner]
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# CDDL HEADER END
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# uts/intel/iwscn/Makefile
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# Use is subject to license terms.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#pragma ident "%Z%%M% %I% %E% SMI"
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# This makefile drives the production of the iwscn driver
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# intel architecture dependent
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Path to the base of the uts directory tree (usually /usr/src/uts).
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apUTSBASE = ../..
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Define the module and object file sets.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apMODULE = iwscn
2bda830b1b393f809c54b105ec8ab418c3e505a1apOBJECTS = $(IWSCN_OBJS:%=$(OBJS_DIR)/%)
2bda830b1b393f809c54b105ec8ab418c3e505a1apLINTS = $(IWSCN_OBJS:%.o=$(LINTS_DIR)/%.ln)
2bda830b1b393f809c54b105ec8ab418c3e505a1apROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2bda830b1b393f809c54b105ec8ab418c3e505a1apCONF_SRCDIR = $(UTSBASE)/common/io
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Include common rules.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apinclude $(UTSBASE)/intel/Makefile.intel
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Define targets
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apALL_TARGET = $(BINARY) $(SRC_CONFILE)
2bda830b1b393f809c54b105ec8ab418c3e505a1apLINT_TARGET = $(MODULE).lint
2bda830b1b393f809c54b105ec8ab418c3e505a1apINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Override defaults to build a unique, local modstubs.o.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apMODSTUBS_DIR = $(OBJS_DIR)
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek$(MODSTUBS_O) := AS_CPPFLAGS += -DIWSCN_MODULE
2bda830b1b393f809c54b105ec8ab418c3e505a1apCLEANFILES += $(MODSTUBS_O)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Default build targets.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg.KEEP_STATE:
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgdef: $(DEF_DEPS)
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgall: $(ALL_DEPS)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Loweclean: $(CLEAN_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1apclobber: $(CLOBBER_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1aplint: $(LINT_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1apmodlintlib: $(MODLINTLIB_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1apclean.lint: $(CLEAN_LINT_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1apinstall: $(INSTALL_DEPS)
2bda830b1b393f809c54b105ec8ab418c3e505a1ap
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1ap# Include common targets.
2bda830b1b393f809c54b105ec8ab418c3e505a1ap#
2bda830b1b393f809c54b105ec8ab418c3e505a1apinclude $(UTSBASE)/intel/Makefile.targ
2bda830b1b393f809c54b105ec8ab418c3e505a1ap