1*c2c66affSColin FinckTARGETTYPE=PROGRAM 2*c2c66affSColin FinckTARGETNAME=nfsd 3*c2c66affSColin FinckSOURCES=nfs41_daemon.c daemon_debug.c nfs41_ops.c nfs41_compound.c nfs41_xdr.c \ 4*c2c66affSColin Finck nfs41_server.c nfs41_client.c nfs41_superblock.c nfs41_session.c lookup.c \ 5*c2c66affSColin Finck mount.c open.c readwrite.c lock.c readdir.c getattr.c setattr.c upcall.c \ 6*c2c66affSColin Finck nfs41_rpc.c util.c pnfs_layout.c pnfs_device.c pnfs_debug.c pnfs_io.c \ 7*c2c66affSColin Finck name_cache.c namespace.c rbtree.c volume.c callback_server.c callback_xdr.c \ 8*c2c66affSColin Finck service.c symlink.c idmap.c 9*c2c66affSColin FinckUMTYPE=console 10*c2c66affSColin FinckUSE_LIBCMT=1 11*c2c66affSColin Finck#USE_MSVCRT=1 12*c2c66affSColin FinckC_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd 13*c2c66affSColin FinckINCLUDES=..\sys;..\dll;..\libtirpc\tirpc 14*c2c66affSColin Finck# Use the following for "service" version of nfsd 15*c2c66affSColin Finck#TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \ 16*c2c66affSColin Finck# ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib \ 17*c2c66affSColin Finck# $(SDK_LIB_PATH)\kernel32.lib \ 18*c2c66affSColin Finck# $(SDK_LIB_PATH)\advapi32.lib \ 19*c2c66affSColin Finck# $(SDK_LIB_PATH)\shell32.lib 20*c2c66affSColin FinckTARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \ 21*c2c66affSColin Finck ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib 22*c2c66affSColin Finck 23*c2c66affSColin Finck!IF 0 24*c2c66affSColin Finck/W3 is default level 25*c2c66affSColin Finckbump to /Wall, but suppress warnings generated by system includes, 26*c2c66affSColin Finckas well as the following warnings: 27*c2c66affSColin Finck4100 - unused function call arguments (we have lots of stubs) 28*c2c66affSColin Finck4127 - constant conditional (I like to use if(0) or if(1)) 29*c2c66affSColin Finck4220 - varargs matching remaining parameters 30*c2c66affSColin Finck4204 - nonstandard extension 31*c2c66affSColin Finck!ENDIF 32*c2c66affSColin FinckMSC_WARNING_LEVEL=/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4100 /wd4127 /wd4711 /wd4220 /wd4204 33