Makefile revision 9e39c5ba00a55fa05777cc94b148296af305e135
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
e20309353e6246485c521278131d3fced73d7957Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox User# CDDL HEADER END
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Use is subject to license terms.
df4ebd8217d02dafc12145b55c4d93d0255d1ec7Tinderbox User# This makefile drives the production of the hermon InfiniBand module
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# intel architecture dependent
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Define the module and object file sets.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox UserCONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/hermon
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Include common rules.
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Define targets
e20309353e6246485c521278131d3fced73d7957Tinderbox UserINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
c59750de3ea3c7d5890000fb4606e8f5835a52aaTinderbox User# Build with no debug TNF probes enabled (by default)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#DEBUG_DEFS_DBG32 += -DTNF_DEBUG
ec7751119a08c6a7250f3187beed69a8b836d349Tinderbox User#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews# lint pass one enforcement
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Default build targets.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Include common targets.
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews# Defines for local commands.
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrews$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/hermon.wlcmd
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(WARLOCK) -c $(WLCMD_DIR)/hermon.wlcmd $(WARLOCK_OUT) -l \
01a5c5503482fb3ba52088bf0178a7213273bf96Mark Andrews%.ll: $(UTSBASE)/common/io/ib/adapters/hermon/%.c
551271d8198ae06e37edf5da519d8ee153eeac0fTinderbox User $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $<