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 30*b6805bf7SGordon RossSUBDIRS= 31*b6805bf7SGordon Ross$(SPARC_BLD)SUBDIRS= $(MACH) $(BUILD64) $(MACH64) 323db86aabSstevel 333db86aabSstevelall := TARGET= all 343db86aabSstevelclean := TARGET= clean 353db86aabSstevelclobber := TARGET= clobber 363db86aabSsteveldelete := TARGET= delete 373db86aabSstevelinstall := TARGET= install 383db86aabSstevellint := TARGET= lint 393db86aabSstevel_msg := TARGET= _msg 403db86aabSstevelpackage := TARGET= package 413db86aabSstevel 423db86aabSstevelTEXT_DOMAIN= SUNW_OST_OSLIB 433db86aabSstevelXGETFLAGS= -a -x sysctrl.xcl 443db86aabSstevelPOFILE= sysctrl.po 453db86aabSstevelPOFILES= generic.po 463db86aabSstevel 473db86aabSstevelSED= sed 483db86aabSstevelGREP= grep 493db86aabSstevel 503db86aabSstevel.KEEP_STATE: 513db86aabSstevel 52*b6805bf7SGordon Rossall clean delete install lint package: $(SUBDIRS) 53*b6805bf7SGordon Rossclobber: $(SUBDIRS) 54*b6805bf7SGordon Ross $(RM) $(POFILE) $(POFILES) 553db86aabSstevel 563db86aabSstevel$(MACH) $(MACH64): FRC 573db86aabSstevel @cd $@; pwd; $(MAKE) $(TARGET) 583db86aabSstevel 593db86aabSstevel_msg: $(MSGDOMAIN) $(POFILE) 603db86aabSstevel $(RM) $(MSGDOMAIN)/$(POFILE) 613db86aabSstevel $(CP) $(POFILE) $(MSGDOMAIN) 623db86aabSstevel 633db86aabSstevel$(POFILE): $(POFILES) 643db86aabSstevel $(RM) $@ 653db86aabSstevel $(CAT) $(POFILES) > $@ 663db86aabSstevel 673db86aabSstevel$(POFILES): 683db86aabSstevel $(RM) messages.po 693db86aabSstevel $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]` 703db86aabSstevel $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 713db86aabSstevel $(RM) messages.po 723db86aabSstevel 733db86aabSstevelFRC: 74