[NFSD] Add a PCH.
[reactos.git] / base / services / nfsd / sources
1 TARGETTYPE=PROGRAM
2 TARGETNAME=nfsd
3 SOURCES=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
9 UMTYPE=console
10 USE_LIBCMT=1
11 #USE_MSVCRT=1
12 C_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd
13 INCLUDES=..\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
20 TARGETLIBS=$(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
25 bump to /Wall, but suppress warnings generated by system includes,
26 as well as the following warnings:
27 4100 - unused function call arguments (we have lots of stubs)
28 4127 - constant conditional (I like to use if(0) or if(1))
29 4220 - varargs matching remaining parameters
30 4204 - nonstandard extension
31 !ENDIF
32 MSC_WARNING_LEVEL=/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4100 /wd4127 /wd4711 /wd4220 /wd4204