16185db85Sdougm# 26185db85Sdougm# CDDL HEADER START 36185db85Sdougm# 46185db85Sdougm# The contents of this file are subject to the terms of the 56185db85Sdougm# Common Development and Distribution License (the "License"). 66185db85Sdougm# You may not use this file except in compliance with the License. 76185db85Sdougm# 86185db85Sdougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96185db85Sdougm# or http://www.opensolaris.org/os/licensing. 106185db85Sdougm# See the License for the specific language governing permissions 116185db85Sdougm# and limitations under the License. 126185db85Sdougm# 136185db85Sdougm# When distributing Covered Code, include this CDDL HEADER in each 146185db85Sdougm# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156185db85Sdougm# If applicable, add the following below this CDDL HEADER, with the 166185db85Sdougm# fields enclosed by brackets "[]" replaced with your own identifying 176185db85Sdougm# information: Portions Copyright [yyyy] [name of copyright owner] 186185db85Sdougm# 196185db85Sdougm# CDDL HEADER END 206185db85Sdougm# 216185db85Sdougm# 226185db85Sdougm# 23*dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 246185db85Sdougm# 256185db85Sdougm 266185db85Sdougminclude ../Makefile.lib 276185db85Sdougm 28549ec3ffSdougmHDRS = libshare.h libshare_impl.h scfutil.h 296185db85SdougmHDRDIR = common 30549ec3ffSdougm 31549ec3ffSdougmMACHS = $(MACH) 32549ec3ffSdougm$(BUILD64)MACHS += $(MACH64) 33549ec3ffSdougm 34549ec3ffSdougm# Add plugin module directories here. They need to build after the libshare 35549ec3ffSdougm# objects are built. 36*dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United StatesPLUGINS = nfs smb smbfs autofs 37549ec3ffSdougm$(PLUGINS): $(MACHS) 38549ec3ffSdougm 39549ec3ffSdougmSUBDIRS = $(MACHS) $(PLUGINS) 406185db85Sdougm 416185db85SdougmMSGFILES= common/libshare.c common/libsharecore.c common/scfutil.c \ 4224424a35Sdougm common/plugin.c common/parser.c common/libshare_zfs.c 436185db85SdougmPOFILE= libshare.po 446185db85Sdougm 456185db85Sdougmall := TARGET = all 466185db85Sdougmclean := TARGET = clean 476185db85Sdougmclobber := TARGET = clobber 486185db85Sdougminstall := TARGET = install 496185db85Sdougmlint := TARGET = lint 506185db85Sdougm 516185db85Sdougm.KEEP_STATE: 526185db85Sdougm 536185db85Sdougmall clean clobber install lint: $(SUBDIRS) 546185db85Sdougm 556185db85Sdougminstall_h: $(ROOTHDRS) 566185db85Sdougm 576185db85Sdougmcheck: $(CHECKHDRS) 586185db85Sdougm 596185db85Sdougm$(POFILE): $(MSGFILES) 606185db85Sdougm $(BUILDPO.msgfiles) 616185db85Sdougm 626185db85Sdougm$(SUBDIRS): FRC 636185db85Sdougm @cd $@; pwd; $(MAKE) $(TARGET) 646185db85Sdougm 656185db85Sdougm_msg: $(MSGDOMAINPOFILE) 666185db85Sdougm 676185db85Sdougm 686185db85SdougmFRC: 696185db85Sdougm 706185db85Sdougminclude ../Makefile.targ 716185db85Sdougminclude ../../Makefile.msg.targ 72