generated from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
32 lines (30 loc) · 905 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DEPS_FILES := \
X509-ML-KEM-2024.asn \
./example/ML-KEM-1024.crt \
./example/ML-KEM-1024.crt.txt \
./example/ML-KEM-1024.priv \
./example/ML-KEM-1024.priv.txt \
./example/ML-KEM-1024.pub \
./example/ML-KEM-1024.pub.txt \
./example/ML-KEM-512.crt \
./example/ML-KEM-512.crt.txt \
./example/ML-KEM-512.priv \
./example/ML-KEM-512.priv.txt \
./example/ML-KEM-512.pub \
./example/ML-KEM-512.pub.txt \
./example/ML-KEM-768.crt \
./example/ML-KEM-768.crt.txt \
./example/ML-KEM-768.priv \
./example/ML-KEM-768.priv.txt \
./example/ML-KEM-768.pub \
./example/ML-KEM-768.pub.txt \
LIBDIR := lib
include $(LIBDIR)/main.mk
$(LIBDIR)/main.mk:
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null))
git submodule sync
git submodule update $(CLONE_ARGS) --init
else
git clone -q --depth 10 $(CLONE_ARGS) \
-b main https://github.com/martinthomson/i-d-template $(LIBDIR)
endif