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