1*74e20cfeSnh145002# 2*74e20cfeSnh145002# CDDL HEADER START 3*74e20cfeSnh145002# 4*74e20cfeSnh145002# The contents of this file are subject to the terms of the 5*74e20cfeSnh145002# Common Development and Distribution License (the "License"). 6*74e20cfeSnh145002# You may not use this file except in compliance with the License. 7*74e20cfeSnh145002# 8*74e20cfeSnh145002# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*74e20cfeSnh145002# or http://www.opensolaris.org/os/licensing. 10*74e20cfeSnh145002# See the License for the specific language governing permissions 11*74e20cfeSnh145002# and limitations under the License. 12*74e20cfeSnh145002# 13*74e20cfeSnh145002# When distributing Covered Code, include this CDDL HEADER in each 14*74e20cfeSnh145002# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*74e20cfeSnh145002# If applicable, add the following below this CDDL HEADER, with the 16*74e20cfeSnh145002# fields enclosed by brackets "[]" replaced with your own identifying 17*74e20cfeSnh145002# information: Portions Copyright [yyyy] [name of copyright owner] 18*74e20cfeSnh145002# 19*74e20cfeSnh145002# CDDL HEADER END 20*74e20cfeSnh145002# 21*74e20cfeSnh145002# 22*74e20cfeSnh145002# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*74e20cfeSnh145002# Use is subject to license terms. 24*74e20cfeSnh145002# 25*74e20cfeSnh145002 26*74e20cfeSnh145002# 27*74e20cfeSnh145002# Path to the base of the uts directory tree (usually /usr/src/uts). 28*74e20cfeSnh145002# 29*74e20cfeSnh145002UTSBASE = ../.. 30*74e20cfeSnh145002 31*74e20cfeSnh145002# 32*74e20cfeSnh145002# Define the module and object file sets. 33*74e20cfeSnh145002# 34*74e20cfeSnh145002MODULE = sdp 35*74e20cfeSnh145002OBJECTS = $(SDP_OBJS:%=$(OBJS_DIR)/%) 36*74e20cfeSnh145002ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 37*74e20cfeSnh145002CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/sdp 38*74e20cfeSnh145002# 39*74e20cfeSnh145002# Include common rules. 40*74e20cfeSnh145002# 41*74e20cfeSnh145002include $(UTSBASE)/intel/Makefile.intel 42*74e20cfeSnh145002 43*74e20cfeSnh145002# 44*74e20cfeSnh145002# Define targets 45*74e20cfeSnh145002# 46*74e20cfeSnh145002ALL_TARGET = $(BINARY) $(SRC_CONFILE) 47*74e20cfeSnh145002INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 48*74e20cfeSnh145002 49*74e20cfeSnh145002# 50*74e20cfeSnh145002# Default build targets. 51*74e20cfeSnh145002# 52*74e20cfeSnh145002.KEEP_STATE: 53*74e20cfeSnh145002 54*74e20cfeSnh145002def: $(DEF_DEPS) 55*74e20cfeSnh145002 56*74e20cfeSnh145002all: $(ALL_DEPS) 57*74e20cfeSnh145002 58*74e20cfeSnh145002clean: $(CLEAN_DEPS) 59*74e20cfeSnh145002 60*74e20cfeSnh145002clobber: $(CLOBBER_DEPS) 61*74e20cfeSnh145002 62*74e20cfeSnh145002install: $(INSTALL_DEPS) 63*74e20cfeSnh145002 64*74e20cfeSnh145002# 65*74e20cfeSnh145002# Include common targets. 66*74e20cfeSnh145002# 67*74e20cfeSnh145002include $(UTSBASE)/intel/Makefile.targ 68*74e20cfeSnh145002 69