Skip to content

Commit

Permalink
Enabling sas compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Skulltrail192 committed Jun 7, 2021
1 parent 1a884a7 commit 3f875a8
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 82 deletions.
3 changes: 1 addition & 2 deletions wrappers/new-dlls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ add_subdirectory(mf)
add_subdirectory(mfplat)
add_subdirectory(mfreadwrite)
add_subdirectory(mmdevapi)
#add_subdirectory(rsabase)
add_subdirectory(rstrtmgr)
add_subdirectory(rtworkq)
#add_subdirectory(sas)
add_subdirectory(sas)
add_subdirectory(secbase)
add_subdirectory(shcore)
add_subdirectory(sspicli)
Expand Down
1 change: 1 addition & 0 deletions wrappers/new-dlls/rsabase/Description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reactos already has rsabase. Please include it on One-Core-API new dlls package
27 changes: 0 additions & 27 deletions wrappers/new-dlls/rsabase/rsabase.spec

This file was deleted.

17 changes: 17 additions & 0 deletions wrappers/new-dlls/sas/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
include_directories(${REACTOS_SOURCE_DIR}/wrappers/includes)
include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos/wine)
spec2def(sas.dll sas.spec ADD_IMPORTLIB)

list(APPEND SOURCE
version.rc
${CMAKE_CURRENT_BINARY_DIR}/sas_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/sas.def)

add_library(sas SHARED ${SOURCE})
set_module_type(sas win32dll)
target_link_libraries(sas wine)
add_importlibs(sas ole32 combase msvcrt kernelbase ntdll)
add_cd_file(TARGET sas DESTINATION reactos/system32 FOR all)
6 changes: 0 additions & 6 deletions wrappers/new-dlls/sas/Makefile.in

This file was deleted.

40 changes: 0 additions & 40 deletions wrappers/new-dlls/sas/main.c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007 Detlef Riekenberg
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -16,11 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#define WINE_FILEDESCRIPTION_STR "Wine rsabase"
#define WINE_FILENAME_STR "rsabase.dll"
#define WINE_FILEVERSION 5,1,2600,2180
#define WINE_FILEVERSION_STR "5.1.2600.2180"
#define WINE_PRODUCTVERSION 5,1,2600,2180
#define WINE_PRODUCTVERSION_STR "5.1.2600.2180"
#define WINE_FILEDESCRIPTION_STR "Wine WinLogon Software SAS Library"
#define WINE_FILENAME_STR "sas.dll"
#define WINE_FILEVERSION 6,0,6000,16386
#define WINE_FILEVERSION_STR "6.0.6000.16386(winmain_wrapper_beta1)"
#define WINE_PRODUCTVERSION 6,0,6000,16386
#define WINE_PRODUCTVERSION_STR "6.0.6000.16386"

#include "wine/wine_common_ver.rc"

0 comments on commit 3f875a8

Please sign in to comment.