13db86aabSstevel#
23db86aabSstevel# CDDL HEADER START
33db86aabSstevel#
43db86aabSstevel# The contents of this file are subject to the terms of the
5ed31198cSJohn Sonnenschein# Common Development and Distribution License (the "License").
6ed31198cSJohn Sonnenschein# You may not use this file except in compliance with the License.
73db86aabSstevel#
83db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93db86aabSstevel# or http://www.opensolaris.org/os/licensing.
103db86aabSstevel# See the License for the specific language governing permissions
113db86aabSstevel# and limitations under the License.
123db86aabSstevel#
133db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
143db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
163db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
173db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
183db86aabSstevel#
193db86aabSstevel# CDDL HEADER END
203db86aabSstevel#
21ed31198cSJohn Sonnenschein
223db86aabSstevel#
23ed31198cSJohn Sonnenschein# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
243db86aabSstevel# Use is subject to license terms.
253db86aabSstevel#
263db86aabSstevel# lib/cfgadm_plugins/ac/Makefile
273db86aabSstevel
283db86aabSstevelinclude		$(SRC)/Makefile.master
293db86aabSstevel
30b6805bf7SGordon RossSUBDIRS=
31b6805bf7SGordon Ross$(SPARC_BLD)SUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
323db86aabSstevel
333db86aabSstevelall :=		TARGET= all
343db86aabSstevelclean :=	TARGET= clean
353db86aabSstevelclobber :=	TARGET= clobber
363db86aabSsteveldelete :=	TARGET= delete
373db86aabSstevelinstall :=	TARGET= install
383db86aabSstevel_msg :=		TARGET= _msg
393db86aabSstevelcatalog :=	TARGET= catalog
403db86aabSstevelpackage :=	TARGET= package
413db86aabSstevel
423db86aabSstevelTEXT_DOMAIN=	SUNW_OST_OSLIB
433db86aabSstevelXGETFLAGS=	-a -x ac.xcl
443db86aabSstevelPOFILE=		ac.po
453db86aabSstevelPOFILES=	generic.po
463db86aabSstevel
473db86aabSstevel.KEEP_STATE:
483db86aabSstevel
49*241c90a0SRichard Loweall clean delete install catalog package: $(SUBDIRS)
50b6805bf7SGordon Rossclobber: $(SUBDIRS)
51b6805bf7SGordon Ross	$(RM) $(POFILE) $(POFILES)
523db86aabSstevel
53*241c90a0SRichard Lowe
543db86aabSstevel$(MACH) $(MACH64):	FRC
553db86aabSstevel	@cd $@; pwd; $(MAKE) $(TARGET)
563db86aabSstevel
573db86aabSstevel_msg:	$(MSGDOMAIN) $(POFILE)
583db86aabSstevel	$(RM) $(MSGDOMAIN)/$(POFILE)
593db86aabSstevel	$(CP) $(POFILE) $(MSGDOMAIN)
603db86aabSstevel
613db86aabSstevel$(POFILE):	$(POFILES)
623db86aabSstevel	$(RM) $@
633db86aabSstevel	$(CAT) $(POFILES) > $@
643db86aabSstevel
653db86aabSstevel$(POFILES):
663db86aabSstevel	$(RM) messages.po
673db86aabSstevel	$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]`
683db86aabSstevel	$(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
693db86aabSstevel	$(RM) messages.po
703db86aabSstevel
713db86aabSstevelFRC:
72