12305Sstevel# 22305Sstevel# CDDL HEADER START 32305Sstevel# 42305Sstevel# The contents of this file are subject to the terms of the 5*7514SJohn.Sonnenschein@Sun.COM# Common Development and Distribution License (the "License"). 6*7514SJohn.Sonnenschein@Sun.COM# You may not use this file except in compliance with the License. 72305Sstevel# 82305Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92305Sstevel# or http://www.opensolaris.org/os/licensing. 102305Sstevel# See the License for the specific language governing permissions 112305Sstevel# and limitations under the License. 122305Sstevel# 132305Sstevel# When distributing Covered Code, include this CDDL HEADER in each 142305Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152305Sstevel# If applicable, add the following below this CDDL HEADER, with the 162305Sstevel# fields enclosed by brackets "[]" replaced with your own identifying 172305Sstevel# information: Portions Copyright [yyyy] [name of copyright owner] 182305Sstevel# 192305Sstevel# CDDL HEADER END 202305Sstevel# 21*7514SJohn.Sonnenschein@Sun.COM 222305Sstevel# 23*7514SJohn.Sonnenschein@Sun.COM# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 242305Sstevel# Use is subject to license terms. 252305Sstevel# 262305Sstevel# lib/cfgadm_plugins/sysctrl/Makefile 272305Sstevel 282305Sstevelinclude $(SRC)/Makefile.master 292305Sstevel 302305SstevelSUBDIRS= $(MACH) $(BUILD64) $(MACH64) 312305Sstevel 322305Sstevelall := TARGET= all 332305Sstevelclean := TARGET= clean 342305Sstevelclobber := TARGET= clobber 352305Ssteveldelete := TARGET= delete 362305Sstevelinstall := TARGET= install 372305Sstevellint := TARGET= lint 382305Sstevel_msg := TARGET= _msg 392305Sstevelpackage := TARGET= package 402305Sstevel 412305SstevelTEXT_DOMAIN= SUNW_OST_OSLIB 422305SstevelXGETFLAGS= -a -x sysctrl.xcl 432305SstevelPOFILE= sysctrl.po 442305SstevelPOFILES= generic.po 452305Sstevel 462305SstevelSED= sed 472305SstevelGREP= grep 482305Sstevel 492305Sstevel.KEEP_STATE: 502305Sstevel 512305Sstevelall clean clobber delete install lint package: $(SUBDIRS) 522305Sstevel 532305Sstevel$(MACH) $(MACH64): FRC 542305Sstevel @cd $@; pwd; $(MAKE) $(TARGET) 552305Sstevel 562305Sstevel_msg: $(MSGDOMAIN) $(POFILE) 572305Sstevel $(RM) $(MSGDOMAIN)/$(POFILE) 582305Sstevel $(CP) $(POFILE) $(MSGDOMAIN) 592305Sstevel 602305Sstevel$(POFILE): $(POFILES) 612305Sstevel $(RM) $@ 622305Sstevel $(CAT) $(POFILES) > $@ 632305Sstevel 642305Sstevel$(POFILES): 652305Sstevel $(RM) messages.po 662305Sstevel $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]` 672305Sstevel $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 682305Sstevel $(RM) messages.po 692305Sstevel 702305SstevelFRC: 71