Merge commit '00f1a4f432b3d8aad1aa270e91c44c57f03ef407'
[unleashed.git] / usr / src / cmd / sgs / nm / Makefile
blobb2c762f2d85fceefc2600ef2dd5f729b15bf5018
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
20 # CDDL HEADER END
23 #pragma ident "%Z%%M% %I% %E% SMI"
25 # Copyright (c) 1995-1999 by Sun Microsystems, Inc.
26 # All rights reserved.
28 # cmd/sgs/nm/Makefile
31 include ../../../Makefile.master
33 SUBDIRS= $(MACH) $(BUILD64) $(MACH64)
35 CSRC= common/nm.c
37 all := TARGET= all
38 install := TARGET= install
39 clean := TARGET= clean
40 clobber := TARGET= clobber
41 package := TARGET= package
43 # for messaging catalog
45 POFILE= nm.po
47 .KEEP_STATE:
49 all clean clobber install package: $(SUBDIRS)
51 catalog: $(POFILE)
53 $(POFILE):
54 $(RM) $@
55 $(XGETTEXT) $(XGETFLAGS) $(CSRC)
56 sed "/^domain/d" < messages.po > $@
57 $(RM) messages.po
59 $(MACH) $(MACH64): FRC
60 @cd $@; pwd; $(MAKE) $(TARGET)
62 FRC: