xref: /titanic_51/usr/src/cmd/strings/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1df14233eSab196087#
2df14233eSab196087# CDDL HEADER START
3df14233eSab196087#
4df14233eSab196087# The contents of this file are subject to the terms of the
5df14233eSab196087# Common Development and Distribution License (the "License").
6df14233eSab196087# You may not use this file except in compliance with the License.
7df14233eSab196087#
8df14233eSab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9df14233eSab196087# or http://www.opensolaris.org/os/licensing.
10df14233eSab196087# See the License for the specific language governing permissions
11df14233eSab196087# and limitations under the License.
12df14233eSab196087#
13df14233eSab196087# When distributing Covered Code, include this CDDL HEADER in each
14df14233eSab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15df14233eSab196087# If applicable, add the following below this CDDL HEADER, with the
16df14233eSab196087# fields enclosed by brackets "[]" replaced with your own identifying
17df14233eSab196087# information: Portions Copyright [yyyy] [name of copyright owner]
18df14233eSab196087#
19df14233eSab196087# CDDL HEADER END
20df14233eSab196087#
21df14233eSab196087#
22df14233eSab196087# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23df14233eSab196087# Use is subject to license terms.
24df14233eSab196087#
25df14233eSab196087
26df14233eSab196087PROG= strings
27df14233eSab196087SRCS= ../$(PROG).c
28df14233eSab196087
29df14233eSab196087include ../../Makefile.cmd
30df14233eSab196087
31df14233eSab196087LDLIBS += -lelf
32df14233eSab196087
33df14233eSab196087CFLAGS += $(CCVERBOSE)
34df14233eSab196087CFLAGS64 += $(CCVERBOSE)
35*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
36*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
37df14233eSab196087
38df14233eSab196087.KEEP_STATE:
39df14233eSab196087
40df14233eSab196087all: $(PROG)
41df14233eSab196087
42df14233eSab196087$(PROG): $(SRCS)
43df14233eSab196087	$(LINK.c) -o $(PROG) $(SRCS) $(LDLIBS)
44df14233eSab196087	$(POST_PROCESS)
45df14233eSab196087
46df14233eSab196087clean:
47df14233eSab196087
48df14233eSab196087lint:	lint_SRCS
49df14233eSab196087
50df14233eSab196087include ../../Makefile.targ
51