1 789 ahrens # 2 789 ahrens # CDDL HEADER START 3 789 ahrens # 4 789 ahrens # The contents of this file are subject to the terms of the 5 2522 raf # Common Development and Distribution License (the "License"). 6 2522 raf # You may not use this file except in compliance with the License. 7 789 ahrens # 8 789 ahrens # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 789 ahrens # or http://www.opensolaris.org/os/licensing. 10 789 ahrens # See the License for the specific language governing permissions 11 789 ahrens # and limitations under the License. 12 789 ahrens # 13 789 ahrens # When distributing Covered Code, include this CDDL HEADER in each 14 789 ahrens # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 789 ahrens # If applicable, add the following below this CDDL HEADER, with the 16 789 ahrens # fields enclosed by brackets "[]" replaced with your own identifying 17 789 ahrens # information: Portions Copyright [yyyy] [name of copyright owner] 18 789 ahrens # 19 789 ahrens # CDDL HEADER END 20 789 ahrens # 21 789 ahrens # 22 3535 ck153898 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23 789 ahrens # Use is subject to license terms. 24 789 ahrens # 25 2522 raf # ident "%Z%%M% %I% %E% SMI" 26 2522 raf # 27 789 ahrens 28 789 ahrens include ../Makefile.lib 29 789 ahrens 30 789 ahrens HDRS= libzfs.h 31 789 ahrens 32 789 ahrens HDRDIR= common 33 789 ahrens 34 789 ahrens SUBDIRS= $(MACH) 35 789 ahrens $(BUILD64)SUBDIRS += $(MACH64) 36 789 ahrens 37 789 ahrens all := TARGET= all 38 789 ahrens clean := TARGET= clean 39 789 ahrens clobber := TARGET= clobber 40 789 ahrens install := TARGET= install 41 789 ahrens lint := TARGET= lint 42 789 ahrens 43 3535 ck153898 MSGFILES = `$(GREP) -l gettext $(HDRDIR)/*.[ch]` 44 789 ahrens POFILE = libzfs.po 45 789 ahrens 46 789 ahrens .KEEP_STATE: 47 789 ahrens 48 2522 raf all clean clobber install lint: $(SUBDIRS) 49 789 ahrens 50 789 ahrens $(POFILE): pofile_MSGFILES 51 789 ahrens 52 789 ahrens install_h: $(ROOTHDRS) 53 789 ahrens 54 789 ahrens check: $(CHECKHDRS) 55 789 ahrens 56 789 ahrens _msg: $(MSGDOMAINPOFILE) 57 789 ahrens 58 2522 raf $(SUBDIRS): FRC 59 789 ahrens @cd $@; pwd; $(MAKE) $(TARGET) 60 789 ahrens 61 789 ahrens FRC: 62 789 ahrens 63 789 ahrens include ../Makefile.targ 64 789 ahrens include ../../Makefile.msg.targ 65