Author: akhaldi
Date: Thu Aug 11 15:16:48 2011
New Revision: 53185
URL:
http://svn.reactos.org/svn/reactos?rev=53185&view=rev
Log:
[WIN32DLLS]
* PCHify some modules when possible.
Modified:
trunk/reactos/dll/win32/acledit/CMakeLists.txt
trunk/reactos/dll/win32/acledit/acledit.c
trunk/reactos/dll/win32/acledit/acledit.rbuild
trunk/reactos/dll/win32/acledit/acleditint.h
trunk/reactos/dll/win32/acledit/stubs.c
trunk/reactos/dll/win32/cabinet/CMakeLists.txt
trunk/reactos/dll/win32/cabinet/cabinet.rbuild
trunk/reactos/dll/win32/comctl32/CMakeLists.txt
trunk/reactos/dll/win32/comctl32/comctl32.rbuild
trunk/reactos/dll/win32/dbghelp/CMakeLists.txt
trunk/reactos/dll/win32/fmifs/CMakeLists.txt
trunk/reactos/dll/win32/hlink/CMakeLists.txt
trunk/reactos/dll/win32/hlink/hlink.rbuild
trunk/reactos/dll/win32/iphlpapi/CMakeLists.txt
trunk/reactos/dll/win32/iphlpapi/dhcp_reactos.c
trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c
trunk/reactos/dll/win32/iphlpapi/iphlpapi.rbuild
trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c
trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h
trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c
trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c
trunk/reactos/dll/win32/iphlpapi/route_reactos.c
trunk/reactos/dll/win32/lpk/CMakeLists.txt
trunk/reactos/dll/win32/lpk/lpk.rbuild
trunk/reactos/dll/win32/lsasrv/CMakeLists.txt
trunk/reactos/dll/win32/lsasrv/lsasrv.rbuild
trunk/reactos/dll/win32/mciavi32/CMakeLists.txt
trunk/reactos/dll/win32/mciavi32/mciavi32.rbuild
trunk/reactos/dll/win32/mscms/CMakeLists.txt
trunk/reactos/dll/win32/mscms/mscms.rbuild
trunk/reactos/dll/win32/msgina/CMakeLists.txt
trunk/reactos/dll/win32/msgina/gui.c
trunk/reactos/dll/win32/msgina/msgina.c
trunk/reactos/dll/win32/msgina/msgina.h
trunk/reactos/dll/win32/msgina/msgina.rbuild
trunk/reactos/dll/win32/msgina/stubs.c
trunk/reactos/dll/win32/msgina/tui.c
trunk/reactos/dll/win32/msi/CMakeLists.txt
trunk/reactos/dll/win32/mstask/CMakeLists.txt
trunk/reactos/dll/win32/mstask/mstask.rbuild
trunk/reactos/dll/win32/newdev/CMakeLists.txt
trunk/reactos/dll/win32/newdev/newdev.rbuild
trunk/reactos/dll/win32/objsel/CMakeLists.txt
trunk/reactos/dll/win32/objsel/objsel.rbuild
trunk/reactos/dll/win32/qmgr/CMakeLists.txt
trunk/reactos/dll/win32/qmgr/qmgr.rbuild
trunk/reactos/dll/win32/rasadhlp/CMakeLists.txt
trunk/reactos/dll/win32/rasadhlp/rasadhlp.rbuild
trunk/reactos/dll/win32/riched20/CMakeLists.txt
trunk/reactos/dll/win32/riched20/riched20.rbuild
trunk/reactos/dll/win32/rsaenh/CMakeLists.txt
trunk/reactos/dll/win32/rsaenh/rsaenh.rbuild
trunk/reactos/dll/win32/shdocvw/CMakeLists.txt
trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild
Modified: trunk/reactos/dll/win32/acledit/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/acledit/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/acledit/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -13,5 +13,6 @@
set_module_type(acledit win32dll)
add_importlibs(acledit msvcrt kernel32 ntdll)
+add_pch(acledit acleditint.h)
add_cd_file(TARGET acledit DESTINATION reactos/system32 FOR all)
add_importlib_target(acledit.spec)
Modified: trunk/reactos/dll/win32/acledit/acledit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/acledit.…
==============================================================================
--- trunk/reactos/dll/win32/acledit/acledit.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/acledit/acledit.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -28,9 +28,8 @@
* UPDATE HISTORY:
* 07/09/2004 Created
*/
-#include <windows.h>
+
#include "acleditint.h"
-#include "resource.h"
HINSTANCE hDllInstance;
Modified: trunk/reactos/dll/win32/acledit/acledit.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/acledit.…
==============================================================================
--- trunk/reactos/dll/win32/acledit/acledit.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/acledit/acledit.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -10,4 +10,5 @@
<file>acledit.c</file>
<file>stubs.c</file>
<file>acledit.rc</file>
+ <pch>acleditint.h</pch>
</module>
Modified: trunk/reactos/dll/win32/acledit/acleditint.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/aclediti…
==============================================================================
--- trunk/reactos/dll/win32/acledit/acleditint.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/acledit/acleditint.h [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -1,4 +1,5 @@
-#pragma once
+#include <windows.h>
+#include "resource.h"
extern HINSTANCE hDllInstance;
Modified: trunk/reactos/dll/win32/acledit/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/stubs.c?…
==============================================================================
--- trunk/reactos/dll/win32/acledit/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/acledit/stubs.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -12,7 +12,7 @@
* UPDATE HISTORY:
* 07/09/2004 Created
*/
-#include <windows.h>
+
#include "acleditint.h"
ULONG DbgPrint(PCH Format,...);
Modified: trunk/reactos/dll/win32/cabinet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cabinet/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/cabinet/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/cabinet/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -16,11 +16,9 @@
add_library(cabinet SHARED ${SOURCE})
set_entrypoint(cabinet 0)
-
target_link_libraries(cabinet wine)
-
add_importlibs(cabinet kernel32 ntdll)
add_importlib_target(cabinet.spec)
-
+add_pch(cabinet cabinet.h)
add_dependencies(cabinet psdk)
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/cabinet/cabinet.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cabinet/cabinet.…
==============================================================================
--- trunk/reactos/dll/win32/cabinet/cabinet.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/cabinet/cabinet.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -11,6 +11,7 @@
<file>fdi.c</file>
<file>stubs.c</file>
<file>cabinet.rc</file>
+ <pch>cabinet.h</pch>
<library>wine</library>
<library>ntdll</library>
</module>
Modified: trunk/reactos/dll/win32/comctl32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -71,5 +71,6 @@
kernel32
ntdll)
+add_pch(comctl32 comctl32.h)
add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
add_importlib_target(comctl32.spec)
Modified: trunk/reactos/dll/win32/comctl32/comctl32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/comctl3…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/comctl32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/comctl32.rbuild [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -48,6 +48,7 @@
<file>updown.c</file>
<file>stubs.c</file>
<file>rsrc.rc</file>
+ <pch>comctl32.h</pch>
<library>uuid</library>
<library>wine</library>
<library>user32</library>
Modified: trunk/reactos/dll/win32/dbghelp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -52,7 +52,7 @@
${PSEH_LIB}
oldnames)
+add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
add_pch(dbghelp dbghelp_private.h)
-add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
add_importlib_target(dbghelp.spec)
add_cd_file(TARGET dbghelp DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/fmifs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fmifs/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -15,12 +15,9 @@
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
add_library(fmifs SHARED ${SOURCE})
-
+set_entrypoint(fmifs InitializeFmIfs@12)
+add_importlibs(fmifs kernel32 ntdll)
add_pch(fmifs precomp.h)
-
-set_entrypoint(fmifs InitializeFmIfs@12)
-
-add_importlibs(fmifs kernel32 ntdll)
add_dependencies(fmifs psdk)
add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)
add_importlib_target(fmifs.spec)
Modified: trunk/reactos/dll/win32/hlink/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hlink/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/hlink/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hlink/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -27,5 +27,6 @@
kernel32
ntdll)
+add_pch(hlink hlink_private.h)
add_importlib_target(hlink.spec)
add_cd_file(TARGET hlink DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/hlink/hlink.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hlink/hlink.rbui…
==============================================================================
--- trunk/reactos/dll/win32/hlink/hlink.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hlink/hlink.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -11,6 +11,7 @@
<file>extserv.c</file>
<file>hlink_main.c</file>
<file>link.c</file>
+ <pch>hlink_private.h</pch>
<library>wine</library>
<library>shell32</library>
<library>ole32</library>
Modified: trunk/reactos/dll/win32/iphlpapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -24,8 +24,8 @@
add_library(iphlpapi SHARED ${SOURCE})
set_module_type(iphlpapi win32dll)
-
target_link_libraries(iphlpapi wine tdilib)
add_importlibs(iphlpapi dhcpcsvc advapi32 ws2_32 msvcrt kernel32 ntdll)
+add_pch(iphlpapi iphlpapi_private.h)
add_cd_file(TARGET iphlpapi DESTINATION reactos/system32 FOR all)
add_importlib_target(iphlpapi.spec)
Modified: trunk/reactos/dll/win32/iphlpapi/dhcp_reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/dhcp_re…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/dhcp_reactos.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/dhcp_reactos.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -7,10 +7,6 @@
*/
#include "iphlpapi_private.h"
-#include "dhcp.h"
-#include "dhcpcsdk.h"
-#include "dhcpcapi.h"
-#include <assert.h>
DWORD APIENTRY DhcpRosGetAdapterInfo(DWORD AdapterIndex,
PBOOL DhcpEnabled,
Modified: trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/ifenum_…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -37,8 +37,6 @@
* functions into iphlpv6.c (arty)
*/
#include "iphlpapi_private.h"
-#include "ifenum.h"
-#include <assert.h>
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/iphlpapi.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/iphlpapi.rbuild [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -19,4 +19,5 @@
<file>resinfo_reactos.c</file>
<file>route_reactos.c</file>
<file>iphlpapi.rc</file>
+ <pch>iphlpapi_private.h</pch>
</module>
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -18,38 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define DEBUG
+
#include "config.h"
#include "iphlpapi_private.h"
-
-#include <stdarg.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
-#ifdef HAVE_ARPA_NAMESER_H
-# include <arpa/nameser.h>
-#endif
-#ifdef HAVE_RESOLV_H
-# include <resolv.h>
-#endif
-
-#define DEBUG
-#include "windef.h"
-#include "winbase.h"
-#include "winreg.h"
-#include "iphlpapi.h"
-#include "dhcp.h"
-#include "ifenum.h"
-#include "ipstats.h"
-#include "resinfo.h"
-#include "route.h"
-#include "wine/debug.h"
-#include "dhcpcsdk.h"
-#include "dhcpcapi.h"
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -31,11 +31,21 @@
#include "resinfo.h"
#include "wine/debug.h"
+#include "dhcp.h"
+#include "dhcpcsdk.h"
+#include "dhcpcapi.h"
+#include <assert.h>
+
//#include "ntddndis.h"
#include "tdiinfo.h"
#include "tcpioctl.h"
#include "tdilib.h"
+
+#include "ifenum.h"
+
+#include "ipstats.h"
+#include "route.h"
#ifndef ETH_ALEN
#define ETH_ALEN 6
Modified: trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/ipstats…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -19,11 +19,7 @@
* tcpip.sys
*/
-#include <stdio.h>
-
#include "iphlpapi_private.h"
-#include "ipstats.h"
-#include "ifenum.h"
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
Modified: trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/resinfo…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -24,29 +24,6 @@
#include "config.h"
#include "iphlpapi_private.h"
-#include <stdarg.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
-#ifdef HAVE_ARPA_NAMESER_H
-# include <arpa/nameser.h>
-#endif
-#ifdef HAVE_RESOLV_H
-# include <resolv.h>
-#endif
-
-#include "windef.h"
-#include "winbase.h"
-#include "winreg.h"
-#include "resinfo.h"
-#include "iphlpapi.h"
-#include "wine/debug.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
typedef struct _NAME_SERVER_LIST_PRIVATE {
Modified: trunk/reactos/dll/win32/iphlpapi/route_reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/route_r…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/route_reactos.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/route_reactos.c [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -23,29 +23,6 @@
#include "config.h"
#include "iphlpapi_private.h"
-
-#include <stdarg.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
-#ifdef HAVE_ARPA_NAMESER_H
-# include <arpa/nameser.h>
-#endif
-#ifdef HAVE_RESOLV_H
-# include <resolv.h>
-#endif
-
-#include "windef.h"
-#include "winbase.h"
-#include "winreg.h"
-#include "resinfo.h"
-#include "iphlpapi.h"
-#include "wine/debug.h"
#define IP_FORWARD_ADD 3
#define IP_FORWARD_DEL 2
Modified: trunk/reactos/dll/win32/lpk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/win32/lpk/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lpk/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -18,4 +18,5 @@
add_importlib_target(lpk.spec)
add_importlibs(lpk user32 usp10 msvcrt kernel32 ntdll)
+add_pch(lpk ros_lpk.h)
add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/lpk/lpk.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/lpk.rbuild?r…
==============================================================================
--- trunk/reactos/dll/win32/lpk/lpk.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lpk/lpk.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -8,6 +8,6 @@
<file>dllmain.c</file>
<file>stub.c</file>
-
<file>lpk.rc</file>
+ <pch>ros_lpk.h</pch>
</module>
Modified: trunk/reactos/dll/win32/lsasrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -1,12 +1,12 @@
include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
${REACTOS_SOURCE_DIR}/include/reactos/idl
${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
set_unicode()
-
set_rc_compiler()
spec2def(lsasrv.dll lsasrv.spec)
@@ -25,12 +25,9 @@
add_library(lsasrv SHARED ${SOURCE})
set_entrypoint(lsasrv 0)
-
-target_link_libraries(lsasrv
- wine
- ${PSEH_LIB})
-
+target_link_libraries(lsasrv wine ${PSEH_LIB})
add_importlibs(lsasrv rpcrt4 msvcrt kernel32 ntdll)
+add_pch(lsasrv lsasrv.h)
add_dependencies(lsasrv psdk)
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
add_importlib_target(lsasrv.spec)
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.rb…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -14,4 +14,5 @@
<file>privileges.c</file>
<file>sids.c</file>
<file>lsasrv.rc</file>
+ <pch>lsasrv.h</pch>
</module>
Modified: trunk/reactos/dll/win32/mciavi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mciavi32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/mciavi32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mciavi32/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -13,8 +13,8 @@
${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def)
add_library(mciavi32 SHARED ${SOURCE})
-
set_module_type(mciavi32 win32dll)
target_link_libraries(mciavi32 wine)
add_importlibs(mciavi32 msvfw32 winmm user32 gdi32 msvcrt kernel32 ntdll)
+add_pch(mciavi32 private_mciavi.h)
add_cd_file(TARGET mciavi32 DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/mciavi32/mciavi32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mciavi32/mciavi3…
==============================================================================
--- trunk/reactos/dll/win32/mciavi32/mciavi32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mciavi32/mciavi32.rbuild [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -8,6 +8,7 @@
<file>mmoutput.c</file>
<file>wnd.c</file>
<file>mciavi_res.rc</file>
+ <pch>private_mciavi.h</pch>
<library>wine</library>
<library>msvfw32</library>
<library>winmm</library>
Modified: trunk/reactos/dll/win32/mscms/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mscms/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/mscms/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mscms/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -18,8 +18,8 @@
${CMAKE_CURRENT_BINARY_DIR}/mscms.def)
add_library(mscms SHARED ${SOURCE})
-
set_module_type(mscms win32dll)
target_link_libraries(mscms wine)
add_importlibs(mscms msvcrt advapi32 kernel32 ntdll)
+add_pch(mscms mscms_priv.h)
add_cd_file(TARGET mscms DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/mscms/mscms.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mscms/mscms.rbui…
==============================================================================
--- trunk/reactos/dll/win32/mscms/mscms.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mscms/mscms.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -10,6 +10,7 @@
<file>stub.c</file>
<file>transform.c</file>
<file>version.rc</file>
+ <pch>mscms_priv.h</pch>
<library>wine</library>
<library>advapi32</library>
<library>ntdll</library>
Modified: trunk/reactos/dll/win32/msgina/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/msgina/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -17,8 +17,8 @@
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
add_library(msgina SHARED ${SOURCE})
-
set_module_type(msgina win32dll)
target_link_libraries(msgina wine)
add_importlibs(msgina advapi32 user32 gdi32 userenv msvcrt kernel32 ntdll)
+add_pch(msgina msgina.h)
add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/msgina/gui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/gui.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msgina/gui.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/gui.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -6,8 +6,6 @@
*/
#include "msgina.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msgina/msgina.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.c?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -25,8 +25,6 @@
*/
#include "msgina.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msgina/msgina.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.h?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.h [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -1,8 +1,9 @@
-#pragma once
-
#include <windows.h>
#include <userenv.h>
#include <winwlx.h>
+
+#include <wine/debug.h>
+
#include "resource.h"
/* Values for GINA_CONTEXT.AutoLogonState */
Modified: trunk/reactos/dll/win32/msgina/msgina.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.rb…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -14,4 +14,5 @@
<file>stubs.c</file>
<file>tui.c</file>
<file>msgina.rc</file>
+ <pch>msgina.h</pch>
</module>
Modified: trunk/reactos/dll/win32/msgina/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/stubs.c?r…
==============================================================================
--- trunk/reactos/dll/win32/msgina/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/stubs.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -9,10 +9,8 @@
* UPDATE HISTORY:
* 24-11-2003 Created
*/
-#include <windows.h>
-#include <winwlx.h>
-#include <wine/debug.h>
+#include "msgina.h"
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msgina/tui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/tui.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msgina/tui.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/tui.c [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -6,8 +6,6 @@
*/
#include "msgina.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msi/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -68,7 +68,6 @@
endif()
add_library(msi SHARED ${SOURCE})
-add_pch(msi msipriv.h)
add_idl_Headers(msi_idlheader msiserver.idl)
add_typelib(msi_tlb msiserver.idl)
@@ -94,6 +93,7 @@
kernel32
ntdll)
+add_pch(msi msipriv.h)
add_cd_file(TARGET msi DESTINATION reactos/system32 FOR all)
endif(NOT MSVC)
Modified: trunk/reactos/dll/win32/mstask/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mstask/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/mstask/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mstask/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -27,11 +27,8 @@
${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
add_library(mstask SHARED ${SOURCE})
-
set_module_type(mstask win32dll)
-
target_link_libraries(mstask uuid wine)
-
add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
-
+add_pch(mstask mstask_private.h)
add_cd_file(TARGET mstask DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/mstask/mstask.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mstask/mstask.rb…
==============================================================================
--- trunk/reactos/dll/win32/mstask/mstask.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mstask/mstask.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -15,6 +15,7 @@
<file>task_scheduler.c</file>
<file>task_trigger.c</file>
<file>rsrc.rc</file>
+ <pch>mstask_private.h</pch>
<library>mstask_local_interface</library>
<library>wine</library>
<library>uuid</library>
Modified: trunk/reactos/dll/win32/newdev/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/newdev/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/newdev/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/newdev/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -12,12 +12,9 @@
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
add_library(newdev SHARED ${SOURCE})
-
set_module_type(newdev win32dll)
-
target_link_libraries(newdev wine)
-
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 msvcrt kernel32
ntdll)
-
+add_pch(newdev newdev_private.h)
add_cd_file(TARGET newdev DESTINATION reactos/system32 FOR all)
add_importlib_target(newdev.spec)
Modified: trunk/reactos/dll/win32/newdev/newdev.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/newdev/newdev.rb…
==============================================================================
--- trunk/reactos/dll/win32/newdev/newdev.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/newdev/newdev.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -5,6 +5,7 @@
<file>stubs.c</file>
<file>wizard.c</file>
<file>newdev.rc</file>
+ <pch>newdev_private.h</pch>
<library>wine</library>
<library>gdi32</library>
<library>comctl32</library>
Modified: trunk/reactos/dll/win32/objsel/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/objsel/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/objsel/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/objsel/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -29,4 +29,5 @@
kernel32
ntdll)
+add_pch(objsel objsel_private.h)
add_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/objsel/objsel.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/objsel/objsel.rb…
==============================================================================
--- trunk/reactos/dll/win32/objsel/objsel.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/objsel/objsel.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -18,5 +18,6 @@
<file>objsel.c</file>
<file>regsvr.c</file>
<file>objsel.rc</file>
+ <pch>objsel_private.h</pch>
</module>
</group>
Modified: trunk/reactos/dll/win32/qmgr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/qmgr/CMakeLists.…
==============================================================================
--- trunk/reactos/dll/win32/qmgr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/qmgr/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -28,5 +28,6 @@
set_module_type(qmgr win32dll)
target_link_libraries(qmgr uuid wine)
add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
+add_pch(qmgr qmgr.h)
add_cd_file(TARGET qmgr DESTINATION reactos/system32 FOR all)
add_dependencies(qmgr qmgr_idlheader)
Modified: trunk/reactos/dll/win32/qmgr/qmgr.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/qmgr/qmgr.rbuild…
==============================================================================
--- trunk/reactos/dll/win32/qmgr/qmgr.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/qmgr/qmgr.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -24,6 +24,7 @@
<file>qmgr_main.c</file>
<file>service.c</file>
<file>rsrc.rc</file>
+ <pch>qmgr.h</pch>
</module>
<module name="qmgr_local_header" type="idlheader">
<file>qmgr_local.idl</file>
Modified: trunk/reactos/dll/win32/rasadhlp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasadhlp/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/rasadhlp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rasadhlp/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -11,9 +11,7 @@
${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
add_library(rasadhlp SHARED ${SOURCE})
-
set_module_type(rasadhlp win32dll)
-
add_importlibs(rasadhlp ws2_32 msvcrt kernel32 ntdll)
-
+add_pch(rasadhlp precomp.h)
add_cd_file(TARGET rasadhlp DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/rasadhlp/rasadhlp.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rasadhlp/rasadhl…
==============================================================================
--- trunk/reactos/dll/win32/rasadhlp/rasadhlp.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rasadhlp/rasadhlp.rbuild [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -9,4 +9,5 @@
<file>autodial.c</file>
<file>init.c</file>
<file>winsock.c</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/dll/win32/riched20/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/riched20/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/riched20/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/riched20/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -48,5 +48,6 @@
kernel32
ntdll)
+add_pch(riched20 editor.h)
add_importlib_target(riched20.spec)
add_cd_file(TARGET riched20 DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/riched20/riched20.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/riched20/riched2…
==============================================================================
--- trunk/reactos/dll/win32/riched20/riched20.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/riched20/riched20.rbuild [iso-8859-1] Thu Aug 11 15:16:48
2011
@@ -28,6 +28,7 @@
<file>wrap.c</file>
<file>writer.c</file>
<file>version.rc</file>
+ <pch>editor.h</pch>
<library>wine</library>
<library>uuid</library>
<library>ole32</library>
Modified: trunk/reactos/dll/win32/rsaenh/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rsaenh/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/rsaenh/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rsaenh/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -24,5 +24,6 @@
set_module_type(rsaenh win32dll)
target_link_libraries(rsaenh wine)
add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
+add_pch(rsaenh tomcrypt.h)
add_importlib_target(rsaenh.spec)
add_cd_file(TARGET rsaenh DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/rsaenh/rsaenh.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rsaenh/rsaenh.rb…
==============================================================================
--- trunk/reactos/dll/win32/rsaenh/rsaenh.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rsaenh/rsaenh.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -19,6 +19,7 @@
<file>rsaenh.c</file>
<file>sha2.c</file>
<file>version.rc</file>
+ <pch>tomcrypt.h</pch>
<library>wine</library>
<library>crypt32</library>
<library>advapi32</library>
Modified: trunk/reactos/dll/win32/shdocvw/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shdocvw/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/shdocvw/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shdocvw/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -54,5 +54,6 @@
ntdll)
add_dependencies(shdocvw shdocvw_v1)
+add_pch(shdocvw shdocvw.h)
add_cd_file(TARGET shdocvw DESTINATION reactos/system32 FOR all)
add_importlib_target(shdocvw.spec)
Modified: trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shdocvw/shdocvw.…
==============================================================================
--- trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shdocvw/shdocvw.rbuild [iso-8859-1] Thu Aug 11 15:16:48 2011
@@ -41,6 +41,7 @@
<file>view.c</file>
<file>webbrowser.c</file>
<file>shdocvw.rc</file>
+ <pch>shdocvw.h</pch>
</module>
<module name="shdocvw_v1" type="embeddedtypelib"
allowwarnings="true">
<dependency>stdole2</dependency>