1c39526b7SPramod Gunjikar# 2c39526b7SPramod Gunjikar# CDDL HEADER START 3c39526b7SPramod Gunjikar# 4c39526b7SPramod Gunjikar# The contents of this file are subject to the terms of the 5c39526b7SPramod Gunjikar# Common Development and Distribution License (the "License"). 6c39526b7SPramod Gunjikar# You may not use this file except in compliance with the License. 7c39526b7SPramod Gunjikar# 8c39526b7SPramod Gunjikar# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9c39526b7SPramod Gunjikar# or http://www.opensolaris.org/os/licensing. 10c39526b7SPramod Gunjikar# See the License for the specific language governing permissions 11c39526b7SPramod Gunjikar# and limitations under the License. 12c39526b7SPramod Gunjikar# 13c39526b7SPramod Gunjikar# When distributing Covered Code, include this CDDL HEADER in each 14c39526b7SPramod Gunjikar# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15c39526b7SPramod Gunjikar# If applicable, add the following below this CDDL HEADER, with the 16c39526b7SPramod Gunjikar# fields enclosed by brackets "[]" replaced with your own identifying 17c39526b7SPramod Gunjikar# information: Portions Copyright [yyyy] [name of copyright owner] 18c39526b7SPramod Gunjikar# 19c39526b7SPramod Gunjikar# CDDL HEADER END 20c39526b7SPramod Gunjikar# 21c39526b7SPramod Gunjikar# 22c39526b7SPramod Gunjikar# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 23c39526b7SPramod Gunjikar# 24b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc. 25c39526b7SPramod Gunjikar 26c39526b7SPramod Gunjikar# 27c39526b7SPramod Gunjikar# Path to the base of the uts directory tree (usually /usr/src/uts). 28c39526b7SPramod Gunjikar# 29c39526b7SPramod GunjikarUTSBASE = ../.. 30c39526b7SPramod Gunjikar 31c39526b7SPramod Gunjikar# 32c39526b7SPramod Gunjikar# Define the module and object file sets. 33c39526b7SPramod Gunjikar# 34c39526b7SPramod GunjikarMODULE = sol_ucma 35c39526b7SPramod GunjikarOBJECTS = $(SOL_UCMA_OBJS:%=$(OBJS_DIR)/%) 36c39526b7SPramod GunjikarROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 37*82d0151aSRichard LoweLDFLAGS += -Nmisc/sol_ofs 38c39526b7SPramod GunjikarCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_ucma 395c25b6f1SYuri Pankov 40c39526b7SPramod Gunjikar# 41c39526b7SPramod Gunjikar# Include common rules. 42c39526b7SPramod Gunjikar# 43c39526b7SPramod Gunjikarinclude $(UTSBASE)/intel/Makefile.intel 44c39526b7SPramod Gunjikar 45c39526b7SPramod Gunjikar# 46c39526b7SPramod Gunjikar# Define targets 47c39526b7SPramod Gunjikar# 48c39526b7SPramod GunjikarALL_TARGET = $(BINARY) $(SRC_CONFILE) 49c39526b7SPramod GunjikarINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 50c39526b7SPramod Gunjikar 51c39526b7SPramod Gunjikar# 52c39526b7SPramod Gunjikar# path for header files 53c39526b7SPramod Gunjikar# 54c39526b7SPramod Gunjikar# 55c39526b7SPramod GunjikarINCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/ofv/sol_ucma 56c39526b7SPramod Gunjikar 570aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor 580aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage. 59c39526b7SPramod Gunjikar# Please do not carry these forward to new Makefiles. 60c39526b7SPramod Gunjikar# 61c39526b7SPramod Gunjikar 62b6b206fcSJohn Levon# needs work 63b6b206fcSJohn LevonSMOFF += all_func_returns,logical_instead_of_bitwise 64b6b206fcSJohn Levon 65c39526b7SPramod Gunjikar# 66c39526b7SPramod Gunjikar# Default build targets. 67c39526b7SPramod Gunjikar# 68c39526b7SPramod Gunjikar.KEEP_STATE: 69c39526b7SPramod Gunjikar 70c39526b7SPramod Gunjikardef: $(DEF_DEPS) 71c39526b7SPramod Gunjikar 72c39526b7SPramod Gunjikarall: $(ALL_DEPS) 73c39526b7SPramod Gunjikar 74c39526b7SPramod Gunjikarclean: $(CLEAN_DEPS) 75c39526b7SPramod Gunjikar 76c39526b7SPramod Gunjikarclobber: $(CLOBBER_DEPS) 77c39526b7SPramod Gunjikar 78c39526b7SPramod Gunjikarinstall: $(INSTALL_DEPS) 79c39526b7SPramod Gunjikar 80c39526b7SPramod Gunjikar# 81c39526b7SPramod Gunjikar# Include common targets. 82c39526b7SPramod Gunjikar# 83c39526b7SPramod Gunjikarinclude $(UTSBASE)/intel/Makefile.targ 84