8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / cmd / eqn / Makefile
blob06376e25dd57a5eda29381504f1d4ea2ad4671fb
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) 1989 by Sun Microsystems, Inc.
27 # cmd/eqn/Makefile
30 include ../Makefile.cmd
32 SUBDIR1 = eqnchar.d
33 SUBDIR2 = neqn.d eqn.d
34 SUBDIRS = $(SUBDIR1) $(SUBDIR2)
39 all := TARGET= all
40 install := TARGET= install
41 clean := TARGET= clean
42 clobber := TARGET= clobber
43 lint := TARGET= lint
44 strip := TARGET= strip
47 # for message catalog
49 _msg := TARGET= catalog
50 POFILE= eqn.po
51 POFILES= $(SUBDIR2:%=%/%.po)
53 .KEEP_STATE :
55 all : $(SUBDIRS)
57 install clean clobber lint strip : $(SUBDIRS)
59 $(POFILE): $(SUBDIR2)
60 $(RM) $@
61 cat $(POFILES) > $(POFILE)
63 $(SUBDIRS) : FRC
64 @cd $@; pwd; $(MAKE) $(TARGET)
66 FRC :
68 include ../Makefile.targ