1*6185db85Sdougm# 2*6185db85Sdougm# CDDL HEADER START 3*6185db85Sdougm# 4*6185db85Sdougm# The contents of this file are subject to the terms of the 5*6185db85Sdougm# Common Development and Distribution License (the "License"). 6*6185db85Sdougm# You may not use this file except in compliance with the License. 7*6185db85Sdougm# 8*6185db85Sdougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*6185db85Sdougm# or http://www.opensolaris.org/os/licensing. 10*6185db85Sdougm# See the License for the specific language governing permissions 11*6185db85Sdougm# and limitations under the License. 12*6185db85Sdougm# 13*6185db85Sdougm# When distributing Covered Code, include this CDDL HEADER in each 14*6185db85Sdougm# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*6185db85Sdougm# If applicable, add the following below this CDDL HEADER, with the 16*6185db85Sdougm# fields enclosed by brackets "[]" replaced with your own identifying 17*6185db85Sdougm# information: Portions Copyright [yyyy] [name of copyright owner] 18*6185db85Sdougm# 19*6185db85Sdougm# CDDL HEADER END 20*6185db85Sdougm# 21*6185db85Sdougm# 22*6185db85Sdougm# ident "%Z%%M% %I% %E% SMI" 23*6185db85Sdougm# 24*6185db85Sdougm# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 25*6185db85Sdougm# Use is subject to license terms. 26*6185db85Sdougm# 27*6185db85Sdougm 28*6185db85Sdougminclude ../../Makefile.master 29*6185db85Sdougm 30*6185db85Sdougminclude ../Makefile.lib 31*6185db85Sdougm 32*6185db85SdougmHDRS = libshare.h 33*6185db85SdougmHDRDIR = common 34*6185db85SdougmSUBDIRS = $(MACH) 35*6185db85SdougmROOTHDRDIR= $(ROOT)/usr/include 36*6185db85SdougmROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%) 37*6185db85Sdougm 38*6185db85SdougmMSGFILES= common/libshare.c common/libsharecore.c common/scfutil.c \ 39*6185db85Sdougm common/parser.c common/libshare_zfs.c 40*6185db85SdougmPOFILE= libshare.po 41*6185db85Sdougm 42*6185db85Sdougmall := TARGET = all 43*6185db85Sdougmclean := TARGET = clean 44*6185db85Sdougmclobber := TARGET = clobber 45*6185db85Sdougminstall := TARGET = install 46*6185db85Sdougmlint := TARGET = lint 47*6185db85Sdougm 48*6185db85Sdougm.KEEP_STATE: 49*6185db85Sdougm 50*6185db85Sdougmall clean clobber install lint: $(SUBDIRS) 51*6185db85Sdougm 52*6185db85Sdougminstall_h: $(ROOTHDRS) 53*6185db85Sdougm 54*6185db85Sdougmcheck: $(CHECKHDRS) 55*6185db85Sdougm 56*6185db85Sdougm$(POFILE): $(MSGFILES) 57*6185db85Sdougm $(BUILDPO.msgfiles) 58*6185db85Sdougm 59*6185db85Sdougm$(SUBDIRS): FRC 60*6185db85Sdougm @cd $@; pwd; $(MAKE) $(TARGET) 61*6185db85Sdougm 62*6185db85Sdougm_msg: $(MSGDOMAINPOFILE) 63*6185db85Sdougm 64*6185db85Sdougm 65*6185db85SdougmFRC: 66*6185db85Sdougm 67*6185db85Sdougminclude ../Makefile.targ 68*6185db85Sdougminclude ../../Makefile.msg.targ 69