[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 6 Oct 2010 18:57:42 +0000 (18:57 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 6 Oct 2010 18:57:42 +0000 (18:57 +0000)
- Rename netevent.mc to neteventmsg.mc
- Add some missing win32 dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49023

52 files changed:
dll/win32/CMakeLists.txt
dll/win32/mscat32/CMakeLists.txt [new file with mode: 0644]
dll/win32/msftedit/CMakeLists.txt [new file with mode: 0644]
dll/win32/msimtf/CMakeLists.txt [new file with mode: 0644]
dll/win32/msisip/CMakeLists.txt [new file with mode: 0644]
dll/win32/msisys.ocx/CMakeLists.txt [new file with mode: 0644]
dll/win32/msrle32/CMakeLists.txt [new file with mode: 0644]
dll/win32/mstask/CMakeLists.txt [new file with mode: 0644]
dll/win32/msxml3/CMakeLists.txt [new file with mode: 0644]
dll/win32/netcfgx/CMakeLists.txt [new file with mode: 0644]
dll/win32/netevent/CMakeLists.txt [new file with mode: 0644]
dll/win32/netevent/netevt.rc
dll/win32/netid/CMakeLists.txt [new file with mode: 0644]
dll/win32/netshell/CMakeLists.txt [new file with mode: 0644]
dll/win32/ntmarta/CMakeLists.txt [new file with mode: 0644]
dll/win32/objsel/CMakeLists.txt [new file with mode: 0644]
dll/win32/odbc32/CMakeLists.txt [new file with mode: 0644]
dll/win32/odbccp32/CMakeLists.txt [new file with mode: 0644]
dll/win32/oleacc/CMakeLists.txt [new file with mode: 0644]
dll/win32/olepro32/CMakeLists.txt [new file with mode: 0644]
dll/win32/opengl32/CMakeLists.txt [new file with mode: 0644]
dll/win32/pdh/CMakeLists.txt [new file with mode: 0644]
dll/win32/psapi/CMakeLists.txt [new file with mode: 0644]
dll/win32/rasadhlp/CMakeLists.txt [new file with mode: 0644]
dll/win32/riched20/CMakeLists.txt [new file with mode: 0644]
dll/win32/riched32/CMakeLists.txt [new file with mode: 0644]
dll/win32/rsabase/CMakeLists.txt [new file with mode: 0644]
dll/win32/rsaenh/CMakeLists.txt [new file with mode: 0644]
dll/win32/secur32/CMakeLists.txt [new file with mode: 0644]
dll/win32/security/CMakeLists.txt [new file with mode: 0644]
dll/win32/setupapi/CMakeLists.txt [new file with mode: 0644]
dll/win32/sfc/CMakeLists.txt [new file with mode: 0644]
dll/win32/sfc_os/CMakeLists.txt [new file with mode: 0644]
dll/win32/shimgvw/CMakeLists.txt [new file with mode: 0644]
dll/win32/softpub/CMakeLists.txt [new file with mode: 0644]
dll/win32/sti/CMakeLists.txt [new file with mode: 0644]
dll/win32/syssetup/CMakeLists.txt [new file with mode: 0644]
dll/win32/twain_32/CMakeLists.txt [new file with mode: 0644]
dll/win32/uext2/CMakeLists.txt [new file with mode: 0644]
dll/win32/ufat/CMakeLists.txt [new file with mode: 0644]
dll/win32/ufatx/CMakeLists.txt [new file with mode: 0644]
dll/win32/untfs/CMakeLists.txt [new file with mode: 0644]
dll/win32/urlmon/CMakeLists.txt [new file with mode: 0644]
importlibs/libgdiplus.a [new file with mode: 0644]
importlibs/libimm32.a [new file with mode: 0644]
importlibs/libnetapi32.a [new file with mode: 0644]
importlibs/libriched20.a [new file with mode: 0644]
importlibs/librsaenh.a [new file with mode: 0644]
importlibs/libsamlib.a [new file with mode: 0644]
importlibs/libuserenv.a [new file with mode: 0644]
importlibs/libwintrust.a [new file with mode: 0644]
include/reactos/mc/neteventmsg.mc [moved from include/reactos/mc/netevent.mc with 100% similarity]

index ff0ba52..8c363d6 100644 (file)
@@ -81,11 +81,11 @@ add_subdirectory(mprapi)
 #add_subdirectory(msacm32)
 add_subdirectory(msadp32.acm)
 add_subdirectory(msafd)
-#add_subdirectory(mscat32)
+add_subdirectory(mscat32)
 add_subdirectory(mscms)
 add_subdirectory(mscoree)
 #add_subdirectory(msctf)
-#add_subdirectory(msftedit)
+add_subdirectory(msftedit)
 add_subdirectory(msg711.acm)
 add_subdirectory(msgina)
 add_subdirectory(msgsm32.acm)
@@ -93,11 +93,11 @@ add_subdirectory(msgsm32.acm)
 #add_subdirectory(mshtml.tlb)
 #add_subdirectory(msi)
 add_subdirectory(msimg32)
-#add_subdirectory(msimtf)
-#add_subdirectory(msisip)
-#add_subdirectory(msisys.ocx)
+add_subdirectory(msimtf)
+add_subdirectory(msisip)
+add_subdirectory(msisys.ocx)
 add_subdirectory(msnet32)
-#add_subdirectory(msrle32)
+add_subdirectory(msrle32)
 add_subdirectory(mssign32)
 add_subdirectory(mssip32)
 #add_subdirectory(mstask)
@@ -110,84 +110,84 @@ add_subdirectory(mswsock)
 #add_subdirectory(msxml3)
 add_subdirectory(nddeapi)
 add_subdirectory(netapi32)
-#add_subdirectory(netcfgx)
-#add_subdirectory(netevent)
-#add_subdirectory(netid)
-#add_subdirectory(netshell)
+add_subdirectory(netcfgx)
+add_subdirectory(netevent)
+add_subdirectory(netid)
+add_subdirectory(netshell)
 add_subdirectory(newdev)
 add_subdirectory(ntdsapi)
 add_subdirectory(ntlanman)
-#add_subdirectory(ntmarta)
+add_subdirectory(ntmarta)
 add_subdirectory(ntprint)
-#add_subdirectory(objsel)
-#add_subdirectory(odbc32)
-#add_subdirectory(odbccp32)
+add_subdirectory(objsel)
+add_subdirectory(odbc32)
+add_subdirectory(odbccp32)
 #add_subdirectory(ole32)
-#add_subdirectory(oleacc)
+add_subdirectory(oleacc)
 #add_subdirectory(oleaut32)
 add_subdirectory(olecli32)
 add_subdirectory(oledlg)
-#add_subdirectory(olepro32)
+add_subdirectory(olepro32)
 add_subdirectory(olesvr32)
 add_subdirectory(olethk32)
-#add_subdirectory(opengl32)
-#add_subdirectory(pdh)
+add_subdirectory(opengl32)
+add_subdirectory(pdh)
 add_subdirectory(pidgen)
 add_subdirectory(powrprof)
 add_subdirectory(printui)
-#add_subdirectory(psapi)
+add_subdirectory(psapi)
 #add_subdirectory(pstorec)
 #add_subdirectory(qmgr)
 #add_subdirectory(qmgrprxy)
 add_subdirectory(query)
-#add_subdirectory(rasadhlp)
+add_subdirectory(rasadhlp)
 add_subdirectory(rasapi32)
 add_subdirectory(rasdlg)
 add_subdirectory(rasman)
 add_subdirectory(resutils)
-#add_subdirectory(riched20)
-#add_subdirectory(riched32)
+add_subdirectory(riched20)
+add_subdirectory(riched32)
 #add_subdirectory(rpcrt4)
-#add_subdirectory(rsabase)
-#add_subdirectory(rsaenh)
+add_subdirectory(rsabase)
+add_subdirectory(rsaenh)
 add_subdirectory(samlib)
 add_subdirectory(samsrv)
 add_subdirectory(sccbase)
 add_subdirectory(schannel)
-#add_subdirectory(secur32)
-#add_subdirectory(security)
+add_subdirectory(secur32)
+add_subdirectory(security)
 add_subdirectory(sensapi)
 add_subdirectory(serialui)
-#add_subdirectory(setupapi)
-#add_subdirectory(sfc)
-#add_subdirectory(sfc_os)
+add_subdirectory(setupapi)
+add_subdirectory(sfc)
+add_subdirectory(sfc_os)
 add_subdirectory(shdoclc)
 #add_subdirectory(shdocvw)
 #add_subdirectory(shell32)
 add_subdirectory(shfolder)
-#add_subdirectory(shimgvw)
+add_subdirectory(shimgvw)
 add_subdirectory(shlwapi)
 add_subdirectory(slbcsp)
 add_subdirectory(smdll)
 add_subdirectory(sndblst)
 add_subdirectory(snmpapi)
-#add_subdirectory(softpub)
+add_subdirectory(softpub)
 add_subdirectory(spoolss)
 add_subdirectory(srclient)
 #add_subdirectory(stdole2.tlb)
 #add_subdirectory(stdole32.tlb)
 #add_subdirectory(sti)
 add_subdirectory(sxs)
-#add_subdirectory(syssetup)
+add_subdirectory(syssetup)
 add_subdirectory(t2embed)
 add_subdirectory(tapi32)
 add_subdirectory(tapiui)
 add_subdirectory(traffic)
-#add_subdirectory(twain_32)
-#add_subdirectory(uext2)
-#add_subdirectory(ufat)
-#add_subdirectory(ufatx)
-#add_subdirectory(untfs)
+add_subdirectory(twain_32)
+add_subdirectory(uext2)
+add_subdirectory(ufat)
+add_subdirectory(ufatx)
+add_subdirectory(untfs)
 add_subdirectory(updspapi)
 add_subdirectory(url)
 #add_subdirectory(urlmon)
diff --git a/dll/win32/mscat32/CMakeLists.txt b/dll/win32/mscat32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b757812
--- /dev/null
@@ -0,0 +1,21 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(mscat32 ${CMAKE_CURRENT_SOURCE_DIR}/mscat32.spec ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
+
+add_library(mscat32 SHARED main.c)
+
+set_module_type(mscat32 win32dll)
+
+target_link_libraries(mscat32
+    ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def
+    wine)
+
+add_importlibs(mscat32
+    wintrust
+    kernel32
+    ntdll)
+
+add_dependencies(mscat32 mscat32_def)
diff --git a/dll/win32/msftedit/CMakeLists.txt b/dll/win32/msftedit/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9cb7cd9
--- /dev/null
@@ -0,0 +1,24 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msftedit ${CMAKE_CURRENT_SOURCE_DIR}/msftedit.spec ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
+
+add_library(msftedit SHARED
+    msftedit_main.c
+    version.rc)
+
+set_module_type(msftedit win32dll)
+
+target_link_libraries(msftedit
+    ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def
+    uuid
+    wine)
+
+add_importlibs(msftedit
+    riched20
+    kernel32
+    ntdll)
+
+add_dependencies(msftedit msftedit_def)
diff --git a/dll/win32/msimtf/CMakeLists.txt b/dll/win32/msimtf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9da56ea
--- /dev/null
@@ -0,0 +1,26 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msimtf ${CMAKE_CURRENT_SOURCE_DIR}/msimtf.spec ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
+
+add_library(msimtf SHARED
+    activeimmapp.c
+    main.c
+    rsrc.rc)
+
+set_module_type(msimtf win32dll)
+
+target_link_libraries(msimtf
+    ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def
+    uuid
+    wine)
+
+add_importlibs(msimtf
+    msvcrt
+    imm32
+    kernel32
+    ntdll)
+
+add_dependencies(msimtf msimtf_def)
diff --git a/dll/win32/msisip/CMakeLists.txt b/dll/win32/msisip/CMakeLists.txt
new file mode 100644 (file)
index 0000000..98da347
--- /dev/null
@@ -0,0 +1,22 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msisip ${CMAKE_CURRENT_SOURCE_DIR}/msisip.spec ${CMAKE_CURRENT_BINARY_DIR}/msisip.def)
+
+add_library(msisip SHARED main.c)
+
+set_module_type(msisip win32dll)
+
+target_link_libraries(msisip
+    ${CMAKE_CURRENT_BINARY_DIR}/msisip.def
+    wine)
+
+add_importlibs(msisip
+    crypt32
+    ole32
+    kernel32
+    ntdll)
+
+add_dependencies(msisip msisip_def)
diff --git a/dll/win32/msisys.ocx/CMakeLists.txt b/dll/win32/msisys.ocx/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ac83736
--- /dev/null
@@ -0,0 +1,19 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msisys ${CMAKE_CURRENT_SOURCE_DIR}/msisys.ocx.spec ${CMAKE_CURRENT_BINARY_DIR}/msisys.def)
+
+add_library(msisys SHARED msisys.c)
+
+set_module_type(msisys win32ocx)
+
+target_link_libraries(msisys
+    ${CMAKE_CURRENT_BINARY_DIR}/msisys.def
+    uuid
+    wine)
+
+add_importlibs(msisys kernel32 ntdll)
+
+add_dependencies(msisys msisys_def)
diff --git a/dll/win32/msrle32/CMakeLists.txt b/dll/win32/msrle32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f0455b9
--- /dev/null
@@ -0,0 +1,24 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msrle32 ${CMAKE_CURRENT_SOURCE_DIR}/msrle32.spec ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
+
+add_library(msrle32 SHARED msrle32.c rsrc.rc)
+
+set_module_type(msrle32 win32dll)
+
+target_link_libraries(msrle32
+    ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def
+    wine)
+
+add_importlibs(msrle32
+    msvcrt
+    winmm
+    user32
+    kernel32
+    ntdll)
+
+add_dependencies(msrle32 msrle32_def)
diff --git a/dll/win32/mstask/CMakeLists.txt b/dll/win32/mstask/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7d214bb
--- /dev/null
@@ -0,0 +1,32 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-DWINVER=0x502)
+add_definitions(-DWINVER=0x600)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(mstask ${CMAKE_CURRENT_SOURCE_DIR}/mstask.spec ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
+
+add_library(mstask SHARED
+    factory.c
+    mstask_main.c
+    task.c
+    task_scheduler.c
+    task_trigger.c
+    rsrc.rc)
+
+set_module_type(mstask win32dll)
+
+target_link_libraries(mstask
+    ${CMAKE_CURRENT_BINARY_DIR}/mstask.def
+    mstask_local_interface
+    uuid
+    wine)
+
+add_importlibs(mstask
+    ole32
+    ntdll)
+
+add_dependencies(mstask mstask_def)
diff --git a/dll/win32/msxml3/CMakeLists.txt b/dll/win32/msxml3/CMakeLists.txt
new file mode 100644 (file)
index 0000000..967c32b
--- /dev/null
@@ -0,0 +1,35 @@
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(netcfgx ${CMAKE_CURRENT_SOURCE_DIR}/netcfgx.spec ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
+
+add_library(netcfgx SHARED
+    netcfgx.c
+    classfactory.c
+    netcfg_iface.c
+    inetcfgcomp_iface.c
+    tcpipconf_notify.c
+    netcfgx.rc)
+
+set_module_type(netcfgx win32dll)
+
+target_link_libraries(netcfgx
+    ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def
+    uuid
+    wine)
+
+add_importlibs(netcfgx
+    rpcrt4
+    setupapi
+    advapi32
+    iphlpapi
+    ole32
+    user32
+    comctl32
+    ws2_32
+    ntdll)
+
+add_dependencies(netcfgx netcfgx_def)
diff --git a/dll/win32/netcfgx/CMakeLists.txt b/dll/win32/netcfgx/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4cbac84
--- /dev/null
@@ -0,0 +1,34 @@
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+spec2def(netcfgx ${CMAKE_CURRENT_SOURCE_DIR}/netcfgx.spec ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
+
+add_library(netcfgx SHARED
+    netcfgx.c
+    classfactory.c
+    netcfg_iface.c
+    inetcfgcomp_iface.c
+    tcpipconf_notify.c
+    netcfgx.rc)
+
+set_module_type(netcfgx win32dll)
+
+target_link_libraries(netcfgx
+    ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def
+    uuid
+    wine)
+
+add_importlibs(netcfgx
+    rpcrt4
+    setupapi
+    advapi32
+    iphlpapi
+    ole32
+    user32
+    comctl32
+    ws2_32
+    kernel32
+    ntdll)
+
+add_dependencies(netcfgx netcfgx_def)
diff --git a/dll/win32/netevent/CMakeLists.txt b/dll/win32/netevent/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5610498
--- /dev/null
@@ -0,0 +1,17 @@
+
+set_unicode()
+
+include_directories(${REACTOS_BINARY_DIR}/include/reactos)
+
+spec2def(netevent ${CMAKE_CURRENT_SOURCE_DIR}/netevent.spec ${CMAKE_CURRENT_BINARY_DIR}/netevent.def)
+
+add_library(netevent SHARED netevent.c netevt.rc)
+
+set_module_type(netevent win32dll)
+
+target_link_libraries(netevent
+    ${CMAKE_CURRENT_BINARY_DIR}/netevent.def)
+
+add_importlibs(netevent kernel32)
+
+add_dependencies(netevent netevent_def neteventmsg)
index 7897422..6ab7880 100644 (file)
@@ -6,4 +6,4 @@
 #define REACTOS_STR_ORIGINAL_FILENAME  "netevent.dll\0"
 #include <reactos/version.rc>
 
-#include "netevent.rc"
+#include "neteventmsg.rc"
diff --git a/dll/win32/netid/CMakeLists.txt b/dll/win32/netid/CMakeLists.txt
new file mode 100644 (file)
index 0000000..062e660
--- /dev/null
@@ -0,0 +1,20 @@
+
+spec2def(netid ${CMAKE_CURRENT_SOURCE_DIR}/netid.spec ${CMAKE_CURRENT_BINARY_DIR}/netid.def)
+
+add_library(netid SHARED netid.c netid.rc)
+
+set_module_type(netid win32dll)
+
+target_link_libraries(netid
+    ${CMAKE_CURRENT_BINARY_DIR}/netid.def)
+
+add_importlibs(netid
+    user32
+    gdi32
+    comctl32
+    advapi32
+    netapi32
+    kernel32
+    ntdll)
+
+add_dependencies(netid netid_def)
diff --git a/dll/win32/netshell/CMakeLists.txt b/dll/win32/netshell/CMakeLists.txt
new file mode 100644 (file)
index 0000000..65ebe5e
--- /dev/null
@@ -0,0 +1,44 @@
+
+add_definitions(-D_NETSHELL_)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+spec2def(netshell ${CMAKE_CURRENT_SOURCE_DIR}/netshell.spec ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
+
+list(APPEND SOURCE
+    netshell.c
+    shfldr_netconnect.c
+    enumlist.c
+    netshell.rc
+    classfactory.c
+    connectmanager.c
+    lanconnectui.c
+    lanstatusui.c)
+
+add_library(netshell SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/netshell_precomp.h.gch
+    ${SOURCE})
+
+set_module_type(netshell win32dll)
+
+target_link_libraries(netshell
+    ${CMAKE_CURRENT_BINARY_DIR}/netshell.def
+    uuid
+    wine)
+
+add_importlibs(netshell
+    msvcrt
+    shlwapi
+    shell32
+    version
+    iphlpapi
+    ole32
+    user32
+    advapi32
+    setupapi
+    ws2_32
+    comctl32
+    kernel32)
+
+add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(netshell netshell_def)
diff --git a/dll/win32/ntmarta/CMakeLists.txt b/dll/win32/ntmarta/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7647060
--- /dev/null
@@ -0,0 +1,23 @@
+
+set_unicode()
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+spec2def(ntmarta ${CMAKE_CURRENT_SOURCE_DIR}/ntmarta.spec ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
+
+add_library(ntmarta SHARED ntmarta.c ntmarta.rc)
+
+set_module_type(ntmarta win32dll)
+
+target_link_libraries(ntmarta
+    ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
+
+add_importlibs(ntmarta
+    user32
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(ntmarta ntmarta_def)
diff --git a/dll/win32/objsel/CMakeLists.txt b/dll/win32/objsel/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bff7f75
--- /dev/null
@@ -0,0 +1,30 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(objsel ${CMAKE_CURRENT_SOURCE_DIR}/objsel.spec ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
+
+add_library(objsel SHARED
+    factory.c
+    objsel.c
+    regsvr.c
+    objsel.rc)
+
+set_module_type(objsel win32dll)
+
+target_link_libraries(objsel
+    ${CMAKE_CURRENT_BINARY_DIR}/objsel.def
+    uuid
+    wine)
+
+add_importlibs(objsel
+    ole32
+    user32
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(objsel objsel_def)
diff --git a/dll/win32/odbc32/CMakeLists.txt b/dll/win32/odbc32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..601fd06
--- /dev/null
@@ -0,0 +1,23 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(odbc32 ${CMAKE_CURRENT_SOURCE_DIR}/odbc32.spec ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
+
+add_library(odbc32 SHARED proxyodbc.c)
+
+set_module_type(odbc32 win32dll)
+
+target_link_libraries(odbc32
+    ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def
+    wine)
+
+add_importlibs(odbc32
+    msvcrt
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(odbc32 odbc32_def)
diff --git a/dll/win32/odbccp32/CMakeLists.txt b/dll/win32/odbccp32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ed7f754
--- /dev/null
@@ -0,0 +1,24 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(odbccp32 ${CMAKE_CURRENT_SOURCE_DIR}/odbccp32.spec ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
+
+add_library(odbccp32 SHARED odbccp32.c)
+
+set_entrypoint(odbccp32 0)
+
+target_link_libraries(odbccp32
+    ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def
+    uuid
+    wine)
+
+add_importlibs(odbccp32
+    msvcrt
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(odbccp32 odbccp32_def)
diff --git a/dll/win32/oleacc/CMakeLists.txt b/dll/win32/oleacc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d1f275d
--- /dev/null
@@ -0,0 +1,21 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(oleacc ${CMAKE_CURRENT_SOURCE_DIR}/oleacc.spec ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
+
+add_library(oleacc SHARED main.c oleacc.rc)
+
+set_entrypoint(oleacc 0)
+
+target_link_libraries(oleacc
+    ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def
+    wine)
+
+add_importlibs(oleacc
+    user32
+    kernel32
+    ntdll)
+
+add_dependencies(oleacc oleacc_def)
diff --git a/dll/win32/olepro32/CMakeLists.txt b/dll/win32/olepro32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f592940
--- /dev/null
@@ -0,0 +1,21 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(olepro32 ${CMAKE_CURRENT_SOURCE_DIR}/olepro32.spec ${CMAKE_CURRENT_BINARY_DIR}/olepro32.def)
+
+add_library(olepro32 SHARED olepro32stubs.c version.rc)
+
+set_entrypoint(olepro32 0)
+
+target_link_libraries(olepro32
+    ${CMAKE_CURRENT_BINARY_DIR}/olepro32.def
+    wine)
+
+add_importlibs(olepro32
+    oleaut32
+    kernel32
+    ntdll)
+
+add_dependencies(olepro32 olepro32_def)
diff --git a/dll/win32/opengl32/CMakeLists.txt b/dll/win32/opengl32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9dfb7bc
--- /dev/null
@@ -0,0 +1,33 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(opengl32 ${CMAKE_CURRENT_SOURCE_DIR}/opengl32.spec ${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
+
+list(APPEND SOURCE
+    font.c
+    gl.c
+    opengl32.c
+    wgl.c)
+
+add_library(opengl32 SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/opengl32_opengl32.h.gch
+    ${SOURCE})
+
+set_module_type(opengl32 win32dll)
+
+target_link_libraries(opengl32
+    ${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
+
+add_importlibs(opengl32
+    msvcrt
+    gdi32
+    user32
+    advapi32
+    glu32
+    kernel32
+    ntdll)
+
+add_pch(opengl32 ${CMAKE_CURRENT_SOURCE_DIR}/opengl32.h ${SOURCE})
+add_dependencies(opengl32 opengl32_def)
diff --git a/dll/win32/pdh/CMakeLists.txt b/dll/win32/pdh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..31cadb0
--- /dev/null
@@ -0,0 +1,19 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(pdh ${CMAKE_CURRENT_SOURCE_DIR}/pdh.spec ${CMAKE_CURRENT_BINARY_DIR}/pdh.def)
+
+add_library(pdh SHARED pdh_main.c)
+
+set_entrypoint(pdh 0)
+
+target_link_libraries(pdh
+    ${CMAKE_CURRENT_BINARY_DIR}/pdh.def
+    wine)
+
+add_importlibs(pdh kernel32 ntdll)
+add_dependencies(pdh pdh_def)
diff --git a/dll/win32/psapi/CMakeLists.txt b/dll/win32/psapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bb1bdda
--- /dev/null
@@ -0,0 +1,22 @@
+
+spec2def(psapi ${CMAKE_CURRENT_SOURCE_DIR}/psapi.spec ${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
+
+list(APPEND SOURCE
+    malloc.c
+    psapi.c
+    psapi.rc)
+
+add_library(psapi SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
+    ${SOURCE})
+
+set_module_type(psapi win32dll)
+
+target_link_libraries(psapi
+    ${CMAKE_CURRENT_BINARY_DIR}/psapi.def
+    epsapi
+    pseh)
+
+add_importlibs(psapi kernel32 ntdll)
+add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(psapi psapi_def)
diff --git a/dll/win32/rasadhlp/CMakeLists.txt b/dll/win32/rasadhlp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..519f203
--- /dev/null
@@ -0,0 +1,21 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
+
+spec2def(rasadhlp ${CMAKE_CURRENT_SOURCE_DIR}/rasadhlp.spec ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
+
+add_library(rasadhlp SHARED
+    autodial.c
+    init.c
+    winsock.c)
+
+set_module_type(rasadhlp win32dll)
+
+target_link_libraries(rasadhlp
+    ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
+
+add_importlibs(rasadhlp
+    ws2_32
+    kernel32
+    ntdll)
+
+add_dependencies(rasadhlp rasadhlp_def)
diff --git a/dll/win32/riched20/CMakeLists.txt b/dll/win32/riched20/CMakeLists.txt
new file mode 100644 (file)
index 0000000..94c1a91
--- /dev/null
@@ -0,0 +1,52 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(riched20 ${CMAKE_CURRENT_SOURCE_DIR}/riched20.spec ${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
+
+add_library(riched20 SHARED
+    caret.c
+    clipboard.c
+    context.c
+    editor.c
+    list.c
+    paint.c
+    para.c
+    reader.c
+    richole.c
+    row.c
+    run.c
+    string.c
+    style.c
+    table.c
+    txthost.c
+    txtsrv.c
+    undo.c
+    wrap.c
+    writer.c
+    version.rc)
+
+set_module_type(riched20 win32dll)
+
+target_link_libraries(riched20
+    ${CMAKE_CURRENT_BINARY_DIR}/riched20.def
+    wine
+    uuid)
+
+if(MSVC)
+    set_target_properties(portcls PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
+endif(MSVC)
+
+add_importlibs(riched20
+    msvcrt
+    ole32
+    oleaut32
+    imm32
+    user32
+    gdi32
+    kernel32
+    ntdll)
+
+add_dependencies(riched20 riched20_def)
diff --git a/dll/win32/riched32/CMakeLists.txt b/dll/win32/riched32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5754872
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(riched32 ${CMAKE_CURRENT_SOURCE_DIR}/riched32.spec ${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
+
+add_library(riched32 SHARED richedit.c version.rc)
+
+set_module_type(riched32 win32dll)
+
+target_link_libraries(riched32
+    ${CMAKE_CURRENT_BINARY_DIR}/riched32.def
+    wine)
+
+add_importlibs(riched32 riched20 user32 kernel32 ntdll)
+add_dependencies(riched32 riched32_def)
diff --git a/dll/win32/rsabase/CMakeLists.txt b/dll/win32/rsabase/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bbfb63a
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(rsabase ${CMAKE_CURRENT_SOURCE_DIR}/rsabase.spec ${CMAKE_CURRENT_BINARY_DIR}/rsabase.def)
+
+add_library(rsabase SHARED version.rc)
+
+set_entrypoint(rsabase 0)
+
+target_link_libraries(rsabase
+    ${CMAKE_CURRENT_BINARY_DIR}/rsabase.def
+    wine)
+
+add_importlibs(rsabase rsaenh ntdll)
+add_dependencies(rsabase rsabase_def)
diff --git a/dll/win32/rsaenh/CMakeLists.txt b/dll/win32/rsaenh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8d6cab7
--- /dev/null
@@ -0,0 +1,31 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(rsaenh ${CMAKE_CURRENT_SOURCE_DIR}/rsaenh.spec ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)
+
+add_library(rsaenh SHARED
+    aes.c
+    des.c
+    handle.c
+    implglue.c
+    md2.c
+    mpi.c
+    rc2.c
+    rc4.c
+    rsa.c
+    rsaenh.c
+    sha2.c
+    version.rc)
+
+set_module_type(rsaenh win32dll)
+
+target_link_libraries(rsaenh
+    ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def
+    wine)
+
+add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
+
+add_dependencies(rsaenh rsaenh_def)
diff --git a/dll/win32/secur32/CMakeLists.txt b/dll/win32/secur32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ebe6393
--- /dev/null
@@ -0,0 +1,26 @@
+
+add_definitions(-D__SECUR32__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
+
+spec2def(secur32 ${CMAKE_CURRENT_SOURCE_DIR}/secur32.spec ${CMAKE_CURRENT_BINARY_DIR}/secur32.def)
+
+list(APPEND SOURCE
+    dllmain.c
+    secext.c
+    sspi.c
+    secur32.rc)
+
+add_library(secur32 SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/secur32_precomp.h.gch
+    ${SOURCE})
+
+set_module_type(secur32 win32dll)
+
+target_link_libraries(secur32
+    ${CMAKE_CURRENT_BINARY_DIR}/secur32.def
+    lsalib)
+
+add_importlibs(secur32 advapi32 kernel32 ntdll)
+add_pch(secur32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(secur32 secur32_def)
diff --git a/dll/win32/security/CMakeLists.txt b/dll/win32/security/CMakeLists.txt
new file mode 100644 (file)
index 0000000..25e5c8a
--- /dev/null
@@ -0,0 +1,15 @@
+
+set_unicode()
+
+add_definitions(-D__SECURITY__)
+
+spec2def(security ${CMAKE_CURRENT_SOURCE_DIR}/security.spec ${CMAKE_CURRENT_BINARY_DIR}/security.def)
+
+add_library(security SHARED security.rc)
+
+set_entrypoint(security 0)
+
+target_link_libraries(security ${CMAKE_CURRENT_BINARY_DIR}/security.def)
+
+add_importlibs(security advapi32 ntdll)
+add_dependencies(security security_def)
diff --git a/dll/win32/setupapi/CMakeLists.txt b/dll/win32/setupapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..52054e2
--- /dev/null
@@ -0,0 +1,57 @@
+
+set_unicode()
+
+add_definitions(
+    -D_DLL
+    -D__USE_CRTIMP
+    -D_SETUPAPI_
+    -D_CFGMGR32_
+    -Dwcsnicmp=_wcsnicmp)
+
+include_directories(
+    ${REACTOS_SOURCE_DIR}/include/reactos/wine
+    ${REACTOS_BINARY_DIR}/include/reactos/idl)
+
+spec2def(setupapi ${CMAKE_CURRENT_SOURCE_DIR}/setupapi.spec ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
+
+add_library(setupapi SHARED
+    cfgmgr.c
+    devclass.c
+    devinst.c
+    dirid.c
+    diskspace.c
+    driver.c
+    install.c
+    interface.c
+    misc.c
+    parser.c
+    query.c
+    queue.c
+    setupcab.c
+    stringtable.c
+    stubs.c
+    rpc.c
+    setupapi.rc)
+
+set_module_type(setupapi win32dll)
+
+target_link_libraries(setupapi
+    ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def
+    pnp_client
+    uuid
+    wine
+    pseh)
+
+add_importlibs(setupapi
+    msvcrt
+    gdi32
+    comctl32
+    advapi32
+    user32
+    rpcrt4
+    version
+    shell32
+    kernel32
+    ntdll)
+
+add_dependencies(setupapi setupapi_def)
diff --git a/dll/win32/sfc/CMakeLists.txt b/dll/win32/sfc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4022baa
--- /dev/null
@@ -0,0 +1,16 @@
+
+spec2def(sfc ${CMAKE_CURRENT_SOURCE_DIR}/sfc.spec ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
+
+list(APPEND SOURCE sfc.c)
+
+add_library(sfc SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/sfc_precomp.h.gch
+    ${SOURCE})
+
+set_module_type(sfc win32dll)
+
+target_link_libraries(sfc ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
+
+add_importlibs(sfc kernel32)
+add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(sfc sfc_def)
diff --git a/dll/win32/sfc_os/CMakeLists.txt b/dll/win32/sfc_os/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2c23c65
--- /dev/null
@@ -0,0 +1,16 @@
+
+spec2def(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/sfc_os.spec ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
+
+list(APPEND SOURCE sfc_os.c)
+
+add_library(sfc_os SHARED
+    ${CMAKE_CURRENT_BINARY_DIR}/sfc_os_precomp.h.gch
+    ${SOURCE})
+
+set_module_type(sfc_os win32dll)
+
+target_link_libraries(sfc_os ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
+
+add_importlibs(sfc_os kernel32 ntdll)
+add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(sfc_os sfc_os_def)
diff --git a/dll/win32/shimgvw/CMakeLists.txt b/dll/win32/shimgvw/CMakeLists.txt
new file mode 100644 (file)
index 0000000..39d7926
--- /dev/null
@@ -0,0 +1,21 @@
+
+spec2def(shimgvw ${CMAKE_CURRENT_SOURCE_DIR}/shimgvw.spec ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
+
+add_library(shimgvw SHARED shimgvw.c shimgvw.rc)
+
+set_module_type(shimgvw win32dll)
+
+target_link_libraries(shimgvw
+    ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def
+    wine)
+
+add_importlibs(shimgvw
+    advapi32
+    comctl32
+    user32
+    gdi32
+    gdiplus
+    kernel32
+    ntdll)
+
+add_dependencies(shimgvw shimgvw_def)
diff --git a/dll/win32/softpub/CMakeLists.txt b/dll/win32/softpub/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0095787
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(-D__WINESRC__)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(softpub ${CMAKE_CURRENT_SOURCE_DIR}/softpub.spec ${CMAKE_CURRENT_BINARY_DIR}/softpub.def)
+
+add_library(softpub SHARED softpub.rc)
+
+set_entrypoint(softpub 0)
+
+target_link_libraries(softpub
+    ${CMAKE_CURRENT_BINARY_DIR}/softpub.def
+    wine)
+
+add_importlibs(softpub wintrust)
+
+add_dependencies(softpub softpub_def)
diff --git a/dll/win32/sti/CMakeLists.txt b/dll/win32/sti/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7d3ab0b
--- /dev/null
@@ -0,0 +1,36 @@
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+add_definitions(-D__WINESRC__)
+add_definitions(-DENTRY_PREFIX=STI_)
+add_definitions(-DPROXY_DELEGATION)
+add_definitions(-DREGISTER_PROXY_DLL)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(sti ${CMAKE_CURRENT_SOURCE_DIR}/sti.spec ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
+
+add_library(sti SHARED
+    regsvr.c
+    sti.c
+    sti_main.c
+    sti_wia.idl)# not sure
+
+set_entrypoint(sti 0)
+
+target_link_libraries(sti
+    ${CMAKE_CURRENT_BINARY_DIR}/sti.def
+    sti_proxy
+    wine
+    uuid
+    pseh)
+
+add_importlibs(sti
+    ole32
+    oleaut32
+    rpcrt4
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(sti sti_def)
diff --git a/dll/win32/syssetup/CMakeLists.txt b/dll/win32/syssetup/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a192a77
--- /dev/null
@@ -0,0 +1,38 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(syssetup ${CMAKE_CURRENT_SOURCE_DIR}/syssetup.spec ${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
+
+add_library(syssetup SHARED
+    classinst.c
+    dllmain.c
+    install.c
+    logfile.c
+    wizard.c
+    syssetup.rc)
+
+set_module_type(syssetup win32dll)
+
+target_link_libraries(syssetup
+    ${CMAKE_CURRENT_BINARY_DIR}/syssetup.def
+    uuid
+    pseh)
+
+add_importlibs(syssetup
+    msvcrt
+    advapi32
+    gdi32
+    user32
+    samlib
+    userenv
+    comctl32
+    setupapi
+    ole32
+    shell32
+    shlwapi
+    kernel32
+    ntdll)
+
+add_dependencies(syssetup syssetup_def)
diff --git a/dll/win32/twain_32/CMakeLists.txt b/dll/win32/twain_32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c992a3f
--- /dev/null
@@ -0,0 +1,22 @@
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(twain_32 ${CMAKE_CURRENT_SOURCE_DIR}/twain_32.spec ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def)
+
+add_library(twain_32 SHARED
+    capability.c
+    ds_audio.c
+    ds_ctrl.c
+    ds_image.c
+    dsm_ctrl.c
+    twain32_main.c
+    twain_32.rc)
+
+set_module_type(twain_32 win32dll)
+
+target_link_libraries(twain_32
+    ${CMAKE_CURRENT_BINARY_DIR}/twain_32.def
+    wine)
+
+add_importlibs(twain_32 msvcrt kernel32 ntdll)
+add_dependencies(twain_32 twain_32_def)
diff --git a/dll/win32/uext2/CMakeLists.txt b/dll/win32/uext2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..39787fd
--- /dev/null
@@ -0,0 +1,13 @@
+
+spec2def(uext2 ${CMAKE_CURRENT_SOURCE_DIR}/uext2.spec ${CMAKE_CURRENT_BINARY_DIR}/uext2.def)
+
+add_library(uext2 SHARED uext2.c uext2.rc)
+
+set_module_type(uext2 win32dll)
+
+target_link_libraries(uext2
+    ${CMAKE_CURRENT_BINARY_DIR}/uext2.def
+    ext2lib)
+
+add_importlibs(uext2 kernel32 ntdll)
+add_dependencies(uext2 uext2_def)
diff --git a/dll/win32/ufat/CMakeLists.txt b/dll/win32/ufat/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8927264
--- /dev/null
@@ -0,0 +1,13 @@
+
+spec2def(ufat ${CMAKE_CURRENT_SOURCE_DIR}/ufat.spec ${CMAKE_CURRENT_BINARY_DIR}/ufat.def)
+
+add_library(ufat SHARED ufat.c ufat.rc)
+
+set_module_type(ufat win32dll)
+
+target_link_libraries(ufat
+    ${CMAKE_CURRENT_BINARY_DIR}/ufat.def
+    vfatlib)
+
+add_importlibs(ufat kernel32 ntdll)
+add_dependencies(ufat ufat_def)
diff --git a/dll/win32/ufatx/CMakeLists.txt b/dll/win32/ufatx/CMakeLists.txt
new file mode 100644 (file)
index 0000000..42b7ed4
--- /dev/null
@@ -0,0 +1,13 @@
+
+spec2def(ufatx ${CMAKE_CURRENT_SOURCE_DIR}/ufatx.spec ${CMAKE_CURRENT_BINARY_DIR}/ufatx.def)
+
+add_library(ufatx SHARED ufatx.rc)
+
+set_entrypoint(ufatx 0)
+
+target_link_libraries(ufatx
+    ${CMAKE_CURRENT_BINARY_DIR}/ufatx.def
+    vfatxlib)
+
+add_importlibs(ufatx gcc kernel32 ntdll)
+add_dependencies(ufatx ufatx_def)
diff --git a/dll/win32/untfs/CMakeLists.txt b/dll/win32/untfs/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f7d2b3f
--- /dev/null
@@ -0,0 +1,13 @@
+
+spec2def(untfs ${CMAKE_CURRENT_SOURCE_DIR}/untfs.spec ${CMAKE_CURRENT_BINARY_DIR}/untfs.def)
+
+add_library(untfs SHARED untfs.c untfs.rc)
+
+set_module_type(untfs win32dll)
+
+target_link_libraries(untfs
+    ${CMAKE_CURRENT_BINARY_DIR}/untfs.def
+    ntfslib)
+
+add_importlibs(untfs kernel32 ntdll)
+add_dependencies(untfs untfs_def)
diff --git a/dll/win32/urlmon/CMakeLists.txt b/dll/win32/urlmon/CMakeLists.txt
new file mode 100644 (file)
index 0000000..da2ede7
--- /dev/null
@@ -0,0 +1,56 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(urlmon ${CMAKE_CURRENT_SOURCE_DIR}/urlmon.spec ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
+
+add_library(urlmon SHARED
+    bindctx.c
+    binding.c
+    bindprot.c
+    download.c
+    file.c
+    format.c
+    ftp.c
+    gopher.c
+    http.c
+    internet.c
+    mimefilter.c
+    mk.c
+    protocol.c
+    protproxy.c
+    regsvr.c
+    sec_mgr.c
+    session.c
+    umon.c
+    umstream.c
+    uri.c
+    urlmon_main.c
+    usrmarshal.c
+    rsrc.rc)
+
+set_module_type(urlmon win32dll)
+
+target_link_libraries(urlmon
+    ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def
+    urlmon_proxy
+    uuid
+    wine
+    pseh)
+
+add_importlibs(urlmon
+    rpcrt4
+    ole32
+    oleaut32
+    shlwapi
+    shell32
+    wininet
+    user32
+    advapi32
+    kernel32
+    ntdll)
+
+add_dependencies(urlmon urlmon_def)
diff --git a/importlibs/libgdiplus.a b/importlibs/libgdiplus.a
new file mode 100644 (file)
index 0000000..b91aa5d
Binary files /dev/null and b/importlibs/libgdiplus.a differ
diff --git a/importlibs/libimm32.a b/importlibs/libimm32.a
new file mode 100644 (file)
index 0000000..0b0d96f
Binary files /dev/null and b/importlibs/libimm32.a differ
diff --git a/importlibs/libnetapi32.a b/importlibs/libnetapi32.a
new file mode 100644 (file)
index 0000000..5c5a401
Binary files /dev/null and b/importlibs/libnetapi32.a differ
diff --git a/importlibs/libriched20.a b/importlibs/libriched20.a
new file mode 100644 (file)
index 0000000..e1e344e
Binary files /dev/null and b/importlibs/libriched20.a differ
diff --git a/importlibs/librsaenh.a b/importlibs/librsaenh.a
new file mode 100644 (file)
index 0000000..290193a
Binary files /dev/null and b/importlibs/librsaenh.a differ
diff --git a/importlibs/libsamlib.a b/importlibs/libsamlib.a
new file mode 100644 (file)
index 0000000..f1d93e5
Binary files /dev/null and b/importlibs/libsamlib.a differ
diff --git a/importlibs/libuserenv.a b/importlibs/libuserenv.a
new file mode 100644 (file)
index 0000000..3979a78
Binary files /dev/null and b/importlibs/libuserenv.a differ
diff --git a/importlibs/libwintrust.a b/importlibs/libwintrust.a
new file mode 100644 (file)
index 0000000..3ddaf65
Binary files /dev/null and b/importlibs/libwintrust.a differ