xref: /illumos-gate/usr/src/lib/pyzfs/Makefile (revision b6805bf7)
114843421SMatthew Ahrens#
214843421SMatthew Ahrens# CDDL HEADER START
314843421SMatthew Ahrens#
414843421SMatthew Ahrens# The contents of this file are subject to the terms of the
514843421SMatthew Ahrens# Common Development and Distribution License (the "License").
614843421SMatthew Ahrens# You may not use this file except in compliance with the License.
714843421SMatthew Ahrens#
814843421SMatthew Ahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
914843421SMatthew Ahrens# or http://www.opensolaris.org/os/licensing.
1014843421SMatthew Ahrens# See the License for the specific language governing permissions
1114843421SMatthew Ahrens# and limitations under the License.
1214843421SMatthew Ahrens#
1314843421SMatthew Ahrens# When distributing Covered Code, include this CDDL HEADER in each
1414843421SMatthew Ahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1514843421SMatthew Ahrens# If applicable, add the following below this CDDL HEADER, with the
1614843421SMatthew Ahrens# fields enclosed by brackets "[]" replaced with your own identifying
1714843421SMatthew Ahrens# information: Portions Copyright [yyyy] [name of copyright owner]
1814843421SMatthew Ahrens#
1914843421SMatthew Ahrens# CDDL HEADER END
2014843421SMatthew Ahrens#
2114843421SMatthew Ahrens#
2214843421SMatthew Ahrens# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2314843421SMatthew Ahrens# Use is subject to license terms.
2414843421SMatthew Ahrens#
2514843421SMatthew Ahrens
2614843421SMatthew Ahrensinclude	../Makefile.lib
2714843421SMatthew Ahrens
2814843421SMatthew AhrensSUBDIRS=	$(MACH)
2914843421SMatthew AhrensXGETTEXT=	$(GNUXGETTEXT)
3014843421SMatthew AhrensXGETFLAGS=	$(GNUXGETFLAGS)
3114843421SMatthew Ahrens
3214843421SMatthew Ahrensall :=		TARGET= all
3314843421SMatthew Ahrensinstall :=	TARGET= install
3414843421SMatthew Ahrensclean :=	TARGET= clean
3514843421SMatthew Ahrensclobber :=	TARGET= clobber
3614843421SMatthew Ahrenslint :=		TARGET= lint
3714843421SMatthew Ahrens
38*b6805bf7SGordon RossMSGFIND =	$(FIND) . -name '*.py' -o -name '*.c'
39*b6805bf7SGordon RossMSGFILES =	$(MSGFIND:sh)
40*b6805bf7SGordon RossPYCFIND =	$(FIND) . -name '*.pyc'
41*b6805bf7SGordon RossPYCFILES = 	$(PYCFIND:sh)
4214843421SMatthew AhrensPOFILE =	pyzfs.po
4314843421SMatthew Ahrens
4414843421SMatthew Ahrens.KEEP_STATE:
4514843421SMatthew Ahrens
46*b6805bf7SGordon Rossall install clean lint: $(SUBDIRS)
47*b6805bf7SGordon Rossclobber: $(SUBDIRS)
48*b6805bf7SGordon Ross	$(RM) $(POFILE) $(PYCFILES)
4914843421SMatthew Ahrens
5014843421SMatthew Ahrens$(POFILE):	pofile_MSGFILES
5114843421SMatthew Ahrens
5214843421SMatthew Ahrens_msg: $(MSGDOMAINPOFILE)
5314843421SMatthew Ahrens
5414843421SMatthew Ahrens$(SUBDIRS): FRC
5514843421SMatthew Ahrens	@cd $@; pwd; $(MAKE) $(TARGET)
5614843421SMatthew Ahrens
5714843421SMatthew AhrensFRC:
5814843421SMatthew Ahrens
5914843421SMatthew Ahrensinclude ../../Makefile.msg.targ
60