mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-07 22:38:48 +00:00
dd9e12601e
Thanks to the change "build: support library builds via lib/<libname>", shared libraries can now be built directly by the build system. Issue #4599
31 lines
739 B
Makefile
31 lines
739 B
Makefile
MIRROR_FROM_REP_DIR := \
|
|
lib/mk/libcrypto.inc \
|
|
lib/mk/spec/arm/libcrypto.mk \
|
|
lib/mk/spec/arm_64/libcrypto.mk \
|
|
lib/mk/spec/x86_32/libcrypto.mk \
|
|
lib/mk/spec/x86_64/libcrypto.mk \
|
|
lib/mk/libssl.mk
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/openssl)
|
|
|
|
content: src/lib/openssl
|
|
|
|
src/lib/openssl:
|
|
mkdir -p $@
|
|
cp -r $(PORT_DIR)/src/lib/openssl/crypto $@/
|
|
cp $(PORT_DIR)/src/lib/openssl/e_os.h $@/
|
|
cp -r $(PORT_DIR)/src/lib/openssl/include $@/
|
|
cp -r $(PORT_DIR)/src/lib/openssl/ssl $@/
|
|
cp -r $(REP_DIR)/src/lib/openssl/crypto $@/
|
|
cp -r $(REP_DIR)/src/lib/openssl/spec $@/
|
|
|
|
content: LICENSE
|
|
|
|
LICENSE:
|
|
cp $(PORT_DIR)/src/lib/openssl/LICENSE $@
|