Makefile revision d291d9f21e8c0417aec99de243dd48bc400002d0
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# CDDL HEADER START
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# The contents of this file are subject to the terms of the
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Common Development and Distribution License, Version 1.0 only
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# (the "License"). You may not use this file except in compliance
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# with the License.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# or http://www.opensolaris.org/os/licensing.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# See the License for the specific language governing permissions
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# and limitations under the License.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# When distributing Covered Code, include this CDDL HEADER in each
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# If applicable, add the following below this CDDL HEADER, with the
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# fields enclosed by brackets "[]" replaced with your own identifying
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# information: Portions Copyright [yyyy] [name of copyright owner]
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# CDDL HEADER END
4a44f0a129f99893a7aef6325037c5e1fa702a0fAnurag S. Maskey# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Use is subject to license terms.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# ident "%Z%%M% %I% %E% SMI"
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# This makefile drives the production of the ibmf kernel module.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# sparc architecture dependent
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Path to the base of the uts directory tree (usually /usr/src/uts).
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Define the module and object file sets.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Include common rules.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Define targets
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# lint pass one enforcement
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Default build targets.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Include common targets.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Defines for local commands.
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Warlock targets
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyIBMF_FILES = $(IBMF_OBJS:%.o= -l ../ibmf/%.ll)
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey$(MODULE).ok: $(WARLOCK_OBJECTS) warlock_ddi.files ibmf.wlcmd
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey $(WARLOCK) -c ibmf.wlcmd $(WARLOCK_OBJECTS) $(IBMF_FILES) \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $<