Makefile revision 2
222N/A#
222N/A# CDDL HEADER START
222N/A#
222N/A# The contents of this file are subject to the terms of the
222N/A# Common Development and Distribution License (the "License").
222N/A# You may not use this file except in compliance with the License.
222N/A#
417N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
222N/A# or http://www.opensolaris.org/os/licensing.
222N/A# See the License for the specific language governing permissions
222N/A# and limitations under the License.
417N/A#
417N/A# When distributing Covered Code, include this CDDL HEADER in each
417N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
417N/A# If applicable, add the following below this CDDL HEADER, with the
417N/A# fields enclosed by brackets "[]" replaced with your own identifying
417N/A# information: Portions Copyright [yyyy] [name of copyright owner]
222N/A#
222N/A# CDDL HEADER END
222N/A#
222N/A#
222N/A# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
222N/A#
222N/A
222N/A# include library definitions
222N/Ainclude $(SRC)/lib/Makefile.lib
222N/A
222N/ASUBDIRS= $(MACH)
222N/A
222N/A# conditional assignments
222N/Aall := TARGET= all
222N/Aclean := TARGET= clean
222N/Aclobber := TARGET= clobber
222N/Ainstall := TARGET= install
222N/Alint := TARGET= lint
222N/A_msg := TARGET= _msg
222N/Astub := TARGET = stub
222N/Astubinstall := TARGET = stubinstall
222N/A
222N/A.KEEP_STATE:
all clean clobber install lint stub stubinstall: $(SUBDIRS)
_msg: $(MSGDOMAIN) $(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
$(MACH): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: