Skip to content

Commit af212ce

Browse files
committed
[NFSD] Add a PCH.
1 parent 9ecbbe2 commit af212ce

File tree

2 files changed

+63
-26
lines changed

2 files changed

+63
-26
lines changed

base/services/nfsd/CMakeLists.txt

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,43 @@ include_directories(
88
${REACTOS_SOURCE_DIR}/dll/np/nfs)
99

1010
list(APPEND SOURCE
11-
nfs41_daemon.c
11+
acl.c
12+
callback_server.c
13+
callback_xdr.c
1214
daemon_debug.c
13-
nfs41_ops.c
15+
delegation.c
16+
ea.c
17+
getattr.c
18+
idmap.c
19+
lock.c
20+
lookup.c
21+
mount.c
22+
name_cache.c
23+
namespace.c
24+
nfs41_client.c
1425
nfs41_compound.c
15-
nfs41_xdr.c
26+
nfs41_daemon.c
27+
nfs41_ops.c
28+
nfs41_rpc.c
1629
nfs41_server.c
17-
nfs41_client.c
18-
nfs41_superblock.c
1930
nfs41_session.c
20-
lookup.c
21-
mount.c
31+
nfs41_superblock.c
32+
nfs41_xdr.c
2233
open.c
23-
readwrite.c
24-
lock.c
34+
pnfs_debug.c
35+
pnfs_device.c
36+
pnfs_io.c
37+
pnfs_layout.c
2538
readdir.c
26-
getattr.c
39+
readwrite.c
40+
recovery.c
41+
service.c
2742
setattr.c
43+
symlink.c
2844
upcall.c
29-
nfs41_rpc.c
3045
util.c
31-
pnfs_layout.c
32-
pnfs_device.c
33-
pnfs_debug.c
34-
pnfs_io.c
35-
name_cache.c
36-
namespace.c
3746
volume.c
38-
callback_server.c
39-
callback_xdr.c
40-
service.c
41-
symlink.c
42-
idmap.c
43-
delegation.c
44-
recovery.c
45-
acl.c
46-
ea.c)
47+
precomp.h)
4748

4849
add_executable(nfsd ${SOURCE} nfsd.rc)
4950

@@ -55,6 +56,7 @@ endif()
5556

5657
set_module_type(nfsd win32cui)
5758
add_importlibs(nfsd advapi32 iphlpapi kernel32_vista libtirpc msvcrt shell32 ws2_32 wldap32 kernel32 ntdll)
59+
add_pch(nfsd precomp.h SOURCE)
5860
add_cd_file(TARGET nfsd DESTINATION reactos/system32 FOR all)
5961
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/netconfig" DESTINATION reactos/system32/drivers/etc FOR all)
6062
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/ms-nfs41-idmap.conf" DESTINATION reactos/system32/drivers/etc FOR all)

base/services/nfsd/precomp.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#ifndef _NFSD_PRECOMP_H_
2+
#define _NFSD_PRECOMP_H_
3+
4+
#include <stdio.h>
5+
#include <stdlib.h>
6+
#include <process.h>
7+
#include <tchar.h>
8+
#include <time.h>
9+
#include <windows.h>
10+
#include <strsafe.h>
11+
#include <devioctl.h>
12+
#include <iphlpapi.h>
13+
#include <wincrypt.h>
14+
#include <winsock2.h>
15+
16+
#include "daemon_debug.h"
17+
#include "delegation.h"
18+
#include "from_kernel.h"
19+
#include "idmap.h"
20+
#include "nfs41.h"
21+
#include "nfs41_callback.h"
22+
#include "nfs41_compound.h"
23+
#include "nfs41_ops.h"
24+
#include "name_cache.h"
25+
#include "nfs41_xdr.h"
26+
#include "recovery.h"
27+
#include "tree.h"
28+
#include "upcall.h"
29+
#include "util.h"
30+
31+
#include <nfs41_driver.h>
32+
#include <rpc/rpc.h>
33+
#include <rpc/auth_sspi.h>
34+
35+
#endif /* _NFSD_PRECOMP_H_ */

0 commit comments

Comments
 (0)