13db86aabSstevel# 23db86aabSstevel# CDDL HEADER START 33db86aabSstevel# 43db86aabSstevel# The contents of this file are subject to the terms of the 5*ed31198cSJohn Sonnenschein# Common Development and Distribution License (the "License"). 6*ed31198cSJohn 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# 21*ed31198cSJohn Sonnenschein 223db86aabSstevel# 23*ed31198cSJohn 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 303db86aabSstevelSUBDIRS= $(MACH) $(BUILD64) $(MACH64) 313db86aabSstevel 323db86aabSstevelall := TARGET= all 333db86aabSstevelclean := TARGET= clean 343db86aabSstevelclobber := TARGET= clobber 353db86aabSsteveldelete := TARGET= delete 363db86aabSstevelinstall := TARGET= install 373db86aabSstevellint := TARGET= lint 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 513db86aabSstevelall clean clobber delete install lint package: $(SUBDIRS) 523db86aabSstevel 533db86aabSstevel$(MACH) $(MACH64): FRC 543db86aabSstevel @cd $@; pwd; $(MAKE) $(TARGET) 553db86aabSstevel 563db86aabSstevel_msg: $(MSGDOMAIN) $(POFILE) 573db86aabSstevel $(RM) $(MSGDOMAIN)/$(POFILE) 583db86aabSstevel $(CP) $(POFILE) $(MSGDOMAIN) 593db86aabSstevel 603db86aabSstevel$(POFILE): $(POFILES) 613db86aabSstevel $(RM) $@ 623db86aabSstevel $(CAT) $(POFILES) > $@ 633db86aabSstevel 643db86aabSstevel$(POFILES): 653db86aabSstevel $(RM) messages.po 663db86aabSstevel $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]` 673db86aabSstevel $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 683db86aabSstevel $(RM) messages.po 693db86aabSstevel 703db86aabSstevelFRC: 71