2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# CDDL HEADER START
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# The contents of this file are subject to the terms of the
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Common Development and Distribution License (the "License").
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# You may not use this file except in compliance with the License.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# or http://www.opensolaris.org/os/licensing.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# See the License for the specific language governing permissions
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# and limitations under the License.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# When distributing Covered Code, include this CDDL HEADER in each
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# If applicable, add the following below this CDDL HEADER, with the
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# fields enclosed by brackets "[]" replaced with your own identifying
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# information: Portions Copyright [yyyy] [name of copyright owner]
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# CDDL HEADER END
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# uts/intel/srn/Makefile
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Use is subject to license terms.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# This makefile drives the production of the srn driver
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# intel architecture dependent
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Path to the base of the uts directory tree (usually /usr/src/uts).
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfUTSBASE = ../..
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Define the module and object file sets.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfMODULE = srn
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfOBJECTS = $(SRN_OBJS:%=$(OBJS_DIR)/%)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfLINTS = $(SRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfCONF_SRCDIR = $(UTSBASE)/common/io
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Include common rules.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfinclude $(UTSBASE)/intel/Makefile.intel
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Define targets
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfALL_TARGET = $(BINARY) $(SRC_CONFILE)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfLINT_TARGET = $(MODULE).lint
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Default build targets.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf.KEEP_STATE:
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfdef: $(DEF_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfall: $(ALL_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfclean: $(CLEAN_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfclobber: $(CLOBBER_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyflint: $(LINT_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfmodlintlib: $(MODLINTLIB_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfclean.lint: $(CLEAN_LINT_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfinstall: $(INSTALL_DEPS)
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf# Include common targets.
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyf#
2df1fe9ca32bb227b9158c67f5c00b54c20b10fdrandyfinclude $(UTSBASE)/intel/Makefile.targ