xref: /titanic_50/usr/src/cmd/abi/spectrans/parser/Makefile.targ (revision b6805bf78d2bbbeeaea8909a05623587b42d58b3)
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 2004 Sun Microsystems, Inc.  All rights reserved.
24753d2d2eSraf# Use is subject to license terms.
25753d2d2eSraf#
26753d2d2eSraf
27753d2d2eSraf.KEEP_STATE:
28753d2d2eSraf
29753d2d2eSrafLIBRARY =	libparse.a
30753d2d2eSraf
31753d2d2eSrafOBJECTS =	errlog.o	\
32753d2d2eSraf		extends.o	\
33753d2d2eSraf		frontend.o	\
34753d2d2eSraf		main.o
35753d2d2eSraf
36753d2d2eSrafinclude	$(SRC)/lib/Makefile.lib
37753d2d2eSraf
38753d2d2eSrafSRCS	=	$(OBJECTS:%.o=../%.c)
39753d2d2eSraf
40753d2d2eSrafLINTFLAGS +=	-xsuF -errtags=yes
41753d2d2eSrafCLEANFILES +=	$(LINTOUT)
42*b6805bf7SGordon RossCLOBBERFILES += $(LINTLIB) $(LIBRARY)
43753d2d2eSraf
447014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
457014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-label
467014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
477014882cSRichard Lowe
48753d2d2eSrafobjs/%.o: ../%.c
49753d2d2eSraf	$(COMPILE.c) -o $@ $<
50753d2d2eSraf	$(POST_PROCESS_O)
51753d2d2eSraf
52753d2d2eSrafall install:	$(LIBRARY)
53753d2d2eSraf
54753d2d2eSraflint:	lintcheck
55753d2d2eSraf
56753d2d2eSrafinclude	$(SRC)/lib/Makefile.targ
57