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