Skip to content

Commit

Permalink
CMakeLists.txt,Makefile_src,cmpossl/libsecutils: make use of various_…
Browse files Browse the repository at this point in the history
…CMake_tweaks in submodules
  • Loading branch information
DDvO committed Mar 14, 2024
1 parent f4fdc40 commit 915fe8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ endif()

include_directories(
${INC_DIR}
${PROJECT_SOURCE_DIR}/libsecutils/include
)
if(DEFINED USE_LIBCMP)
include_directories(SYSTEM ${CMPOSSL_INC_DIR}/cmp)
Expand All @@ -71,7 +70,7 @@ add_executable(cmpClient

target_link_libraries(cmpClient
${LIBGENCMP_NAME}
secutils
security-utilities::library
)
if(DEFINED USE_LIBCMP)
target_link_libraries(cmpClient
Expand Down Expand Up @@ -131,7 +130,7 @@ if(DEFINED USE_LIBCMP)
target_link_libraries(${LIBGENCMP_NAME} cmp)
endif()
# important: place libcmp before libcrypto such that its contents are preferred
target_link_libraries(${LIBGENCMP_NAME} ${OPENSSL_LIBRARIES} secutils) # needed for clang/MacOSX
target_link_libraries(${LIBGENCMP_NAME} OpenSSL::Crypto OpenSSL::SSL security-utilities::library)

set(INC_PUBLIC_HDRS
${INC_DIR}/genericCMPClient.h
Expand Down
2 changes: 1 addition & 1 deletion Makefile_src
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ override CFLAGS += \
override CFLAGS +=-Wno-c99-extensions -Wno-language-extension-token -Wno-declaration-after-statement \
-Wno-sign-conversion -Wno-shorten-64-to-32 -Wno-shadow # due to libsecutils
ifeq ($(LPATH),)
override CFLAGS += -I$(SECUTILS_DIR)/include
override CFLAGS += -I$(SECUTILS_DIR)/src/libsecutils/include
endif
ifneq ($(LIBCMP_INC),)
ifeq ($(DEB_TARGET_ARCH),) # not during Debian packaging
Expand Down
2 changes: 1 addition & 1 deletion cmpossl
Submodule cmpossl updated 3 files
+116 −82 CMakeLists.txt
+1 −2 Makefile_v1
+5 −0 README.md
2 changes: 1 addition & 1 deletion libsecutils
Submodule libsecutils updated 85 files
+1 −0 .gitignore
+250 −272 CMakeLists.txt
+654 −290 Doxyfile
+30 −23 Makefile_v1
+14 −5 README.md
+2 −1 debian/control
+8 −8 debian/libsecutils-dev.install
+11 −4 debian/source/options
+31 −0 src/CMakeLists.txt
+76 −0 src/libsecutils/CMakeLists.txt
+6 −0 src/libsecutils/include/CMakeLists.txt
+35 −0 src/libsecutils/include/secutils/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/basic.h
+7 −0 src/libsecutils/include/secutils/certstatus/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/certstatus/cdp_util.h
+0 −0 src/libsecutils/include/secutils/certstatus/certstatus.h
+0 −0 src/libsecutils/include/secutils/certstatus/crl_mgmt.h
+0 −0 src/libsecutils/include/secutils/certstatus/crls.h
+0 −0 src/libsecutils/include/secutils/certstatus/ocsp.h
+5 −0 src/libsecutils/include/secutils/config/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/config/config.h
+0 −0 src/libsecutils/include/secutils/config/config_update.h
+0 −0 src/libsecutils/include/secutils/config/opt.h
+5 −0 src/libsecutils/include/secutils/connections/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/connections/conn.h
+0 −0 src/libsecutils/include/secutils/connections/http.h
+0 −0 src/libsecutils/include/secutils/connections/tls.h
+8 −0 src/libsecutils/include/secutils/credentials/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/credentials/cert.h
+0 −0 src/libsecutils/include/secutils/credentials/credentials.h
+0 −0 src/libsecutils/include/secutils/credentials/key.h
+0 −0 src/libsecutils/include/secutils/credentials/store.h
+0 −0 src/libsecutils/include/secutils/credentials/trusted.h
+0 −0 src/libsecutils/include/secutils/credentials/verify.h
+3 −0 src/libsecutils/include/secutils/crypto/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/crypto/crypto.h
+0 −0 src/libsecutils/include/secutils/operators.h
+0 −0 src/libsecutils/include/secutils/secutils_static_config.h.in
+6 −0 src/libsecutils/include/secutils/storage/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/storage/files.h
+0 −0 src/libsecutils/include/secutils/storage/files_dv.h
+0 −0 src/libsecutils/include/secutils/storage/files_icv.h
+0 −0 src/libsecutils/include/secutils/storage/uta_api.h
+9 −0 src/libsecutils/include/secutils/util/CMakeLists.txt
+0 −0 src/libsecutils/include/secutils/util/extensions.h
+0 −0 src/libsecutils/include/secutils/util/log.h
+0 −0 src/libsecutils/include/secutils/util/util.h
+1 −0 src/libsecutils/security-utilities_libraryConfig.cmake
+7 −0 src/libsecutils/src/CMakeLists.txt
+7 −0 src/libsecutils/src/certstatus/CMakeLists.txt
+0 −0 src/libsecutils/src/certstatus/cdp_util.c
+0 −0 src/libsecutils/src/certstatus/certstatus.c
+0 −0 src/libsecutils/src/certstatus/crl_mgmt.c
+0 −0 src/libsecutils/src/certstatus/crls.c
+0 −0 src/libsecutils/src/certstatus/ocsp.c
+5 −0 src/libsecutils/src/config/CMakeLists.txt
+0 −0 src/libsecutils/src/config/config.c
+0 −0 src/libsecutils/src/config/config_update.c
+0 −0 src/libsecutils/src/config/opt.c
+5 −0 src/libsecutils/src/connections/CMakeLists.txt
+0 −0 src/libsecutils/src/connections/conn.c
+0 −0 src/libsecutils/src/connections/http.c
+0 −0 src/libsecutils/src/connections/tls.c
+8 −0 src/libsecutils/src/credentials/CMakeLists.txt
+0 −0 src/libsecutils/src/credentials/cert.c
+0 −0 src/libsecutils/src/credentials/credentials.c
+0 −0 src/libsecutils/src/credentials/key.c
+0 −0 src/libsecutils/src/credentials/store.c
+0 −0 src/libsecutils/src/credentials/trusted.c
+0 −0 src/libsecutils/src/credentials/verify.c
+3 −0 src/libsecutils/src/crypto/CMakeLists.txt
+0 −0 src/libsecutils/src/crypto/crypto.c
+6 −0 src/libsecutils/src/storage/CMakeLists.txt
+0 −0 src/libsecutils/src/storage/files.c
+0 −0 src/libsecutils/src/storage/files_dv.c
+0 −0 src/libsecutils/src/storage/files_icv.c
+2 −0 src/libsecutils/src/storage/uta_api.c
+5 −0 src/libsecutils/src/util/CMakeLists.txt
+0 −0 src/libsecutils/src/util/extensions.c
+0 −0 src/libsecutils/src/util/log.c
+0 −0 src/libsecutils/src/util/util.c
+54 −0 src/util/CMakeLists.txt
+1 −1 src/util/Makefile_v1
+3 −3 src/util/icvutil.c
+1 −0 src/util/security-utilities_icvutilConfig.cmake

0 comments on commit 915fe8e

Please sign in to comment.