1*3db86aabSstevel#
2*3db86aabSstevel# CDDL HEADER START
3*3db86aabSstevel#
4*3db86aabSstevel# The contents of this file are subject to the terms of the
5*3db86aabSstevel# Common Development and Distribution License, Version 1.0 only
6*3db86aabSstevel# (the "License").  You may not use this file except in compliance
7*3db86aabSstevel# with the License.
8*3db86aabSstevel#
9*3db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*3db86aabSstevel# or http://www.opensolaris.org/os/licensing.
11*3db86aabSstevel# See the License for the specific language governing permissions
12*3db86aabSstevel# and limitations under the License.
13*3db86aabSstevel#
14*3db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
15*3db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*3db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
17*3db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
18*3db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
19*3db86aabSstevel#
20*3db86aabSstevel# CDDL HEADER END
21*3db86aabSstevel#
22*3db86aabSstevel#
23*3db86aabSstevel# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*3db86aabSstevel# Use is subject to license terms.
25*3db86aabSstevel#
26*3db86aabSstevel#ident	"%Z%%M%	%I%	%E% SMI"
27*3db86aabSstevel#
28*3db86aabSstevel# lib/cfgadm_plugins/sysctrl/Makefile
29*3db86aabSstevel
30*3db86aabSstevelinclude		$(SRC)/Makefile.master
31*3db86aabSstevel
32*3db86aabSstevelSUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
33*3db86aabSstevel
34*3db86aabSstevelall :=		TARGET= all
35*3db86aabSstevelclean :=	TARGET= clean
36*3db86aabSstevelclobber :=	TARGET= clobber
37*3db86aabSsteveldelete :=	TARGET= delete
38*3db86aabSstevelinstall :=	TARGET= install
39*3db86aabSstevellint :=		TARGET= lint
40*3db86aabSstevel_msg :=		TARGET= _msg
41*3db86aabSstevelpackage :=	TARGET= package
42*3db86aabSstevel
43*3db86aabSstevelTEXT_DOMAIN=	SUNW_OST_OSLIB
44*3db86aabSstevelXGETFLAGS=	-a -x sysctrl.xcl
45*3db86aabSstevelPOFILE=		sysctrl.po
46*3db86aabSstevelPOFILES=	generic.po
47*3db86aabSstevel
48*3db86aabSstevelSED=	sed
49*3db86aabSstevelGREP=	grep
50*3db86aabSstevelCP=	cp
51*3db86aabSstevel
52*3db86aabSstevel.KEEP_STATE:
53*3db86aabSstevel
54*3db86aabSstevelall clean clobber delete install lint package: $(SUBDIRS)
55*3db86aabSstevel
56*3db86aabSstevel$(MACH) $(MACH64):	FRC
57*3db86aabSstevel	@cd $@; pwd; $(MAKE) $(TARGET)
58*3db86aabSstevel
59*3db86aabSstevel_msg:	$(MSGDOMAIN) $(POFILE)
60*3db86aabSstevel	$(RM) $(MSGDOMAIN)/$(POFILE)
61*3db86aabSstevel	$(CP) $(POFILE) $(MSGDOMAIN)
62*3db86aabSstevel
63*3db86aabSstevel$(POFILE):	$(POFILES)
64*3db86aabSstevel	$(RM) $@
65*3db86aabSstevel	$(CAT) $(POFILES) > $@
66*3db86aabSstevel
67*3db86aabSstevel$(POFILES):
68*3db86aabSstevel	$(RM) messages.po
69*3db86aabSstevel	$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]`
70*3db86aabSstevel	$(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
71*3db86aabSstevel	$(RM) messages.po
72*3db86aabSstevel
73*3db86aabSstevelFRC:
74