mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
30 lines
574 B
Makefile
30 lines
574 B
Makefile
|
MIRROR_FROM_REP_DIR := lib/import/import-curl.mk \
|
||
|
lib/symbols/curl
|
||
|
|
||
|
content: $(MIRROR_FROM_REP_DIR)
|
||
|
|
||
|
$(MIRROR_FROM_REP_DIR):
|
||
|
$(mirror_from_rep_dir)
|
||
|
|
||
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/curl)
|
||
|
|
||
|
content: include
|
||
|
|
||
|
include:
|
||
|
mkdir -p $@/curl
|
||
|
cp $(PORT_DIR)/include/curl/* $@/curl
|
||
|
|
||
|
content: src/lib/curl
|
||
|
|
||
|
src/lib/curl:
|
||
|
mkdir -p $@
|
||
|
for spec in 32bit 64bit; do \
|
||
|
mkdir -p $@/spec/$$spec/curl; \
|
||
|
cp $(REP_DIR)/$@/spec/$$spec/curl/curlbuild.h $@/spec/$$spec/curl/; \
|
||
|
done
|
||
|
|
||
|
content: LICENSE
|
||
|
|
||
|
LICENSE:
|
||
|
cp $(PORT_DIR)/src/lib/curl/COPYING $@
|