Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# CDDL HEADER START
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# The contents of this file are subject to the terms of the
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Common Development and Distribution License (the "License").
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# You may not use this file except in compliance with the License.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# See the License for the specific language governing permissions
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# and limitations under the License.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# When distributing Covered Code, include this CDDL HEADER in each
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# If applicable, add the following below this CDDL HEADER, with the
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# fields enclosed by brackets "[]" replaced with your own identifying
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# information: Portions Copyright [yyyy] [name of copyright owner]
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# CDDL HEADER END
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Use is subject to license terms.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Paths to the base of the uts directory trees
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Define the module and object file sets.
9e39c5ba00a55fa05777cc94b148296af305e135Bill TaylorCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Include common rules.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Define targets
9e39c5ba00a55fa05777cc94b148296af305e135Bill TaylorINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# path for header files
9e39c5ba00a55fa05777cc94b148296af305e135Bill TaylorINCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# For now, disable these lint checks; maintainers should endeavor
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# to investigate and remove these for maximum lint coverage.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Please do not carry these forward to new Makefiles.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Default build targets.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Include common targets.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor# Defines for local commands.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/daplt.wlcmd warlock_ddi.files
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor $(WARLOCK) -c $(WLCMD_DIR)/daplt.wlcmd $(WARLOCK_OUT) \
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor%.ll: $(UTSBASE)/common/io/ib/clients/daplt/%.c \
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor $(UTSBASE)/common/sys/ib/clients/daplt/daplt.h \
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor $(UTSBASE)/common/sys/ib/clients/daplt/daplt_if.h
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock