1*82743679SGarrett D'Amore# 2*82743679SGarrett D'Amore# CDDL HEADER START 3*82743679SGarrett D'Amore# 4*82743679SGarrett D'Amore# The contents of this file are subject to the terms of the 5*82743679SGarrett D'Amore# Common Development and Distribution License (the "License"). 6*82743679SGarrett D'Amore# You may not use this file except in compliance with the License. 7*82743679SGarrett D'Amore# 8*82743679SGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*82743679SGarrett D'Amore# or http://www.opensolaris.org/os/licensing. 10*82743679SGarrett D'Amore# See the License for the specific language governing permissions 11*82743679SGarrett D'Amore# and limitations under the License. 12*82743679SGarrett D'Amore# 13*82743679SGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each 14*82743679SGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*82743679SGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the 16*82743679SGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying 17*82743679SGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner] 18*82743679SGarrett D'Amore# 19*82743679SGarrett D'Amore# CDDL HEADER END 20*82743679SGarrett D'Amore# 21*82743679SGarrett D'Amore# 22*82743679SGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*82743679SGarrett D'Amore# Use is subject to license terms. 24*82743679SGarrett D'Amore# 25*82743679SGarrett D'Amore# Copyright 2010 Nexenta Systems, Inc. All rights reserved. 26*82743679SGarrett D'Amore# 27*82743679SGarrett D'Amore 28*82743679SGarrett D'Amore# 29*82743679SGarrett D'Amore# Path to the base of the uts directory tree (usually /usr/src/uts). 30*82743679SGarrett D'Amore# 31*82743679SGarrett D'AmoreUTSBASE = ../.. 32*82743679SGarrett D'Amore 33*82743679SGarrett D'Amore# 34*82743679SGarrett D'Amore# Define the module and object file sets. 35*82743679SGarrett D'Amore# 36*82743679SGarrett D'AmoreMODULE = iprb 37*82743679SGarrett D'AmoreOBJECTS = $(IPRB_OBJS:%=$(OBJS_DIR)/%) 38*82743679SGarrett D'AmoreLINTS = $(IPRB_OBJS:%.o=$(LINTS_DIR)/%.ln) 39*82743679SGarrett D'AmoreROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 40*82743679SGarrett D'Amore 41*82743679SGarrett D'Amore# 42*82743679SGarrett D'Amore# Include common rules. 43*82743679SGarrett D'Amore# 44*82743679SGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel 45*82743679SGarrett D'Amore 46*82743679SGarrett D'Amore# 47*82743679SGarrett D'Amore# Define targets 48*82743679SGarrett D'Amore# 49*82743679SGarrett D'AmoreALL_TARGET = $(BINARY) 50*82743679SGarrett D'AmoreLINT_TARGET = $(MODULE).lint 51*82743679SGarrett D'AmoreINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 52*82743679SGarrett D'Amore 53*82743679SGarrett D'Amore# 54*82743679SGarrett D'Amore# Overrides 55*82743679SGarrett D'Amore# 56*82743679SGarrett D'Amore 57*82743679SGarrett D'Amore# 58*82743679SGarrett D'Amore# Driver depends on GLD 59*82743679SGarrett D'Amore# 60*82743679SGarrett D'AmoreLDFLAGS += -dy -N misc/mac -Nmisc/mii 61*82743679SGarrett D'Amore 62*82743679SGarrett D'Amore# 63*82743679SGarrett D'Amore# Default build targets. 64*82743679SGarrett D'Amore# 65*82743679SGarrett D'Amore.KEEP_STATE: 66*82743679SGarrett D'Amore 67*82743679SGarrett D'Amoredef: $(DEF_DEPS) 68*82743679SGarrett D'Amore 69*82743679SGarrett D'Amoreall: $(ALL_DEPS) 70*82743679SGarrett D'Amore 71*82743679SGarrett D'Amoreclean: $(CLEAN_DEPS) 72*82743679SGarrett D'Amore 73*82743679SGarrett D'Amoreclobber: $(CLOBBER_DEPS) 74*82743679SGarrett D'Amore 75*82743679SGarrett D'Amorelint: $(LINT_DEPS) 76*82743679SGarrett D'Amore 77*82743679SGarrett D'Amoremodlintlib: $(MODLINTLIB_DEPS) 78*82743679SGarrett D'Amore 79*82743679SGarrett D'Amoreclean.lint: $(CLEAN_LINT_DEPS) 80*82743679SGarrett D'Amore 81*82743679SGarrett D'Amoreinstall: $(INSTALL_DEPS) 82*82743679SGarrett D'Amore 83*82743679SGarrett D'Amore# 84*82743679SGarrett D'Amore# Include common targets. 85*82743679SGarrett D'Amore# 86*82743679SGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ 87