629N/A#
629N/A# CDDL HEADER START
629N/A#
629N/A# The contents of this file are subject to the terms of the
629N/A# Common Development and Distribution License (the "License").
629N/A# You may not use this file except in compliance with the License.
629N/A#
629N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
629N/A# or http://www.opensolaris.org/os/licensing.
629N/A# See the License for the specific language governing permissions
629N/A# and limitations under the License.
629N/A#
629N/A# When distributing Covered Code, include this CDDL HEADER in each
629N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
629N/A# If applicable, add the following below this CDDL HEADER, with the
629N/A# fields enclosed by brackets "[]" replaced with your own identifying
629N/A# information: Portions Copyright [yyyy] [name of copyright owner]
629N/A#
873N/A# CDDL HEADER END
629N/A#
629N/A#
629N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
629N/A# Use is subject to license terms.
629N/A#
3215N/A#
6741N/A
629N/Ainclude ../../Makefile.master
629N/Ainclude ../Makefile.lib
629N/A
6741N/ASUBDIRS = $(MACH)
6741N/A$(BUILD64)SUBDIRS += $(MACH64)
6741N/A
6741N/Aall := TARGET= all
6741N/Aclean := TARGET= clean
6741N/Aclobber := TARGET= clobber
6741N/Adelete := TARGET= delete
6741N/Ainstall := TARGET= install
629N/Alint := TARGET= lint
629N/A_msg := TARGET= _msg
629N/Apackage := TARGET= package
629N/A
629N/ALIBRARY= libkstat.a
629N/ATEXT_DOMAIN= SUNW_OST_OSLIB
2095N/AXGETFLAGS= -a
2095N/APOFILE= $(LIBRARY:.a=.po)
2095N/APOFILES= generic.po
2095N/A
2095N/ASED= sed
629N/AGREP= grep
629N/A
6741N/A.KEEP_STATE:
6741N/A
6741N/Aall clean clobber delete install lint package: $(SUBDIRS)
6741N/A
6741N/A# definitions for install_h target
6741N/AHDRS= kstat.h
6741N/AROOTHDRDIR= $(ROOT)/usr/include
6741N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
6741N/ACHECKHDRS= $(HDRS:%.h=%.check)
6741N/A
6741N/A# install rule for install_h target
6741N/A$(ROOTHDRDIR)/%: %
6741N/A $(INS.file)
6741N/A
6741N/Ainstall_h: $(ROOTHDRS)
2095N/A
629N/Acheck: $(CHECKHDRS)
6741N/A
6741N/A$(SUBDIRS): FRC
6741N/A @cd $@; pwd; $(MAKE) $(TARGET)
6741N/A
6741N/A_msg: $(MSGDOMAIN) $(POFILE)
6741N/A $(RM) $(MSGDOMAIN)/$(POFILE)
6741N/A $(CP) $(POFILE) $(MSGDOMAIN)
6741N/A
2095N/A$(POFILE): $(POFILES)
629N/A $(RM) $@
629N/A $(CAT) $(POFILES) > $@
629N/A
6741N/A$(POFILES):
6741N/A $(RM) messages.po
6741N/A $(XGETTEXT) $(XGETFLAGS) *.[ch]* */*.[ch]*
6741N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
6741N/A $(RM) messages.po
6741N/A
629N/AFRC:
6741N/A