Skip to content

Commit

Permalink
Revert "CMakeLists.txt,Makefile_src,cmpossl/libsecutils: make use of …
Browse files Browse the repository at this point in the history
…various_CMake_tweaks in submodules"

This reverts commit ed868ac.
  • Loading branch information
DDvO committed Mar 15, 2024
1 parent e007909 commit 0e19c13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ endif()

include_directories(
${INC_DIR}
${PROJECT_SOURCE_DIR}/libsecutils/include
)
if(DEFINED USE_LIBCMP)
include_directories(SYSTEM ${CMPOSSL_INC_DIR}/cmp)
Expand Down Expand Up @@ -96,7 +97,7 @@ add_executable(cmpClient

target_link_libraries(cmpClient
${LIBGENCMP_NAME}
security-utilities::library
secutils
)
if(DEFINED USE_LIBCMP)
target_link_libraries(cmpClient
Expand Down Expand Up @@ -156,7 +157,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::Crypto OpenSSL::SSL security-utilities::library)
target_link_libraries(${LIBGENCMP_NAME} ${OPENSSL_LIBRARIES} secutils) # needed for clang/MacOSX

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)/src/libsecutils/include
override CFLAGS += -I$(SECUTILS_DIR)/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
+82 −116 CMakeLists.txt
+2 −1 Makefile_v1
+0 −5 README.md
2 changes: 1 addition & 1 deletion libsecutils
Submodule libsecutils updated 85 files
+0 −1 .gitignore
+272 −252 CMakeLists.txt
+290 −654 Doxyfile
+23 −30 Makefile_v1
+5 −14 README.md
+1 −2 debian/control
+8 −8 debian/libsecutils-dev.install
+4 −11 debian/source/options
+0 −0 include/secutils/basic.h
+0 −0 include/secutils/certstatus/cdp_util.h
+0 −0 include/secutils/certstatus/certstatus.h
+0 −0 include/secutils/certstatus/crl_mgmt.h
+0 −0 include/secutils/certstatus/crls.h
+0 −0 include/secutils/certstatus/ocsp.h
+0 −0 include/secutils/config/config.h
+0 −0 include/secutils/config/config_update.h
+0 −0 include/secutils/config/opt.h
+0 −0 include/secutils/connections/conn.h
+0 −0 include/secutils/connections/http.h
+0 −0 include/secutils/connections/tls.h
+0 −0 include/secutils/credentials/cert.h
+0 −0 include/secutils/credentials/credentials.h
+0 −0 include/secutils/credentials/key.h
+0 −0 include/secutils/credentials/store.h
+0 −0 include/secutils/credentials/trusted.h
+0 −0 include/secutils/credentials/verify.h
+0 −0 include/secutils/crypto/crypto.h
+0 −0 include/secutils/operators.h
+0 −0 include/secutils/secutils_static_config.h.in
+0 −0 include/secutils/storage/files.h
+0 −0 include/secutils/storage/files_dv.h
+0 −0 include/secutils/storage/files_icv.h
+0 −0 include/secutils/storage/uta_api.h
+0 −0 include/secutils/util/extensions.h
+0 −0 include/secutils/util/log.h
+0 −0 include/secutils/util/util.h
+0 −31 src/CMakeLists.txt
+0 −0 src/certstatus/cdp_util.c
+0 −0 src/certstatus/certstatus.c
+0 −0 src/certstatus/crl_mgmt.c
+0 −0 src/certstatus/crls.c
+0 −0 src/certstatus/ocsp.c
+0 −0 src/config/config.c
+0 −0 src/config/config_update.c
+0 −0 src/config/opt.c
+0 −0 src/connections/conn.c
+0 −0 src/connections/http.c
+0 −0 src/connections/tls.c
+0 −0 src/credentials/cert.c
+0 −0 src/credentials/credentials.c
+0 −0 src/credentials/key.c
+0 −0 src/credentials/store.c
+0 −0 src/credentials/trusted.c
+0 −0 src/credentials/verify.c
+0 −0 src/crypto/crypto.c
+0 −76 src/libsecutils/CMakeLists.txt
+0 −6 src/libsecutils/include/CMakeLists.txt
+0 −35 src/libsecutils/include/secutils/CMakeLists.txt
+0 −7 src/libsecutils/include/secutils/certstatus/CMakeLists.txt
+0 −5 src/libsecutils/include/secutils/config/CMakeLists.txt
+0 −5 src/libsecutils/include/secutils/connections/CMakeLists.txt
+0 −8 src/libsecutils/include/secutils/credentials/CMakeLists.txt
+0 −3 src/libsecutils/include/secutils/crypto/CMakeLists.txt
+0 −6 src/libsecutils/include/secutils/storage/CMakeLists.txt
+0 −9 src/libsecutils/include/secutils/util/CMakeLists.txt
+0 −1 src/libsecutils/security-utilities_libraryConfig.cmake
+0 −7 src/libsecutils/src/CMakeLists.txt
+0 −7 src/libsecutils/src/certstatus/CMakeLists.txt
+0 −5 src/libsecutils/src/config/CMakeLists.txt
+0 −5 src/libsecutils/src/connections/CMakeLists.txt
+0 −8 src/libsecutils/src/credentials/CMakeLists.txt
+0 −3 src/libsecutils/src/crypto/CMakeLists.txt
+0 −6 src/libsecutils/src/storage/CMakeLists.txt
+0 −5 src/libsecutils/src/util/CMakeLists.txt
+0 −0 src/storage/files.c
+0 −0 src/storage/files_dv.c
+0 −0 src/storage/files_icv.c
+0 −2 src/storage/uta_api.c
+0 −54 src/util/CMakeLists.txt
+0 −0 src/util/extensions.c
+0 −0 src/util/log.c
+0 −1 src/util/security-utilities_icvutilConfig.cmake
+0 −0 src/util/util.c
+1 −1 util/Makefile
+3 −3 util/icvutil.c

0 comments on commit 0e19c13

Please sign in to comment.