1448bf859SLida.Horn# 2448bf859SLida.Horn# CDDL HEADER START 3448bf859SLida.Horn# 4448bf859SLida.Horn# The contents of this file are subject to the terms of the 5448bf859SLida.Horn# Common Development and Distribution License (the "License"). 6448bf859SLida.Horn# You may not use this file except in compliance with the License. 7448bf859SLida.Horn# 8448bf859SLida.Horn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9448bf859SLida.Horn# or http://www.opensolaris.org/os/licensing. 10448bf859SLida.Horn# See the License for the specific language governing permissions 11448bf859SLida.Horn# and limitations under the License. 12448bf859SLida.Horn# 13448bf859SLida.Horn# When distributing Covered Code, include this CDDL HEADER in each 14448bf859SLida.Horn# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15448bf859SLida.Horn# If applicable, add the following below this CDDL HEADER, with the 16448bf859SLida.Horn# fields enclosed by brackets "[]" replaced with your own identifying 17448bf859SLida.Horn# information: Portions Copyright [yyyy] [name of copyright owner] 18448bf859SLida.Horn# 19448bf859SLida.Horn# CDDL HEADER END 20448bf859SLida.Horn# 21448bf859SLida.Horn# 22448bf859SLida.Horn# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 23448bf859SLida.Horn# 24448bf859SLida.Horn# 25448bf859SLida.Horn 26448bf859SLida.Horn# 27448bf859SLida.Horn# Path to the base of the uts directory tree (usually /usr/src/uts). 28448bf859SLida.Horn# 29448bf859SLida.HornUTSBASE = ../.. 30448bf859SLida.Horn 31448bf859SLida.Horn# 32448bf859SLida.Horn# Define the module and object file sets. 33448bf859SLida.Horn# 34448bf859SLida.HornMODULE = sol_umad 35448bf859SLida.HornOBJECTS = $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%) 36448bf859SLida.HornLINTS = $(SOL_UMAD_OBJS:%.o=$(LINTS_DIR)/%.ln) 37448bf859SLida.HornROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 38448bf859SLida.HornCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_umad 39448bf859SLida.HornLDFLAGS += -dy -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl 40*7014882cSRichard Lowe 41448bf859SLida.Horn# 42448bf859SLida.Horn# Include common rules. 43448bf859SLida.Horn# 44448bf859SLida.Horninclude $(UTSBASE)/sparc/Makefile.sparc 45448bf859SLida.Horn 46448bf859SLida.Horn# 47448bf859SLida.Horn# Define targets 48448bf859SLida.Horn# 49448bf859SLida.HornALL_TARGET = $(BINARY) $(SRC_CONFILE) 50448bf859SLida.HornLINT_TARGET = $(MODULE).lint 51448bf859SLida.HornINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 52448bf859SLida.Horn 53448bf859SLida.Horn# 54448bf859SLida.Horn# path for header files 55448bf859SLida.Horn# 56448bf859SLida.Horn# 57448bf859SLida.HornINCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/of/sol_umad 58448bf859SLida.Horn 59*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 60*7014882cSRichard Lowe 61448bf859SLida.Horn# 62448bf859SLida.Horn# Default build targets. 63448bf859SLida.Horn# 64448bf859SLida.Horn.KEEP_STATE: 65448bf859SLida.Horn 66448bf859SLida.Horndef: $(DEF_DEPS) 67448bf859SLida.Horn 68448bf859SLida.Hornall: $(ALL_DEPS) 69448bf859SLida.Horn 70448bf859SLida.Hornclean: $(CLEAN_DEPS) 71448bf859SLida.Horn 72448bf859SLida.Hornclobber: $(CLOBBER_DEPS) 73448bf859SLida.Horn 74448bf859SLida.Hornlint: $(LINT_DEPS) 75448bf859SLida.Horn 76448bf859SLida.Hornmodlintlib: $(MODLINTLIB_DEPS) 77448bf859SLida.Horn 78448bf859SLida.Hornclean.lint: $(CLEAN_LINT_DEPS) 79448bf859SLida.Horn 80448bf859SLida.Horninstall: $(INSTALL_DEPS) 81448bf859SLida.Horn 82448bf859SLida.Horn# 83448bf859SLida.Horn# Include common targets. 84448bf859SLida.Horn# 85448bf859SLida.Horninclude $(UTSBASE)/sparc/Makefile.targ 86