net-tools/sources/ping.mk

68 lines
2.9 KiB
Makefile

include sources/cli.mk
PING_SRC_DIR = src/ping
PING_SRCS = $(CLI_SRCS) \
$(PING_SRC_DIR)/main.c \
$(PING_SRC_DIR)/cli/parse.c \
$(PING_SRC_DIR)/cli/handlers/handle_count.c \
$(PING_SRC_DIR)/cli/handlers/handle_dont_fragment.c \
$(PING_SRC_DIR)/cli/handlers/handle_deadline.c \
$(PING_SRC_DIR)/cli/handlers/handle_flood.c \
$(PING_SRC_DIR)/cli/handlers/handle_help.c \
$(PING_SRC_DIR)/cli/handlers/handle_interval.c \
$(PING_SRC_DIR)/cli/handlers/handle_quiet.c \
$(PING_SRC_DIR)/cli/handlers/option_map.c \
$(PING_SRC_DIR)/cli/handlers/handle_size.c \
$(PING_SRC_DIR)/cli/handlers/handle_timeout.c \
$(PING_SRC_DIR)/cli/handlers/handle_ttl.c \
$(PING_SRC_DIR)/cli/handlers/handle_version.c \
$(PING_SRC_DIR)/cli/handlers/handle_verbose.c \
$(PING_SRC_DIR)/cli/parse_utils/parse_inet_addr.c \
$(PING_SRC_DIR)/cli/parse_utils/parse_destinations.c \
$(PING_SRC_DIR)/cli/config_free.c \
$(PING_SRC_DIR)/cli/messages/help.c \
$(PING_SRC_DIR)/cli/messages/version.c \
$(PING_SRC_DIR)/cli/messages/error.c \
$(PING_SRC_DIR)/core/ping.c \
$(PING_SRC_DIR)/core/loop.c \
$(PING_SRC_DIR)/core/send.c \
$(PING_SRC_DIR)/core/callback.c \
$(PING_SRC_DIR)/tracker/init.c \
$(PING_SRC_DIR)/tracker/record_send.c \
$(PING_SRC_DIR)/tracker/record_recv.c \
$(PING_SRC_DIR)/output/start.c \
$(PING_SRC_DIR)/output/packet.c \
$(PING_SRC_DIR)/output/error.c \
$(PING_SRC_DIR)/output/summary.c \
$(PING_SRC_DIR)/output/flood.c \
$(PING_SRC_DIR)/scheduler/scheduler_arm.c \
$(PING_SRC_DIR)/scheduler/scheduler_select_tv.c \
$(PING_SRC_DIR)/scheduler/scheduler_init.c \
$(PING_SRC_DIR)/stats/stats_get.c \
$(PING_SRC_DIR)/stats/stats_init.c \
$(PING_SRC_DIR)/stats/stats_update.c \
PING_TESTS_DIR = tests
PING_TESTS = $(PING_TESTS_DIR)/test_main.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_count.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_flood.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_help.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_interval.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_quiet.c \
$(PING_TESTS_DIR)/cli/handlers/test_handler_map.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_size.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_timeout.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_ttl.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_version.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_verbose.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_dont_fragment.c \
$(PING_TESTS_DIR)/cli/handlers/test_handle_deadline.c \
$(PING_TESTS_DIR)/cli/parse_utils/test_parse_int.c \
$(PING_TESTS_DIR)/cli/parse_utils/test_parse_float.c \
$(PING_TESTS_DIR)/cli/parse_utils/test_parse_inet_addr.c \
$(PING_TESTS_DIR)/cli/parse_utils/test_parse_destinations.c \
$(PING_TESTS_DIR)/ping/stats/test_stats.c \
$(PING_TESTS_DIR)/ping/tracker/test_tracker.c \