automake build system
[mech_eap.orig] / tests / Makefile
index 3e46951..210a1b4 100644 (file)
@@ -1,5 +1,5 @@
 TESTS=test-base64 test-md4 test-md5 test-milenage test-ms_funcs test-sha1 \
-       test-sha256 test-aes test-asn1 test-x509
+       test-sha256 test-aes test-asn1 test-x509 test-x509v3 test-list
 
 all: $(TESTS)
 
@@ -45,6 +45,9 @@ test-asn1: test-asn1.o $(LIBS)
 test-base64: test-base64.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^
 
+test-list: test-list.o $(LIBS)
+       $(LDO) $(LDFLAGS) -o $@ $^
+
 test-md4: test-md4.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^
 
@@ -66,9 +69,13 @@ test-sha256: test-sha256.o $(LIBS)
 test-x509: test-x509.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $< $(LLIBS)
 
+test-x509v3: test-x509v3.o $(LIBS)
+       $(LDO) $(LDFLAGS) -o $@ $< $(LLIBS)
+
 
 run-tests: $(TESTS)
        ./test-aes
+       ./test-list
        ./test-md4
        ./test-md5
        ./test-milenage
@@ -80,5 +87,7 @@ run-tests: $(TESTS)
 clean:
        $(MAKE) -C ../src clean
        rm -f $(TESTS) *~ *.o *.d
+       rm -f test_x509v3_nist.out.*
+       rm -f test_x509v3_nist2.out.*
 
 -include $(OBJS:%.o=%.d)