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