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/sysctrl/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 393db86aabSstevelpackage := TARGET= package 403db86aabSstevel 413db86aabSstevelTEXT_DOMAIN= SUNW_OST_OSLIB 423db86aabSstevelXGETFLAGS= -a -x sysctrl.xcl 433db86aabSstevelPOFILE= sysctrl.po 443db86aabSstevelPOFILES= generic.po 453db86aabSstevel 463db86aabSstevelSED= sed 473db86aabSstevelGREP= grep 483db86aabSstevel 493db86aabSstevel.KEEP_STATE: 503db86aabSstevel 51*241c90a0SRichard Loweall clean delete install package: $(SUBDIRS) 52b6805bf7SGordon Rossclobber: $(SUBDIRS) 53b6805bf7SGordon Ross $(RM) $(POFILE) $(POFILES) 543db86aabSstevel 553db86aabSstevel$(MACH) $(MACH64): FRC 563db86aabSstevel @cd $@; pwd; $(MAKE) $(TARGET) 573db86aabSstevel 583db86aabSstevel_msg: $(MSGDOMAIN) $(POFILE) 593db86aabSstevel $(RM) $(MSGDOMAIN)/$(POFILE) 603db86aabSstevel $(CP) $(POFILE) $(MSGDOMAIN) 613db86aabSstevel 623db86aabSstevel$(POFILE): $(POFILES) 633db86aabSstevel $(RM) $@ 643db86aabSstevel $(CAT) $(POFILES) > $@ 653db86aabSstevel 663db86aabSstevel$(POFILES): 673db86aabSstevel $(RM) messages.po 683db86aabSstevel $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]` 693db86aabSstevel $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 703db86aabSstevel $(RM) messages.po 713db86aabSstevel 723db86aabSstevelFRC: 73