6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER START
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# The contents of this file are subject to the terms of the
6185db853e024a486ff8837e6784dd290d866112dougm# Common Development and Distribution License (the "License").
6185db853e024a486ff8837e6784dd290d866112dougm# You may not use this file except in compliance with the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6185db853e024a486ff8837e6784dd290d866112dougm# or http://www.opensolaris.org/os/licensing.
6185db853e024a486ff8837e6784dd290d866112dougm# See the License for the specific language governing permissions
6185db853e024a486ff8837e6784dd290d866112dougm# and limitations under the License.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# When distributing Covered Code, include this CDDL HEADER in each
6185db853e024a486ff8837e6784dd290d866112dougm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6185db853e024a486ff8837e6784dd290d866112dougm# If applicable, add the following below this CDDL HEADER, with the
6185db853e024a486ff8837e6784dd290d866112dougm# fields enclosed by brackets "[]" replaced with your own identifying
6185db853e024a486ff8837e6784dd290d866112dougm# information: Portions Copyright [yyyy] [name of copyright owner]
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm# CDDL HEADER END
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm#
dd51520e127b452179a2ce4ea3bd8dee949f9afePavan Mettu - Oracle Corporation - Menlo Park United States# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
6185db853e024a486ff8837e6784dd290d866112dougm#
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougminclude ../Makefile.lib
6185db853e024a486ff8837e6784dd290d866112dougm
549ec3fff108310966327d1dc9004551b63210b7dougmHDRS = libshare.h libshare_impl.h scfutil.h
6185db853e024a486ff8837e6784dd290d866112dougmHDRDIR = common
549ec3fff108310966327d1dc9004551b63210b7dougm
549ec3fff108310966327d1dc9004551b63210b7dougmMACHS = $(MACH)
549ec3fff108310966327d1dc9004551b63210b7dougm$(BUILD64)MACHS += $(MACH64)
549ec3fff108310966327d1dc9004551b63210b7dougm
549ec3fff108310966327d1dc9004551b63210b7dougm# Add plugin module directories here. They need to build after the libshare
549ec3fff108310966327d1dc9004551b63210b7dougm# objects are built.
dd51520e127b452179a2ce4ea3bd8dee949f9afePavan Mettu - Oracle Corporation - Menlo Park United StatesPLUGINS = nfs smb smbfs autofs
549ec3fff108310966327d1dc9004551b63210b7dougm$(PLUGINS): $(MACHS)
549ec3fff108310966327d1dc9004551b63210b7dougm
549ec3fff108310966327d1dc9004551b63210b7dougmSUBDIRS = $(MACHS) $(PLUGINS)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmMSGFILES= common/libshare.c common/libsharecore.c common/scfutil.c \
24424a35444c8487648be681d47bee4f57af0ffcdougm common/plugin.c common/parser.c common/libshare_zfs.c
6185db853e024a486ff8837e6784dd290d866112dougmPOFILE= libshare.po
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmall := TARGET = all
6185db853e024a486ff8837e6784dd290d866112dougmclean := TARGET = clean
6185db853e024a486ff8837e6784dd290d866112dougmclobber := TARGET = clobber
6185db853e024a486ff8837e6784dd290d866112dougminstall := TARGET = install
6185db853e024a486ff8837e6784dd290d866112dougmlint := TARGET = lint
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm.KEEP_STATE:
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmall clean clobber install lint: $(SUBDIRS)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougminstall_h: $(ROOTHDRS)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmcheck: $(CHECKHDRS)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm$(POFILE): $(MSGFILES)
6185db853e024a486ff8837e6784dd290d866112dougm $(BUILDPO.msgfiles)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm$(SUBDIRS): FRC
6185db853e024a486ff8837e6784dd290d866112dougm @cd $@; pwd; $(MAKE) $(TARGET)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm_msg: $(MSGDOMAINPOFILE)
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougmFRC:
6185db853e024a486ff8837e6784dd290d866112dougm
6185db853e024a486ff8837e6784dd290d866112dougminclude ../Makefile.targ
6185db853e024a486ff8837e6784dd290d866112dougminclude ../../Makefile.msg.targ