Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# CDDL HEADER START
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# The contents of this file are subject to the terms of the
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# Common Development and Distribution License (the "License").
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# You may not use this file except in compliance with the License.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# or http://www.opensolaris.org/os/licensing.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# See the License for the specific language governing permissions
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# and limitations under the License.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# When distributing Covered Code, include this CDDL HEADER in each
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# If applicable, add the following below this CDDL HEADER, with the
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# fields enclosed by brackets "[]" replaced with your own identifying
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# information: Portions Copyright [yyyy] [name of copyright owner]
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# CDDL HEADER END
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# Use is subject to license terms.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#ident "%Z%%M% %I% %E% SMI"
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzUTSBASE = ../..
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzMODULE = ctf
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzOBJECTS = $(CTF_OBJS:%=$(OBJS_DIR)/%)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLINTS = $(CTF_OBJS:%.o=$(LINTS_DIR)/%.ln)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzinclude $(UTSBASE)/intel/Makefile.intel
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzALL_TARGET = $(BINARY)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLINT_TARGET = $(MODULE).lint
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzCPPFLAGS += -I$(SRC)/common/ctf -DCTF_OLD_VERSIONS
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile -dy
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# For now, disable these lint checks; maintainers should endeavor
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# to investigate and remove these for maximum lint coverage.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz# Please do not carry these forward to new Makefiles.
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz#
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz.KEEP_STATE:
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzdef: $(DEF_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzall: $(ALL_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzclean: $(CLEAN_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzclobber: $(CLOBBER_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzlint: $(LINT_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzmodlintlib: $(MODLINTLIB_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzclean.lint: $(CLEAN_LINT_DEPS)
a399b7655a1d835aa8606c2b29e4e777baac8635zf
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzinstall: $(INSTALL_DEPS)
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz
f595a68a3b8953a12aa778c2abd7642df8da8c3ayzinclude $(UTSBASE)/intel/Makefile.targ
f595a68a3b8953a12aa778c2abd7642df8da8c3ayz