8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sgs / lari / Makefile
blob64e275975cd83e7397d462d5347081a1b2c201b3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # ident "%Z%%M% %I% %E% SMI"
24 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 PROG= lari
29 include $(SRC)/cmd/Makefile.cmd
30 include $(SRC)/cmd/sgs/Makefile.com
32 PSRC= $(PROG).pl
33 POFILE= $(SGSMSGDIR)/$(PROG)
35 .KEEP_STATE:
37 all: $(PROG)
39 $(PROG): $(PSRC)
40 $(RM) $@
41 $(SED) -e "s@TEXT_DOMAIN@\"SUNW_OST_SGS\"@" $(PSRC) > $@
42 $(CHMOD) +x $@
44 install \
45 package: all $(VAR_SGSBINPROG) $(VAR_SGSCCSLINK)
47 clean:
48 $(RM) $(PROG)
50 chkmsg \
51 lint:
53 catalog: $(POFILE)
55 $(POFILE): $(PSRC)
56 $(XGETTEXT) $(XGETFLAGS) $(PSRC)
57 @ echo "" > $(POFILE)
58 @ echo "# Message file for cmd/sgs/lari" >> $(POFILE)
59 @ echo "" >> $(POFILE)
60 @ echo "domain \"SUNW_OST_SGS"\" >> $(POFILE)
61 @ echo "" >> $(POFILE)
62 sed -e "/^domain/d" messages.po >> $(POFILE)
63 @ $(RM) messages.po
65 include $(SRC)/cmd/Makefile.targ