Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / base / services / nfsd / sources
diff --git a/base/services/nfsd/sources b/base/services/nfsd/sources
new file mode 100644 (file)
index 0000000..af4eef9
--- /dev/null
@@ -0,0 +1,32 @@
+TARGETTYPE=PROGRAM
+TARGETNAME=nfsd
+SOURCES=nfs41_daemon.c daemon_debug.c nfs41_ops.c nfs41_compound.c nfs41_xdr.c \
+       nfs41_server.c nfs41_client.c nfs41_superblock.c nfs41_session.c lookup.c \
+       mount.c open.c readwrite.c lock.c readdir.c getattr.c setattr.c upcall.c \
+       nfs41_rpc.c util.c pnfs_layout.c pnfs_device.c pnfs_debug.c pnfs_io.c \
+       name_cache.c namespace.c rbtree.c volume.c callback_server.c callback_xdr.c \
+       service.c symlink.c idmap.c
+UMTYPE=console
+USE_LIBCMT=1
+#USE_MSVCRT=1
+C_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd
+INCLUDES=..\sys;..\dll;..\libtirpc\tirpc
+# Use the following for "service" version of nfsd
+#TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \
+#        ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib \
+#              $(SDK_LIB_PATH)\kernel32.lib \
+#              $(SDK_LIB_PATH)\advapi32.lib \
+#              $(SDK_LIB_PATH)\shell32.lib
+TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \
+        ..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib
+
+!IF 0
+/W3 is default level
+bump to /Wall, but suppress warnings generated by system includes,
+as well as the following warnings:
+4100 - unused function call arguments (we have lots of stubs)
+4127 - constant conditional (I like to use if(0) or if(1))
+4220 - varargs matching remaining parameters
+4204 - nonstandard extension
+!ENDIF
+MSC_WARNING_LEVEL=/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4100 /wd4127 /wd4711 /wd4220 /wd4204