xref: /reactos/base/services/nfsd/sources (revision 5100859e)
1TARGETTYPE=PROGRAM
2TARGETNAME=nfsd
3SOURCES=nfs41_daemon.c daemon_debug.c nfs41_ops.c nfs41_compound.c nfs41_xdr.c \
4	nfs41_server.c nfs41_client.c nfs41_superblock.c nfs41_session.c lookup.c \
5	mount.c open.c readwrite.c lock.c readdir.c getattr.c setattr.c upcall.c \
6	nfs41_rpc.c util.c pnfs_layout.c pnfs_device.c pnfs_debug.c pnfs_io.c \
7	name_cache.c namespace.c rbtree.c volume.c callback_server.c callback_xdr.c \
8	service.c symlink.c idmap.c
9UMTYPE=console
10USE_LIBCMT=1
11#USE_MSVCRT=1
12C_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd
13INCLUDES=..\sys;..\dll;..\libtirpc\tirpc
14# Use the following for "service" version of nfsd
15#TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \
16#        ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib \
17#		$(SDK_LIB_PATH)\kernel32.lib \
18#		$(SDK_LIB_PATH)\advapi32.lib \
19#		$(SDK_LIB_PATH)\shell32.lib
20TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \
21        ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib
22
23!IF 0
24/W3 is default level
25bump to /Wall, but suppress warnings generated by system includes,
26as well as the following warnings:
274100 - unused function call arguments (we have lots of stubs)
284127 - constant conditional (I like to use if(0) or if(1))
294220 - varargs matching remaining parameters
304204 - nonstandard extension
31!ENDIF
32MSC_WARNING_LEVEL=/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4100 /wd4127 /wd4711 /wd4220 /wd4204
33