Debian Codegraph @

crt/aws-c-io/tests/vcc/Makefile

raw symbols SCIP
1 VCC?=vcc
2 VCC_ARGS+=/sm
3 GIT?=git
4 NO_CHANGE_EXPECTED_HASH=754ba168f
5 NO_CHANGE_FILE=source/linux/epoll_event_loop.c
6
7 # The VCC proofs in this directory are based on a snapshot of
8 # epoll_event_loop.c. This target fails if the source file has changed, in
9 # which case the proof results may no longer be valid.
10 .phony: .no_change
11 .no_change:
12 cd ../.. && $(GIT) diff --quiet $(NO_CHANGE_EXPECTED_HASH) $(NO_CHANGE_FILE)
13
14 .phony: .proofs
15 .proofs:
16 $(VCC) $(VCC_ARGS) preamble.h
17 $(VCC) $(VCC_ARGS) subscribe.c /f:s_subscribe_to_io_events
18 $(VCC) $(VCC_ARGS) unsubscribe.c /f:s_unsubscribe_from_io_events
19 $(VCC) $(VCC_ARGS) schedule.c /f:s_schedule_task_common /f:s_schedule_task_now /f:s_schedule_task_future
20 $(VCC) $(VCC_ARGS) cancel_task.c /f:s_cancel_task
21 $(VCC) $(VCC_ARGS) is_on_callers_thread.c /f:s_is_on_callers_thread
22 $(VCC) $(VCC_ARGS) process_task_pre_queue.c /f:s_process_task_pre_queue
23 $(VCC) $(VCC_ARGS) lifecycle.c /f:s_stop_task /f:s_stop /f:s_wait_for_stop_completion /f:s_run
24 $(VCC) $(VCC_ARGS) main_loop.c /f:s_on_tasks_to_schedule /f:s_main_loop
25 $(VCC) $(VCC_ARGS) new_destroy.c /f:aws_event_loop_new_default /f:s_start_destroy
26 $(VCC) $(VCC_ARGS) new_destroy.c /f:aws_event_loop_new_with_epoll /f:s_complete_destroy /p:"-DUSE_EFD=0"
27 $(VCC) $(VCC_ARGS) new_destroy.c /f:aws_event_loop_new_with_epoll /f:s_complete_destroy /p:"-DUSE_EFD=1"
28 $(VCC) $(VCC_ARGS) client.c /f:test_new_destroy /f:test_subscribe_unsubscribe
29
30 .phony: all
31 all: .no_change .proofs