xref: /illumos-gate/usr/src/lib/pyzfs/Makefile (revision 14843421)
1*14843421SMatthew Ahrens#
2*14843421SMatthew Ahrens# CDDL HEADER START
3*14843421SMatthew Ahrens#
4*14843421SMatthew Ahrens# The contents of this file are subject to the terms of the
5*14843421SMatthew Ahrens# Common Development and Distribution License (the "License").
6*14843421SMatthew Ahrens# You may not use this file except in compliance with the License.
7*14843421SMatthew Ahrens#
8*14843421SMatthew Ahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*14843421SMatthew Ahrens# or http://www.opensolaris.org/os/licensing.
10*14843421SMatthew Ahrens# See the License for the specific language governing permissions
11*14843421SMatthew Ahrens# and limitations under the License.
12*14843421SMatthew Ahrens#
13*14843421SMatthew Ahrens# When distributing Covered Code, include this CDDL HEADER in each
14*14843421SMatthew Ahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*14843421SMatthew Ahrens# If applicable, add the following below this CDDL HEADER, with the
16*14843421SMatthew Ahrens# fields enclosed by brackets "[]" replaced with your own identifying
17*14843421SMatthew Ahrens# information: Portions Copyright [yyyy] [name of copyright owner]
18*14843421SMatthew Ahrens#
19*14843421SMatthew Ahrens# CDDL HEADER END
20*14843421SMatthew Ahrens#
21*14843421SMatthew Ahrens#
22*14843421SMatthew Ahrens# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*14843421SMatthew Ahrens# Use is subject to license terms.
24*14843421SMatthew Ahrens#
25*14843421SMatthew Ahrens
26*14843421SMatthew Ahrensinclude	../Makefile.lib
27*14843421SMatthew Ahrens
28*14843421SMatthew AhrensSUBDIRS=	$(MACH)
29*14843421SMatthew AhrensXGETTEXT=	$(GNUXGETTEXT)
30*14843421SMatthew AhrensXGETFLAGS=	$(GNUXGETFLAGS)
31*14843421SMatthew Ahrens
32*14843421SMatthew Ahrensall :=		TARGET= all
33*14843421SMatthew Ahrensinstall :=	TARGET= install
34*14843421SMatthew Ahrensclean :=	TARGET= clean
35*14843421SMatthew Ahrensclobber :=	TARGET= clobber
36*14843421SMatthew Ahrenslint :=		TARGET= lint
37*14843421SMatthew Ahrens
38*14843421SMatthew AhrensMSGFILES =	`$(FIND) . -name '*.py' -o -name '*.c'`
39*14843421SMatthew AhrensPOFILE =	pyzfs.po
40*14843421SMatthew Ahrens
41*14843421SMatthew Ahrens.KEEP_STATE:
42*14843421SMatthew Ahrens
43*14843421SMatthew Ahrensall install clean clobber lint: $(SUBDIRS)
44*14843421SMatthew Ahrens
45*14843421SMatthew Ahrens$(POFILE):	pofile_MSGFILES
46*14843421SMatthew Ahrens
47*14843421SMatthew Ahrens_msg: $(MSGDOMAINPOFILE)
48*14843421SMatthew Ahrens
49*14843421SMatthew Ahrens$(SUBDIRS): FRC
50*14843421SMatthew Ahrens	@cd $@; pwd; $(MAKE) $(TARGET)
51*14843421SMatthew Ahrens
52*14843421SMatthew AhrensFRC:
53*14843421SMatthew Ahrens
54*14843421SMatthew Ahrensinclude ../../Makefile.msg.targ
55