# Makefile - Makefile for target/src/fs/nfs
#
# Copyright 2001-2006, 2013-2015 Wind River Systems, Inc.
#
# modification history
# --------------------
# 01m,06jan15,yjl  Fix VXW6-83673, INCLUDE_NFS_DEBUG vanished in VxW 6.9.4.1
# 01l,11may14,yjl  Fix VXW6-1072
# 01k,22feb13,yjl  Fix WIND00403400, To enhance nfs debugging, add some debug
#                  information
# 01j,25jul06,mwv  update for build under fs
# 01i,13jun05,vvv  cleanup of build flags
# 01h,27may05,vvv  fixed DOC_FILES
# 01g,07feb05,vvv  _KERNEL cleanup
# 01f,26oct04,tpw  Add include of defs.docs for doc build settings.
# 01e,23aug04,vvv  merged from COMP_WN_IPV6_BASE6_ITER5_TO_UNIFIED_PRE_MERGE
# 01d,28may04,niq  Merging from base6 label POST_ITER5_FRZ16_REBASE
# 01c,17feb04,pch  remove PPC32 hack, no longer needed
# 01b,05dec03,xli  add EXTRA_DEFINE
# 01a,10oct03,snd  written.
#
# DESCRIPTION
# This file contains the makefile rules for building the NFS library
#

TGT_DIR=$(WIND_BASE)/target
LIB_BASE_NAME= os

# Files used for documentation

DOC_FILES=  nfsd.c mountd.c nfsCommon.c nfsdCommon.c nfsHash.c

include $(TGT_DIR)/h/make/defs.library

# Object files
ifdef _WRS_CONFIG_NFS_DBG
OBJS=     nfsd.o nfsHash.o nfs2dLib.o nfs3dLib.o xdr_nfs2_xdr.o \
          xdr_nfs3_xdr.o xdr_nfs_common_xdr.o xdr_mnt1_xdr.o xdr_mnt3_xdr.o \
          xdr_mnt_common_xdr.o mountd.o nfsdCommon.o mount3Lib.o \
          mount1Lib.o nlm4Lib.o xdr_nlm4.o nfs3Lib.o nfs3Drv.o \
          nfs2Drv.o nfs2Lib.o nfsCommon.o nfsDebug.o

else
OBJS=     nfsd.o nfsHash.o nfs2dLib.o nfs3dLib.o xdr_nfs2_xdr.o \
          xdr_nfs3_xdr.o xdr_nfs_common_xdr.o xdr_mnt1_xdr.o xdr_mnt3_xdr.o \
          xdr_mnt_common_xdr.o mountd.o nfsdCommon.o mount3Lib.o \
          mount1Lib.o nlm4Lib.o xdr_nlm4.o nfs3Lib.o nfs3Drv.o \
          nfs2Drv.o nfs2Lib.o nfsCommon.o
endif

include $(TGT_DIR)/h/make/rules.library
