aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-05 20:03:46 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-05 20:03:46 (GMT)
commit631afd993fa60f5d19a8c50360203d1a3dc8e9af (patch)
treeb0dcf03081c907de6fb3b0d6bbd4a28fb2886949 /tests
parent841b52b403d404625542ef460c4c5078e7ee3046 (diff)
downloadhostap-631afd993fa60f5d19a8c50360203d1a3dc8e9af.zip
hostap-631afd993fa60f5d19a8c50360203d1a3dc8e9af.tar.gz
hostap-631afd993fa60f5d19a8c50360203d1a3dc8e9af.tar.bz2
Add rules for building src/crypto as a library
For now, this is hardcoded to support only the internal crypto implementation.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile
index bd5fbaa..eb5b0ee 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -17,11 +17,15 @@ endif
CFLAGS += -I../src
CFLAGS += -I../src/utils
-LIBS = ../src/utils/libutils.a
+LIBS = ../src/utils/libutils.a \
+ ../src/crypto/libcrypto.a
../src/utils/libutils.a:
$(MAKE) -C ../src/utils
+../src/crypto/libcrypto.a:
+ $(MAKE) -C ../src/crypto
+
BASE64_OBJS=test-base64.o \
$(LIBS)
@@ -30,10 +34,6 @@ test-base64: $(BASE64_OBJS)
MILENAGE_OBJS=test-milenage.o \
- ../src/crypto/aes-internal.o \
- ../src/crypto/aes-internal-enc.o \
- ../src/crypto/aes-encblock.o \
- ../src/crypto/milenage.o \
$(LIBS)
test-milenage: $(MILENAGE_OBJS)