Commit 5674e183 authored by 's avatar
Browse files

test for top


git-svn-id: file:///home/svn/mapi/trunk@267 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent b115bea4
include ../Makefile.in include ../Makefile.in
MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow test_packet_read test_cooking MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow test_packet_read test_cooking test_top
CFLAGS=-g -O2 $(C_WARNINGS) CFLAGS=-g -O2 $(C_WARNINGS)
...@@ -103,5 +103,8 @@ test_packet_read: ../mapi.so test_packet_read.c ../mapi.h ...@@ -103,5 +103,8 @@ test_packet_read: ../mapi.so test_packet_read.c ../mapi.h
test_cooking: ../mapi.so test_cooking.c ../mapi.h test_cooking: ../mapi.so test_cooking.c ../mapi.h
$(CC) $(CFLAGS) -o test_cooking test_cooking.c ../mapi.so -lpcap -lpthread $(CC) $(CFLAGS) -o test_cooking test_cooking.c ../mapi.so -lpcap -lpthread
test_top: ../mapi.so test_top.c ../mapi.h
$(CC) $(CFLAGS) -o test_top test_top.c ../mapi.so -lpcap -lpthread
clean: clean:
rm -rf $(MAKE_ALL) rm -rf $(MAKE_ALL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment