mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NFSD] Add a PCH.
This commit is contained in:
parent
9ecbbe2a33
commit
af212ce508
2 changed files with 69 additions and 32 deletions
|
@ -8,42 +8,43 @@ include_directories(
|
|||
${REACTOS_SOURCE_DIR}/dll/np/nfs)
|
||||
|
||||
list(APPEND SOURCE
|
||||
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
|
||||
volume.c
|
||||
acl.c
|
||||
callback_server.c
|
||||
callback_xdr.c
|
||||
service.c
|
||||
symlink.c
|
||||
idmap.c
|
||||
daemon_debug.c
|
||||
delegation.c
|
||||
ea.c
|
||||
getattr.c
|
||||
idmap.c
|
||||
lock.c
|
||||
lookup.c
|
||||
mount.c
|
||||
name_cache.c
|
||||
namespace.c
|
||||
nfs41_client.c
|
||||
nfs41_compound.c
|
||||
nfs41_daemon.c
|
||||
nfs41_ops.c
|
||||
nfs41_rpc.c
|
||||
nfs41_server.c
|
||||
nfs41_session.c
|
||||
nfs41_superblock.c
|
||||
nfs41_xdr.c
|
||||
open.c
|
||||
pnfs_debug.c
|
||||
pnfs_device.c
|
||||
pnfs_io.c
|
||||
pnfs_layout.c
|
||||
readdir.c
|
||||
readwrite.c
|
||||
recovery.c
|
||||
acl.c
|
||||
ea.c)
|
||||
service.c
|
||||
setattr.c
|
||||
symlink.c
|
||||
upcall.c
|
||||
util.c
|
||||
volume.c
|
||||
precomp.h)
|
||||
|
||||
add_executable(nfsd ${SOURCE} nfsd.rc)
|
||||
|
||||
|
@ -55,6 +56,7 @@ endif()
|
|||
|
||||
set_module_type(nfsd win32cui)
|
||||
add_importlibs(nfsd advapi32 iphlpapi kernel32_vista libtirpc msvcrt shell32 ws2_32 wldap32 kernel32 ntdll)
|
||||
add_pch(nfsd precomp.h SOURCE)
|
||||
add_cd_file(TARGET nfsd DESTINATION reactos/system32 FOR all)
|
||||
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/netconfig" DESTINATION reactos/system32/drivers/etc FOR all)
|
||||
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/ms-nfs41-idmap.conf" DESTINATION reactos/system32/drivers/etc FOR all)
|
||||
|
|
35
base/services/nfsd/precomp.h
Normal file
35
base/services/nfsd/precomp.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
#ifndef _NFSD_PRECOMP_H_
|
||||
#define _NFSD_PRECOMP_H_
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <process.h>
|
||||
#include <tchar.h>
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
#include <strsafe.h>
|
||||
#include <devioctl.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <wincrypt.h>
|
||||
#include <winsock2.h>
|
||||
|
||||
#include "daemon_debug.h"
|
||||
#include "delegation.h"
|
||||
#include "from_kernel.h"
|
||||
#include "idmap.h"
|
||||
#include "nfs41.h"
|
||||
#include "nfs41_callback.h"
|
||||
#include "nfs41_compound.h"
|
||||
#include "nfs41_ops.h"
|
||||
#include "name_cache.h"
|
||||
#include "nfs41_xdr.h"
|
||||
#include "recovery.h"
|
||||
#include "tree.h"
|
||||
#include "upcall.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <nfs41_driver.h>
|
||||
#include <rpc/rpc.h>
|
||||
#include <rpc/auth_sspi.h>
|
||||
|
||||
#endif /* _NFSD_PRECOMP_H_ */
|
Loading…
Reference in a new issue