]> git.proxmox.com Git - ceph.git/blame - ceph/src/crypto/isa-l/isa-l_crypto/tests/extended/Makefile
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / tests / extended / Makefile
CommitLineData
1e59de90
TL
1CFLAGS += -I ../../include
2libs += ../../bin/isa-l_crypto.a
3tests = $(patsubst %test.c, %test, $(wildcard *_test.c))
4
5tests: $(tests)
6$(tests): $(libs)
7%test: %test.c
8 $(CC) $< $(libs) $(CFLAGS) $(LDLIBS) -o $@
9$(libs):
10 $(MAKE) -C ../../ -f Makefile.unx
11test: $(addsuffix .run,$(tests))
12 @echo ALL PASS
13$(addsuffix .run,$(tests)): %.run: %
14 $(SIM) ./$<
15 @echo Completed run: $<
16clean:
17 $(RM) *.o $(tests)
18
19$(tests): LDLIBS += -lcrypto