Merge commit '00f1a4f432b3d8aad1aa270e91c44c57f03ef407'
[unleashed.git] / usr / src / cmd / sgs / m4 / Makefile
blobdc82c7a383d8dc1f072820525d3f13bc958be76e
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 #ident "%Z%%M% %I% %E% SMI"
25 # Copyright (c) 1995 by Sun Microsystems, Inc.
26 # All Rights Reserved.
28 # cmd/sgs/m4/Makefile
31 include ../../../Makefile.master
33 SUBDIRS= $(MACH)
35 CSRC= common/m4.c common/m4macs.c
37 all := TARGET= all
38 install := TARGET= install
39 clean := TARGET= clean
40 clobber := TARGET= clobber
42 # for messaging catalog
44 POFILE= m4.po
47 .KEEP_STATE:
49 all clean clobber install: $(SUBDIRS)
51 catalog: $(POFILE)
53 $(POFILE):
54 $(RM) $@
55 $(XGETTEXT) $(XGETFLAGS) $(CSRC)
56 sed "/^domain/d" < messages.po > $@
57 $(RM) messages.po
59 $(SUBDIRS): FRC
60 @cd $@; pwd; $(MAKE) $(TARGET)
62 FRC: