Makefile revision b86efd96f8acd85ddaa930a2f0c1d664237e4aaf
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# CDDL HEADER START
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# The contents of this file are subject to the terms of the
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Common Development and Distribution License (the "License").
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# You may not use this file except in compliance with the License.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# or http://www.opensolaris.org/os/licensing.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# See the License for the specific language governing permissions
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# and limitations under the License.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# When distributing Covered Code, include this CDDL HEADER in each
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# If applicable, add the following below this CDDL HEADER, with the
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# fields enclosed by brackets "[]" replaced with your own identifying
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# information: Portions Copyright [yyyy] [name of copyright owner]
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# CDDL HEADER END
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Use is subject to license terms.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#ident "%Z%%M% %I% %E% SMI"
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Path to the base of the uts directory tree (usually /usr/src/uts).
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriUTSBASE = ../..
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Define the module and object file sets.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriMODULE = rds
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriOBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriLINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriLDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Include common rules.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriinclude $(UTSBASE)/intel/Makefile.intel
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Define targets
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriALL_TARGET = $(BINARY) $(SRC_CONFILE)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriLINT_TARGET = $(MODULE).lint
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Default build targets.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri.KEEP_STATE:
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiridef: $(DEF_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriall: $(ALL_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriclean: $(CLEAN_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriclobber: $(CLOBBER_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagirilint: $(LINT_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagirimodlintlib: $(MODLINTLIB_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriclean.lint: $(CLEAN_LINT_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriinstall: $(INSTALL_DEPS)
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri# Include common targets.
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri#
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiriinclude $(UTSBASE)/intel/Makefile.targ
b86efd96f8acd85ddaa930a2f0c1d664237e4aafagiri