Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# CDDL HEADER START
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# The contents of this file are subject to the terms of the
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# Common Development and Distribution License (the "License").
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# You may not use this file except in compliance with the License.
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# See the License for the specific language governing permissions
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# and limitations under the License.
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# When distributing Covered Code, include this CDDL HEADER in each
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# If applicable, add the following below this CDDL HEADER, with the
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# fields enclosed by brackets "[]" replaced with your own identifying
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# information: Portions Copyright [yyyy] [name of copyright owner]
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# CDDL HEADER END
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
c26adb82536952e27b05d237049b938d697e8ed9Stéphane Graber# Path to the base of the uts directory tree (usually /usr/src/uts).
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# Define the module and object file sets.
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian BraunerOBJECTS = $(SOL_UVERBS_OBJS:%=$(OBJS_DIR)/%)
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian BraunerLINTS = $(SOL_UVERBS_OBJS:%.o=$(LINTS_DIR)/%.ln)
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian BraunerCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_uverbs
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# Include common rules.
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# Define targets
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian BraunerINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# For now, disable these lint checks; maintainers should endeavor
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# to investigate and remove these for maximum lint coverage.
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian Brauner# Please do not carry these forward to new Makefiles.
569c5fe10365bb93d8773a7bd390353bcaafd3c5Christian BraunerLINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
6ebc0504770a4b3ec32fdde9507a35aed90f5a43Stéphane Graber# Default build targets.
198a3f10d2e9d28a3713abd8e63e02524240dbf6Stéphane Graber# Include common targets.
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn# Defines for local commands.
d08363afbb40a7a8f579fe1ce60e40ffeaee5959Serge Hallyn$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/sol_uverbs.wlcmd warlock_ddi.files
73d3e0903c728d5fdc4591c5d7cd157004461230Stéphane Graber $(WARLOCK) -c $(WLCMD_DIR)/sol_uverbs.wlcmd $(WARLOCK_OUT) \
9a64d3cf9fae39337943174fd7d680a62bade2faSerge Hallyn%.ll: $(UTSBASE)/common/io/ib/clients/of/sol_uverbs/%.c \