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# ident "%Z%%M% %I% %E% SMI" 26*74e20cfeSnh145002# 27*74e20cfeSnh145002# 28*74e20cfeSnh145002 29*74e20cfeSnh145002# 30*74e20cfeSnh145002# Path to the base of the uts directory tree (usually /usr/src/uts). 31*74e20cfeSnh145002# 32*74e20cfeSnh145002UTSBASE = ../.. 33*74e20cfeSnh145002 34*74e20cfeSnh145002# 35*74e20cfeSnh145002# Define the module and object file sets. 36*74e20cfeSnh145002# 37*74e20cfeSnh145002MODULE = sdp 38*74e20cfeSnh145002OBJECTS = $(SDP_OBJS:%=$(OBJS_DIR)/%) 39*74e20cfeSnh145002LINTS = $(SDP_OBJS:%.o=$(LINTS_DIR)/%.ln) 40*74e20cfeSnh145002ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 41*74e20cfeSnh145002LDFLAGS += -dy 42*74e20cfeSnh145002CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/sdp 43*74e20cfeSnh145002# 44*74e20cfeSnh145002# Include common rules. 45*74e20cfeSnh145002# 46*74e20cfeSnh145002include $(UTSBASE)/sparc/Makefile.sparc 47*74e20cfeSnh145002 48*74e20cfeSnh145002# 49*74e20cfeSnh145002# Define targets 50*74e20cfeSnh145002# 51*74e20cfeSnh145002ALL_TARGET = $(BINARY) $(SRC_CONFILE) 52*74e20cfeSnh145002LINT_TARGET = $(MODULE).lint 53*74e20cfeSnh145002INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 54*74e20cfeSnh145002 55*74e20cfeSnh145002# 56*74e20cfeSnh145002# Default build targets. 57*74e20cfeSnh145002# 58*74e20cfeSnh145002.KEEP_STATE: 59*74e20cfeSnh145002 60*74e20cfeSnh145002def: $(DEF_DEPS) 61*74e20cfeSnh145002 62*74e20cfeSnh145002all: $(ALL_DEPS) 63*74e20cfeSnh145002 64*74e20cfeSnh145002clean: $(CLEAN_DEPS) 65*74e20cfeSnh145002 66*74e20cfeSnh145002clobber: $(CLOBBER_DEPS) 67*74e20cfeSnh145002 68*74e20cfeSnh145002lint: $(LINT_DEPS) 69*74e20cfeSnh145002 70*74e20cfeSnh145002modlintlib: $(MODLINTLIB_DEPS) 71*74e20cfeSnh145002 72*74e20cfeSnh145002clean.lint: $(CLEAN_LINT_DEPS) 73*74e20cfeSnh145002 74*74e20cfeSnh145002install: $(INSTALL_DEPS) 75*74e20cfeSnh145002 76*74e20cfeSnh145002# 77*74e20cfeSnh145002# Include common targets. 78*74e20cfeSnh145002# 79*74e20cfeSnh145002include $(UTSBASE)/sparc/Makefile.targ 80