Makefile revision ed31198c686205a26320612d2a5dd7b26ae63a15
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
f3861e1a2ceec23a5b699c24d814b7775a9e0b52ahl#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
55434c770c89aa1b84474f2559a106803511aba0ek# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../Makefile.lib
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensSUBDIRS= $(MACH)
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(BUILD64)SUBDIRS += $(MACH64)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensall := TARGET = all
fa9e4066f08beec538e775443c5be79dd423fcabahrensdebug := TARGET = debug
fa9e4066f08beec538e775443c5be79dd423fcabahrensclean := TARGET = clean
fa9e4066f08beec538e775443c5be79dd423fcabahrensclobber := TARGET = clobber
fa9e4066f08beec538e775443c5be79dd423fcabahrensdelete := TARGET = delete
fa9e4066f08beec538e775443c5be79dd423fcabahrensinstall := TARGET = install
99653d4ee642c6528e88224f12409a5f23060994eschrocklint := TARGET = lint
fa9e4066f08beec538e775443c5be79dd423fcabahrens_msg := TARGET = _msg
fa9e4066f08beec538e775443c5be79dd423fcabahrenspackage := TARGET = package
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensLIBRARY= libexacct.a
fa9e4066f08beec538e775443c5be79dd423fcabahrensTEXT_DOMAIN= SUNW_OS_OSLIB
fa9e4066f08beec538e775443c5be79dd423fcabahrensXGETFLAGS= -a
99653d4ee642c6528e88224f12409a5f23060994eschrockPOFILE= $(LIBRARY:.a=.po)
99653d4ee642c6528e88224f12409a5f23060994eschrockPOFILES= generic.po
99653d4ee642c6528e88224f12409a5f23060994eschrock
99653d4ee642c6528e88224f12409a5f23060994eschrockSED= sed
99653d4ee642c6528e88224f12409a5f23060994eschrockGREP= grep
99653d4ee642c6528e88224f12409a5f23060994eschrock
99653d4ee642c6528e88224f12409a5f23060994eschrock.KEEP_STATE:
99653d4ee642c6528e88224f12409a5f23060994eschrock
99653d4ee642c6528e88224f12409a5f23060994eschrockall debug clean clobber delete install lint package: $(SUBDIRS)
99653d4ee642c6528e88224f12409a5f23060994eschrock
99653d4ee642c6528e88224f12409a5f23060994eschrockinstall_h: $(ROOTHDRS)
99653d4ee642c6528e88224f12409a5f23060994eschrock
99653d4ee642c6528e88224f12409a5f23060994eschrockcheck: $(CHECKHDRS)
99653d4ee642c6528e88224f12409a5f23060994eschrock
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(SUBDIRS): FRC
99653d4ee642c6528e88224f12409a5f23060994eschrock @cd $@; pwd; $(MAKE) $(TARGET)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
a2eea2e101e6a163a537dcc6d4e3c4da2a0ea5b2ahrens_msg: $(MSGDOMAIN) .WAIT $(POFILE)
a2eea2e101e6a163a537dcc6d4e3c4da2a0ea5b2ahrens $(RM) $(MSGDOMAIN)/$(POFILE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(CP) $(POFILE) $(MSGDOMAIN)
7f7322febbcfe774b7270abc3b191c094bfcc517eschrock
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock$(POFILE): $(POFILES)
3bb79bece53191f2cf27aa61a72ea1784a7ce700eschrock $(RM) $@
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(CAT) $(POFILES) > $@
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(POFILES):
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(RM) messages.po
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock $(XGETTEXT) $(XGETFLAGS) *.[ch]*
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock $(RM) messages.po
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock
a2eea2e101e6a163a537dcc6d4e3c4da2a0ea5b2ahrensFRC:
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock
fa9e4066f08beec538e775443c5be79dd423fcabahrens