Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
5937N/A#
5937N/A# CDDL HEADER START
5937N/A#
5937N/A# The contents of this file are subject to the terms of the
5937N/A# Common Development and Distribution License, Version 1.0 only
5937N/A# (the "License"). You may not use this file except in compliance
5937N/A# with the License.
5937N/A#
5937N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5937N/A# or http://www.opensolaris.org/os/licensing.
5937N/A# See the License for the specific language governing permissions
5937N/A# and limitations under the License.
5937N/A#
5937N/A# When distributing Covered Code, include this CDDL HEADER in each
5937N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5937N/A# If applicable, add the following below this CDDL HEADER, with the
5937N/A# fields enclosed by brackets "[]" replaced with your own identifying
5937N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5937N/A#
5937N/A# CDDL HEADER END
5937N/A#
5937N/A#
5937N/A#ident "%Z%%M% %I% %E% SMI"
5937N/A#
5937N/A#
5937N/A# Copyright 1993-1999,2003 Sun Microsystems, Inc. All rights reserved.
5937N/A# Use is subject to license terms.
5937N/A#
5937N/A
5937N/AFSTYPE= nfs
5937N/ALIBPROG= share
5937N/AATTMK= $(LIBPROG)
5937N/A
5937N/ACOMMON= nfs_sec.o sharetab.o nfslog_config.o nfslogtab.o
5937N/ALOCAL= $(LIBPROG).o issubdir.o
5937N/AOBJS= $(LOCAL) $(COMMON)
5937N/ASRCS= $(LOCAL:%.o=%.c) $(COMMON:%.o=../lib/%.c)
5937N/AOTHERINSTALL= $(ROOTETC)/dfs/fstypes
5937N/A
5937N/A#
5937N/A# Message catalog
5937N/A#
5937N/APOFILE= share.po
5937N/A
5937N/A
5937N/Acatalog: $(POFILE)
5937N/A
5937N/A$(POFILE): $(SRCS)
5937N/A $(RM) $@
5937N/A $(COMPILE.cpp) $(SRCS) > $(POFILE).i
5937N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
5937N/A sed "/^domain/d" messages.po > $@
5937N/A $(RM) $(POFILE).i messages.po
5937N/A
5937N/Ainclude ../../Makefile.fstype
5937N/A
5937N/ALDLIBS += -lnsl
5937N/A#
5937N/A# uncomment to test vol fh
5937N/A#
5937N/A#CFLAGS += -DVOLATILE_FH_TEST
5937N/A
5937N/A$(ROOTETC)/dfs/fstypes := FILEMODE= 644
5937N/A$(ROOTETC)/dfs/fstypes := OWNER= root
5937N/A$(ROOTETC)/dfs/fstypes := GROUP= root
5937N/A
5937N/A$(ROOTETC)/dfs/%: %
5937N/A $(INS.file)
5937N/A
5971N/A$(LIBPROG): $(OBJS)
5937N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
5971N/A $(POST_PROCESS)
5937N/A
5937N/Anfs_sec.o: ../lib/nfs_sec.c
5937N/A $(COMPILE.c) ../lib/nfs_sec.c
sharetab.o: ../lib/sharetab.c
$(COMPILE.c) ../lib/sharetab.c
nfslog_config.o: ../lib/nfslog_config.c
$(COMPILE.c) ../lib/nfslog_config.c
nfslogtab.o: ../lib/nfslogtab.c
$(COMPILE.c) ../lib/nfslogtab.c
lint: lint_SRCS
clean:
$(RM) $(OBJS)