genode/repos/libports/recipes/src/openssl/content.mk
Norman Feske dd9e12601e Remove pseudo targets for building shared libs
Thanks to the change "build: support library builds via lib/<libname>",
shared libraries can now be built directly by the build system.

Issue #4599
2022-09-19 14:00:32 +02:00

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 $@