xref: /onnv-gate/usr/src/cmd/mdb/sparc/Makefile.sparcv7 (revision 580:70dfd36fd02c)
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
5*580Swesolows# Common Development and Distribution License (the "License").
6*580Swesolows# 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# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
220Sstevel@tonic-gate# Use is subject to license terms.
230Sstevel@tonic-gate#
240Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
250Sstevel@tonic-gate#
260Sstevel@tonic-gate
270Sstevel@tonic-gateMACHDIR=sparc
280Sstevel@tonic-gateMACHMODDIR=
290Sstevel@tonic-gate
300Sstevel@tonic-gateROOTMOD = $(ROOT)/usr/lib/mdb/$(MDBTGT)
310Sstevel@tonic-gate
320Sstevel@tonic-gate$$(ROOTMOD)/%: dmod/%
330Sstevel@tonic-gate	$(INS.file)
340Sstevel@tonic-gate
350Sstevel@tonic-gateCFLAGS += $(CTF_FLAGS) $(CCVERBOSE) -xstrconst
36*580SwesolowsCTFSTABSCFLAGS = $(CFLAGS) $(CALLSYMS)
370Sstevel@tonic-gateLINTFLAGS += -u -erroff=E_BAD_FORMAT_STR2,E_BAD_FORMAT_ARG_TYPE2
380Sstevel@tonic-gate
390Sstevel@tonic-gateLFLAGS = -t -v
400Sstevel@tonic-gateYFLAGS = -d -v
410Sstevel@tonic-gate
420Sstevel@tonic-gate#
430Sstevel@tonic-gate# We don't support kmdb on v7 sparc, so we don't need kmdb versions of the
440Sstevel@tonic-gate# v7 modules
450Sstevel@tonic-gate#
460Sstevel@tonic-gateMODULE_BUILD_TYPE = mdb
470Sstevel@tonic-gate
480Sstevel@tonic-gate#
490Sstevel@tonic-gate# `all' target to force `all' to be the first target, so that
500Sstevel@tonic-gate# a `make' will `make all'.
510Sstevel@tonic-gate#
520Sstevel@tonic-gateall:
53