1789Sahrens# 2789Sahrens# CDDL HEADER START 3789Sahrens# 4789Sahrens# The contents of this file are subject to the terms of the 52522Sraf# Common Development and Distribution License (the "License"). 62522Sraf# You may not use this file except in compliance with the License. 7789Sahrens# 8789Sahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9789Sahrens# or http://www.opensolaris.org/os/licensing. 10789Sahrens# See the License for the specific language governing permissions 11789Sahrens# and limitations under the License. 12789Sahrens# 13789Sahrens# When distributing Covered Code, include this CDDL HEADER in each 14789Sahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15789Sahrens# If applicable, add the following below this CDDL HEADER, with the 16789Sahrens# fields enclosed by brackets "[]" replaced with your own identifying 17789Sahrens# information: Portions Copyright [yyyy] [name of copyright owner] 18789Sahrens# 19789Sahrens# CDDL HEADER END 20789Sahrens# 21789Sahrens# 22*3535Sck153898# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23789Sahrens# Use is subject to license terms. 24789Sahrens# 252522Sraf# ident "%Z%%M% %I% %E% SMI" 262522Sraf# 27789Sahrens 28789Sahrensinclude ../Makefile.lib 29789Sahrens 30789SahrensHDRS= libzfs.h 31789Sahrens 32789SahrensHDRDIR= common 33789Sahrens 34789SahrensSUBDIRS= $(MACH) 35789Sahrens$(BUILD64)SUBDIRS += $(MACH64) 36789Sahrens 37789Sahrensall := TARGET= all 38789Sahrensclean := TARGET= clean 39789Sahrensclobber := TARGET= clobber 40789Sahrensinstall := TARGET= install 41789Sahrenslint := TARGET= lint 42789Sahrens 43*3535Sck153898MSGFILES = `$(GREP) -l gettext $(HDRDIR)/*.[ch]` 44789SahrensPOFILE = libzfs.po 45789Sahrens 46789Sahrens.KEEP_STATE: 47789Sahrens 482522Srafall clean clobber install lint: $(SUBDIRS) 49789Sahrens 50789Sahrens$(POFILE): pofile_MSGFILES 51789Sahrens 52789Sahrensinstall_h: $(ROOTHDRS) 53789Sahrens 54789Sahrenscheck: $(CHECKHDRS) 55789Sahrens 56789Sahrens_msg: $(MSGDOMAINPOFILE) 57789Sahrens 582522Sraf$(SUBDIRS): FRC 59789Sahrens @cd $@; pwd; $(MAKE) $(TARGET) 60789Sahrens 61789SahrensFRC: 62789Sahrens 63789Sahrensinclude ../Makefile.targ 64789Sahrensinclude ../../Makefile.msg.targ 65