summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7b253329b61fc7ef369d0bd54ab3830778f4b237 (plain)
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
implementations = $(dir                         \
    $(shell find crypto_aead -name Makefile)    \
)

delegated = clean test

.PHONY: $(delegated)

$(delegated)::
	status=0;                               \
	for i in $(implementations);            \
	do                                      \
	    make -C $$i $@ || status=1;         \
	done;                                   \
	exit $$status

clean::
	- rm traces*.tgz

# To generate complete traces, apply this patch before running "make traces":
#     $ git apply traces.patch
# To update this patch, add print statements, then run
#     $ git diff src > traces.patch
traces: traces-ae traces-tbc

traces-%:
	@ echo "Collecting traces"
	@ ./collect-traces.sh $@