mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
11
Libraries/LibCrypto/CMakeLists.txt
Normal file
11
Libraries/LibCrypto/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(SOURCES
|
||||
BigInt/UnsignedBigInteger.cpp
|
||||
Cipher/AES.cpp
|
||||
Hash/MD5.cpp
|
||||
Hash/SHA1.cpp
|
||||
Hash/SHA2.cpp
|
||||
PK/RSA.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibCrypto crypto)
|
||||
target_link_libraries(LibCrypto LibC)
|
|
@ -1,22 +0,0 @@
|
|||
LIBCRYPTO_OBJS = \
|
||||
Cipher/AES.o \
|
||||
Hash/MD5.o \
|
||||
Hash/SHA1.o \
|
||||
Hash/SHA2.o \
|
||||
PK/RSA.o \
|
||||
BigInt/UnsignedBigInteger.o
|
||||
|
||||
OBJS = $(LIBCRYPTO_OBJS)
|
||||
|
||||
LIBRARY = libcrypto.a
|
||||
|
||||
install:
|
||||
for dir in . Cipher Cipher/Mode Hash PK PK/Code; do \
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibCrypto/$$dir; \
|
||||
cp $$dir/*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibCrypto/$$dir/; \
|
||||
done
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
||||
|
||||
include ../../Makefile.subdir
|
Loading…
Add table
Add a link
Reference in a new issue