- tested sa with traffic selectors
[strongswan.git] / Source / charon / testcases / Makefile.testcases
index fd7a5f5..8463c1a 100644 (file)
 TESTCASES_DIR= $(MAIN_DIR)testcases/
 
 
+TEST_OBJS+= $(BUILD_DIR)aes_cbc_crypter_test.o
+$(BUILD_DIR)aes_cbc_crypter_test.o :   $(TESTCASES_DIR)aes_cbc_crypter_test.c $(TESTCASES_DIR)aes_cbc_crypter_test.h
+                                                                       $(CC) $(CFLAGS) -c -o $@ $<
+
+
 TEST_OBJS+= $(BUILD_DIR)diffie_hellman_test.o
 $(BUILD_DIR)diffie_hellman_test.o :    $(TESTCASES_DIR)diffie_hellman_test.c $(TESTCASES_DIR)diffie_hellman_test.h
                                                                        $(CC) $(CFLAGS) -c -o $@ $<
@@ -54,6 +59,10 @@ $(BUILD_DIR)linked_list_test.o :     $(TESTCASES_DIR)linked_list_test.c $(TESTCASES_
 TEST_OBJS+= $(BUILD_DIR)hmac_test.o
 $(BUILD_DIR)hmac_test.o :                      $(TESTCASES_DIR)hmac_test.c $(TESTCASES_DIR)hmac_test.h
                                                                        $(CC) $(CFLAGS) -c -o $@ $<
+
+TEST_OBJS+= $(BUILD_DIR)hmac_signer_test.o
+$(BUILD_DIR)hmac_signer_test.o :               $(TESTCASES_DIR)hmac_signer_test.c $(TESTCASES_DIR)hmac_signer_test.h
+                                                                       $(CC) $(CFLAGS) -c -o $@ $<
                                                                                        
 TEST_OBJS+= $(BUILD_DIR)scheduler_test.o
 $(BUILD_DIR)scheduler_test.o :         $(TESTCASES_DIR)scheduler_test.c $(TESTCASES_DIR)scheduler_test.h
@@ -94,5 +103,15 @@ $(BUILD_DIR)sender_test.o :                 $(TESTCASES_DIR)sender_test.c $(TESTCASES_DIR)send
 TEST_OBJS+= $(BUILD_DIR)thread_pool_test.o
 $(BUILD_DIR)thread_pool_test.o :       $(TESTCASES_DIR)thread_pool_test.c $(TESTCASES_DIR)thread_pool_test.h
                                                                        $(CC) $(CFLAGS) -c -o $@ $<
+                                                                       
+TEST_OBJS+= $(BUILD_DIR)encryption_payload_test.o
+$(BUILD_DIR)encryption_payload_test.o :        $(TESTCASES_DIR)encryption_payload_test.c $(TESTCASES_DIR)encryption_payload_test.h
+                                                                       $(CC) $(CFLAGS) -c -o $@ $<
 
+TEST_OBJS+= $(BUILD_DIR)init_config_test.o
+$(BUILD_DIR)init_config_test.o :       $(TESTCASES_DIR)init_config_test.c $(TESTCASES_DIR)init_config_test.h
+                                                                       $(CC) $(CFLAGS) -c -o $@ $<
 
+TEST_OBJS+= $(BUILD_DIR)sa_config_test.o
+$(BUILD_DIR)sa_config_test.o :         $(TESTCASES_DIR)sa_config_test.c $(TESTCASES_DIR)sa_config_test.h
+                                                                       $(CC) $(CFLAGS) -c -o $@ $<