1b86efd96Sagiri# 2b86efd96Sagiri# CDDL HEADER START 3b86efd96Sagiri# 4b86efd96Sagiri# The contents of this file are subject to the terms of the 5b86efd96Sagiri# Common Development and Distribution License (the "License"). 6b86efd96Sagiri# You may not use this file except in compliance with the License. 7b86efd96Sagiri# 8b86efd96Sagiri# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9b86efd96Sagiri# or http://www.opensolaris.org/os/licensing. 10b86efd96Sagiri# See the License for the specific language governing permissions 11b86efd96Sagiri# and limitations under the License. 12b86efd96Sagiri# 13b86efd96Sagiri# When distributing Covered Code, include this CDDL HEADER in each 14b86efd96Sagiri# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15b86efd96Sagiri# If applicable, add the following below this CDDL HEADER, with the 16b86efd96Sagiri# fields enclosed by brackets "[]" replaced with your own identifying 17b86efd96Sagiri# information: Portions Copyright [yyyy] [name of copyright owner] 18b86efd96Sagiri# 19b86efd96Sagiri# CDDL HEADER END 20b86efd96Sagiri# 21b86efd96Sagiri# 225ce5f367Srshoaib# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23b86efd96Sagiri# Use is subject to license terms. 24b86efd96Sagiri# 25b86efd96Sagiri 26b86efd96Sagiri# 27b86efd96Sagiri# Path to the base of the uts directory tree (usually /usr/src/uts). 28b86efd96Sagiri# 29b86efd96SagiriUTSBASE = ../.. 30b86efd96Sagiri 31b86efd96Sagiri# 32b86efd96Sagiri# Define the module and object file sets. 33b86efd96Sagiri# 34b86efd96SagiriMODULE = rdsib 35b86efd96SagiriOBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%) 36b86efd96SagiriROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 37*82d0151aSRichard LoweLDFLAGS += -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip 38b86efd96SagiriCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds 39b86efd96Sagiri# 40b86efd96Sagiri# Include common rules. 41b86efd96Sagiri# 42b86efd96Sagiriinclude $(UTSBASE)/intel/Makefile.intel 43b86efd96Sagiri 447014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch 45d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 467014882cSRichard Lowe 47b86efd96Sagiri# 48b86efd96Sagiri# Define targets 49b86efd96Sagiri# 50b86efd96SagiriALL_TARGET = $(BINARY) $(SRC_CONFILE) 51b86efd96SagiriINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 52b86efd96Sagiri 53b86efd96Sagiri# 54b86efd96Sagiri# Default build targets. 55b86efd96Sagiri# 56b86efd96Sagiri.KEEP_STATE: 57b86efd96Sagiri 58b86efd96Sagiridef: $(DEF_DEPS) 59b86efd96Sagiri 60b86efd96Sagiriall: $(ALL_DEPS) 61b86efd96Sagiri 62b86efd96Sagiriclean: $(CLEAN_DEPS) 63b86efd96Sagiri 64b86efd96Sagiriclobber: $(CLOBBER_DEPS) 65b86efd96Sagiri 66b86efd96Sagiriinstall: $(INSTALL_DEPS) 67b86efd96Sagiri 68b86efd96Sagiri# 69b86efd96Sagiri# Include common targets. 70b86efd96Sagiri# 71b86efd96Sagiriinclude $(UTSBASE)/intel/Makefile.targ 72b86efd96Sagiri 73