xref: /illumos-gate/usr/src/lib/libzfs_core/Makefile (revision 241c90a0)
14445fffbSMatthew Ahrens#
24445fffbSMatthew Ahrens# CDDL HEADER START
34445fffbSMatthew Ahrens#
44445fffbSMatthew Ahrens# The contents of this file are subject to the terms of the
54445fffbSMatthew Ahrens# Common Development and Distribution License (the "License").
64445fffbSMatthew Ahrens# You may not use this file except in compliance with the License.
74445fffbSMatthew Ahrens#
84445fffbSMatthew Ahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94445fffbSMatthew Ahrens# or http://www.opensolaris.org/os/licensing.
104445fffbSMatthew Ahrens# See the License for the specific language governing permissions
114445fffbSMatthew Ahrens# and limitations under the License.
124445fffbSMatthew Ahrens#
134445fffbSMatthew Ahrens# When distributing Covered Code, include this CDDL HEADER in each
144445fffbSMatthew Ahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154445fffbSMatthew Ahrens# If applicable, add the following below this CDDL HEADER, with the
164445fffbSMatthew Ahrens# fields enclosed by brackets "[]" replaced with your own identifying
174445fffbSMatthew Ahrens# information: Portions Copyright [yyyy] [name of copyright owner]
184445fffbSMatthew Ahrens#
194445fffbSMatthew Ahrens# CDDL HEADER END
204445fffbSMatthew Ahrens#
214445fffbSMatthew Ahrens#
224445fffbSMatthew Ahrens# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
234445fffbSMatthew Ahrens# Use is subject to license terms.
244445fffbSMatthew Ahrens#
254445fffbSMatthew Ahrens# Copyright (c) 2012 by Delphix. All rights reserved.
264445fffbSMatthew Ahrens#
274445fffbSMatthew Ahrens
284445fffbSMatthew Ahrensinclude		../Makefile.lib
294445fffbSMatthew Ahrens
304445fffbSMatthew AhrensHDRS=		libzfs_core.h
314445fffbSMatthew Ahrens
324445fffbSMatthew AhrensHDRDIR=		common
334445fffbSMatthew Ahrens
344445fffbSMatthew AhrensSUBDIRS=	$(MACH)
354445fffbSMatthew Ahrens$(BUILD64)SUBDIRS += $(MACH64)
364445fffbSMatthew Ahrens
374445fffbSMatthew Ahrensall :=		TARGET= all
384445fffbSMatthew Ahrensclean :=	TARGET= clean
394445fffbSMatthew Ahrensclobber :=	TARGET= clobber
404445fffbSMatthew Ahrensinstall :=	TARGET= install
414445fffbSMatthew Ahrens
424445fffbSMatthew AhrensMSGFILES =	`$(GREP) -l gettext $(HDRDIR)/*.[ch]`
434445fffbSMatthew AhrensPOFILE =	libzfs_core.po
444445fffbSMatthew Ahrens
454445fffbSMatthew Ahrens.KEEP_STATE:
464445fffbSMatthew Ahrens
47*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
484445fffbSMatthew Ahrens
494445fffbSMatthew Ahrens$(POFILE):	pofile_MSGFILES
504445fffbSMatthew Ahrens
514445fffbSMatthew Ahrensinstall_h: $(ROOTHDRS)
524445fffbSMatthew Ahrens
534445fffbSMatthew Ahrenscheck: $(CHECKHDRS)
544445fffbSMatthew Ahrens
554445fffbSMatthew Ahrens_msg: $(MSGDOMAINPOFILE)
564445fffbSMatthew Ahrens
574445fffbSMatthew Ahrens$(SUBDIRS): FRC
584445fffbSMatthew Ahrens	@cd $@; pwd; $(MAKE) $(TARGET)
594445fffbSMatthew Ahrens
604445fffbSMatthew AhrensFRC:
614445fffbSMatthew Ahrens
624445fffbSMatthew Ahrensinclude ../Makefile.targ
634445fffbSMatthew Ahrensinclude ../../Makefile.msg.targ
64