Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder# CDDL HEADER START
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# The contents of this file are subject to the terms of the
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# Common Development and Distribution License (the "License").
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# or http://www.opensolaris.org/os/licensing.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# See the License for the specific language governing permissions
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# and limitations under the License.
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
a1ed34933c266ce85066acb0d7b20c90cb8eb213Christian Maeder# CDDL HEADER END
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# Use is subject to license terms.
ef9e8535c168d3f774d9e74368a2317a9eda5826Christian Maeder# Paths to the base of the uts directory trees
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Define the module and object file sets.
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederOBJECTS = $(DAPLT_OBJS:%=$(OBJS_DIR)/%)
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederLINTS = $(DAPLT_OBJS:%.o=$(LINTS_DIR)/%.ln)
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederLDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
3dde4051c307b609159a097f08a05108fdd036efJonathan von SchroederWLCMD_DIR = $(UTSBASE)/common/io/warlock
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroeder# Include common rules.
3dde4051c307b609159a097f08a05108fdd036efJonathan von Schroederinclude $(UTSBASE)/intel/Makefile.intel
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder# Define targets
456238178f89e5a3de2988ee6c8af924297d52d9Christian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
308834907a120fd8771e18292ed2ca9cd767c12dChristian Maeder# path for header files
9f226cec9f978edaba67aee4c4e04e3d3b994b87Daniel CalegariINCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
6aea82c63ba1d2efc0329bc784a14e521469ec20Christian Maeder# For now, disable these lint checks; maintainers should endeavor
4ba08bfca0cc8d9da65397b8dfd2654fdb4c0e62Christian Maeder# to investigate and remove these for maximum lint coverage.
feca1d35123d8c31aee238c9ce79947b0bf65494Christian Maeder# Please do not carry these forward to new Makefiles.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Default build targets.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Include common targets.
d946c1bfdd7d58aa7c023efe864d5999eb44a61bChristian Maeder# Defines for local commands.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/daplt.wlcmd warlock_ddi.files
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder $(WARLOCK) -c $(WLCMD_DIR)/daplt.wlcmd $(WARLOCK_OUT) \
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder -l $(UTSBASE)/intel/warlock/ddi_dki_impl.ll
f1541d4a151dbd08002dbd14e7eb1d5dde253689Christian Maeder%.ll: $(UTSBASE)/common/io/ib/clients/daplt/%.c \
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder $(UTSBASE)/common/sys/ib/clients/daplt/daplt.h \
58b96b17bf8e32c0b0d773380a5e62f992eef2bcChristian Maeder $(UTSBASE)/common/sys/ib/clients/daplt/daplt_if.h