10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 53066Sjg# Common Development and Distribution License (the "License"). 63066Sjg# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 223446Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 260Sstevel@tonic-gate 270Sstevel@tonic-gateUTSBASE = ../.. 280Sstevel@tonic-gate 290Sstevel@tonic-gateMODULE = ctf 300Sstevel@tonic-gateOBJECTS = $(CTF_OBJS:%=$(OBJS_DIR)/%) 310Sstevel@tonic-gateLINTS = $(CTF_OBJS:%.o=$(LINTS_DIR)/%.ln) 320Sstevel@tonic-gateROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 330Sstevel@tonic-gate 340Sstevel@tonic-gateinclude $(UTSBASE)/intel/Makefile.intel 350Sstevel@tonic-gate 360Sstevel@tonic-gateALL_TARGET = $(BINARY) 370Sstevel@tonic-gateLINT_TARGET = $(MODULE).lint 380Sstevel@tonic-gateINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 390Sstevel@tonic-gate 400Sstevel@tonic-gateCPPFLAGS += -I$(SRC)/common/ctf -DCTF_OLD_VERSIONS 41*4271SrieLDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile -dy 420Sstevel@tonic-gate 433066Sjg# 443066Sjg# For now, disable these lint checks; maintainers should endeavor 453066Sjg# to investigate and remove these for maximum lint coverage. 463066Sjg# Please do not carry these forward to new Makefiles. 473066Sjg# 483066SjgLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 493066SjgLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW 503066SjgLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV 513066Sjg 520Sstevel@tonic-gate.KEEP_STATE: 530Sstevel@tonic-gate 540Sstevel@tonic-gatedef: $(DEF_DEPS) 550Sstevel@tonic-gate 560Sstevel@tonic-gateall: $(ALL_DEPS) 570Sstevel@tonic-gate 580Sstevel@tonic-gateclean: $(CLEAN_DEPS) 590Sstevel@tonic-gate 600Sstevel@tonic-gateclobber: $(CLOBBER_DEPS) 610Sstevel@tonic-gate 620Sstevel@tonic-gatelint: $(LINT_DEPS) 630Sstevel@tonic-gate 640Sstevel@tonic-gatemodlintlib: $(MODLINTLIB_DEPS) 650Sstevel@tonic-gate 660Sstevel@tonic-gateclean.lint: $(CLEAN_LINT_DEPS) 670Sstevel@tonic-gate 680Sstevel@tonic-gateinstall: $(INSTALL_DEPS) 690Sstevel@tonic-gate 700Sstevel@tonic-gateinclude $(UTSBASE)/intel/Makefile.targ 71