Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User# CDDL HEADER START
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# The contents of this file are subject to the terms of the
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Common Development and Distribution License (the "License").
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# You may not use this file except in compliance with the License.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# or http://www.opensolaris.org/os/licensing.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# See the License for the specific language governing permissions
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# and limitations under the License.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
6715db6593ce9a271ac3131cd7a886feaa386a2eEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Use is subject to license terms.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
be0982e9e4b0631670a4c449ddf8a2bfaf04eb92Evan HuntUTSBASE = ../..
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Define the module and object file sets.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntMODULE = rdsib
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntOBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntLINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntLDFLAGS += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
9f40a783228eed48531756a6ab510d1e9c51648cTinderbox User# Include common rules.
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User#
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox Userinclude $(UTSBASE)/intel/Makefile.intel
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntCERRWARN += -_gcc=-Wno-switch
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntCERRWARN += -_gcc=-Wno-uninitialized
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Define targets
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntALL_TARGET = $(BINARY) $(SRC_CONFILE)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLINT_TARGET = $(MODULE).lint
0f66aced2640d964aeb6db41210711ba0640d7f2Evan HuntINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Default build targets.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt.KEEP_STATE:
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntdef: $(DEF_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntall: $(ALL_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntclean: $(CLEAN_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntclobber: $(CLOBBER_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntlint: $(LINT_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntmodlintlib: $(MODLINTLIB_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntclean.lint: $(CLEAN_LINT_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntinstall: $(INSTALL_DEPS)
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt# Include common targets.
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt#
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Huntinclude $(UTSBASE)/intel/Makefile.targ
0f66aced2640d964aeb6db41210711ba0640d7f2Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt