Makefile revision 1160694128cd3980cc06abe31af529a887efd310
12686N/A#
12686N/A# CDDL HEADER START
12686N/A#
12686N/A# The contents of this file are subject to the terms of the
12686N/A# Common Development and Distribution License, Version 1.0 only
12682N/A# (the "License"). You may not use this file except in compliance
12682N/A# with the License.
12682N/A#
12682N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12682N/A# or http://www.opensolaris.org/os/licensing.
12682N/A# See the License for the specific language governing permissions
12682N/A# and limitations under the License.
12682N/A#
12680N/A# When distributing Covered Code, include this CDDL HEADER in each
12680N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12680N/A# If applicable, add the following below this CDDL HEADER, with the
12680N/A# fields enclosed by brackets "[]" replaced with your own identifying
12680N/A# information: Portions Copyright [yyyy] [name of copyright owner]
12680N/A#
12680N/A# CDDL HEADER END
12680N/A#
12680N/A#
12680N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
12680N/A# Use is subject to license terms.
12680N/A#
12680N/A# ident "%Z%%M% %I% %E% SMI"
12680N/A#
12680N/A
12680N/AFSTYPE= nfs
12680N/ATYPEPROG= mountd
12680N/AATTMK= $(TYPEPROG)
12680N/A
12680N/Ainclude ../../Makefile.fstype
12680N/A
12680N/ACOMMON= $(FSLIB) nfs_sec.o sharetab.o
12680N/ALOCAL= mountd.o netgroup.o rmtab.o nfsauth.o \
12680N/A nfsauth_xdr.o svc_local.o exportlist.o hashset.o
12680N/AOBJS= $(LOCAL) $(COMMON)
12680N/ASRCS= $(LOCAL:%.o=%.c) \
12680N/A $(FSLIBSRC) ../lib/nfs_sec.c ../lib/sharetab.c
12680N/ALDLIBS += -lrpcsvc -lnsl -lbsm -lsocket -lcmd
12680N/ACPPFLAGS += -D_REENTRANT
12680N/A
12680N/A$(TYPEPROG): $(OBJS)
12680N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
12680N/A $(POST_PROCESS)
12680N/A
12680N/Anfsauth_xdr.c: $(ROOT)/usr/include/rpcsvc/nfsauth_prot.x
12680N/A $(RPCGEN) -C -c -o $@ $(ROOT)/usr/include/rpcsvc/nfsauth_prot.x
12680N/A
12680N/Anfs_sec.o: ../lib/nfs_sec.c
12680N/A $(COMPILE.c) ../lib/nfs_sec.c
12680N/A
12680N/Asharetab.o: ../lib/sharetab.c
12680N/A $(COMPILE.c) ../lib/sharetab.c
12680N/A
12680N/Alint:
12680N/A $(LINT.c) $(SRCS) $(LDLIBS)
12680N/A
12680N/Aclean:
12680N/A $(RM) $(OBJS) nfsauth_xdr.c
12680N/A