xref: /titanic_44/usr/src/cmd/abi/spectrans/spec2trace/Makefile.targ (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1753d2d2eSraf#
2753d2d2eSraf# CDDL HEADER START
3753d2d2eSraf#
4753d2d2eSraf# The contents of this file are subject to the terms of the
5753d2d2eSraf# Common Development and Distribution License, Version 1.0 only
6753d2d2eSraf# (the "License").  You may not use this file except in compliance
7753d2d2eSraf# with the License.
8753d2d2eSraf#
9753d2d2eSraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10753d2d2eSraf# or http://www.opensolaris.org/os/licensing.
11753d2d2eSraf# See the License for the specific language governing permissions
12753d2d2eSraf# and limitations under the License.
13753d2d2eSraf#
14753d2d2eSraf# When distributing Covered Code, include this CDDL HEADER in each
15753d2d2eSraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16753d2d2eSraf# If applicable, add the following below this CDDL HEADER, with the
17753d2d2eSraf# fields enclosed by brackets "[]" replaced with your own identifying
18753d2d2eSraf# information: Portions Copyright [yyyy] [name of copyright owner]
19753d2d2eSraf#
20753d2d2eSraf# CDDL HEADER END
21753d2d2eSraf#
22753d2d2eSraf#
23753d2d2eSraf# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
24753d2d2eSraf# All rights reserved.
25753d2d2eSraf#
26753d2d2eSraf
27753d2d2eSraf.KEEP_STATE:
28753d2d2eSraf
29753d2d2eSrafPROG	=	spec2trace
30753d2d2eSraf
31753d2d2eSrafYACC_OBJS =	parseproto.o
32753d2d2eSraf
33753d2d2eSrafOBJECTS	=	trace.o		\
34753d2d2eSraf		util.o		\
35753d2d2eSraf		db.o		\
36753d2d2eSraf		symtab.o	\
37753d2d2eSraf		bindings.o	\
38753d2d2eSraf		printfuncs.o	\
39753d2d2eSraf		io.o		\
40753d2d2eSraf		linkage.o	\
41753d2d2eSraf		interceptor.o
42753d2d2eSraf
43753d2d2eSrafinclude		../../Makefile.cmd
44753d2d2eSraf
45*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-parentheses
46*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-switch
47*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
48*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-label
49*7014882cSRichard Lowe
50753d2d2eSrafparseproto := RM = @echo keeping	# do not remove generated C code
51753d2d2eSrafparseproto := COPTFLAG = -g -DDEBUG -DMEM_DEBUG -DTRACE
52753d2d2eSrafparseproto:	parseproto.o
53753d2d2eSraf	$(LINK.c) -o parseproto parseproto.o
54