Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
4812N/A#
4812N/A# CDDL HEADER START
4812N/A#
4812N/A# The contents of this file are subject to the terms of the
4812N/A# Common Development and Distribution License (the "License").
4812N/A# You may not use this file except in compliance with the License.
4812N/A#
4812N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4812N/A# or http://www.opensolaris.org/os/licensing.
4812N/A# See the License for the specific language governing permissions
4812N/A# and limitations under the License.
4812N/A#
4812N/A# When distributing Covered Code, include this CDDL HEADER in each
4812N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4812N/A# If applicable, add the following below this CDDL HEADER, with the
4812N/A# fields enclosed by brackets "[]" replaced with your own identifying
4812N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4812N/A#
4812N/A# CDDL HEADER END
5680N/A#
4812N/A#
4812N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5425N/A# Use is subject to license terms.
4812N/A#
5680N/A#ident "%Z%%M% %I% %E% SMI"
4812N/A
4812N/AUTSBASE = ../..
4812N/A
6936N/AMODULE = dtrace
4812N/AOBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
6936N/ALINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
4845N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
4812N/ACONF_SRCDIR = $(UTSBASE)/common/dtrace
4812N/A
6936N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
4812N/A
5680N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
5680N/ALINT_TARGET = $(MODULE).lint
4812N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
6936N/A
6936N/ADTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
6936N/ADTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
6936N/A
6936N/ACFLAGS += $(CCVERBOSE)
6936N/ACPPFLAGS += $(DTRACE_INC_$(CLASS))
6936N/A
6936N/ADTRACE_XAS_32 = -xarch=v8plus
6936N/ADTRACE_XAS_64 = -xarch=v9
6936N/A
6936N/AAS_CPPFLAGS += $(DTRACE_INC_64)
6936N/AASFLAGS += $(DTRACE_XAS_$(CLASS))
4812N/A
4812N/A#
4812N/A# For now, disable these lint checks; maintainers should endeavor
5680N/A# to investigate and remove these for maximum lint coverage.
4812N/A# Please do not carry these forward to new Makefiles.
4812N/A#
4812N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
4812N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
4812N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
6936N/ALINTTAGS += -erroff=E_STATIC_UNUSED
4812N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
4812N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
4812N/A
4812N/A.KEEP_STATE:
4812N/A
4812N/Adef: $(DEF_DEPS)
4812N/A
4812N/Aall: $(ALL_DEPS)
4812N/A
4812N/Aclean: $(CLEAN_DEPS)
4812N/A
4812N/Aclobber: $(CLOBBER_DEPS)
4812N/A
4812N/Alint: $(LINT_DEPS)
4812N/A
4812N/Amodlintlib: $(MODLINTLIB_DEPS)
4812N/A
4812N/Aclean.lint: $(CLEAN_LINT_DEPS)
4812N/A
4812N/Ainstall: $(INSTALL_DEPS)
4812N/A
4812N/Ainclude $(UTSBASE)/sparc/Makefile.targ
4812N/A