148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# CDDL HEADER START
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# The contents of this file are subject to the terms of the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# Common Development and Distribution License (the "License").
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# You may not use this file except in compliance with the License.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# or http://www.opensolaris.org/os/licensing.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# See the License for the specific language governing permissions
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# and limitations under the License.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# When distributing Covered Code, include this CDDL HEADER in each
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# If applicable, add the following below this CDDL HEADER, with the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# fields enclosed by brackets "[]" replaced with your own identifying
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# information: Portions Copyright [yyyy] [name of copyright owner]
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# CDDL HEADER END
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens# Use is subject to license terms.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens#
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensinclude ../Makefile.lib
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensSUBDIRS= $(MACH)
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensXGETTEXT= $(GNUXGETTEXT)
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensXGETFLAGS= $(GNUXGETFLAGS)
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensall := TARGET= all
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensinstall := TARGET= install
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensclean := TARGET= clean
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensclobber := TARGET= clobber
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrenslint := TARGET= lint
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon RossMSGFIND = $(FIND) . -name '*.py' -o -name '*.c'
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon RossMSGFILES = $(MSGFIND:sh)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon RossPYCFIND = $(FIND) . -name '*.pyc'
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon RossPYCFILES = $(PYCFIND:sh)
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensPOFILE = pyzfs.po
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens.KEEP_STATE:
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Rossall install clean lint: $(SUBDIRS)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Rossclobber: $(SUBDIRS)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(RM) $(POFILE) $(PYCFILES)
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens$(POFILE): pofile_MSGFILES
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens_msg: $(MSGDOMAINPOFILE)
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens$(SUBDIRS): FRC
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens @cd $@; pwd; $(MAKE) $(TARGET)
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensFRC:
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrensinclude ../../Makefile.msg.targ