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