AUTOMAKE_OPTIONS = subdir-objects foreign BUILT_SOURCES = include/dlog.h AM_CFLAGS = -I$(srcdir)/include \ -DSD_DAEMON_DISABLE_MQ \ -DDLOG_CONFIG_PATH=\"$(sysconfdir)/dlog.conf\" \ -DDEBUGMODE_FILE=\"$(sysconfdir)/.debugmode\" \ -I$(srcdir)/external/sd-daemon \ $(DEBUG_CFLAGS) \ -Werror \ $(CAPI_BASE_COMMON_CFLAGS) \ -D_GNU_SOURCE \ -DLIBDLOGUTIL_EXPORT_API= dlog_includedir = $(includedir)/dlog dlog_include_HEADERS = \ include/dlog.h \ include/dlogutil.h \ include/dlog-internal.h lib_LTLIBRARIES = libdlog.la libdlog_la_SOURCES = \ src/libdlog/log.c \ src/shared/backend_androidlogger.c \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/parsers.c \ src/shared/queued_entry.c \ src/shared/translate_syslog.c \ src/libdlog/dynamic_config.c \ src/libdlog/loglimiter.c \ src/libdlog/log_pipe.c \ src/libdlog/log_android.c libdlog_la_LIBADD = -lpthread \ $(CAPI_BASE_COMMON_LIBS) lib_LTLIBRARIES += libdlogutil.la libdlogutil_la_CFLAGS = \ $(AM_CFLAGS) \ -ULIBDLOGUTIL_EXPORT_API \ -DLIBDLOGUTIL_EXPORT_API=EXPORT_API \ -fvisibility=hidden libdlogutil_la_LDFLAGS = \ $(AM_LDFLAGS) \ -lcap libdlogutil_la_SOURCES = \ src/libdlogutil/lib.c \ src/libdlogutil/privilege.c \ src/libdlogutil/sort_vector.c \ src/libdlogutil/fd_info.c \ src/libdlogutil/fdi_pipe.c \ src/libdlogutil/fdi_logger.c \ src/shared/backend_androidlogger.c \ src/shared/logcommon.c \ src/shared/logprint.c \ src/shared/parsers.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/translate_syslog.c \ src/shared/log_file.c \ src/shared/ptrs_list.c \ src/shared/logconfig.c \ src/libdlogutil/logretrieve.c libdlogutil_la_LIBADD = \ $(CAPI_BASE_COMMON_LIBS) bin_PROGRAMS = dlogutil dlogutil_CFLAGS = \ $(AM_CFLAGS) \ -fPIE dlogutil_LDFLAGS = \ $(AM_LDFLAGS) \ -lcap \ -pie dlogutil_DEPENDENCIES = \ libdlogutil.la dlogutil_LDADD = \ libdlogutil.la dlogutil_SOURCES = \ src/logutil/logutil.c \ src/shared/logcommon.c \ src/shared/logprint.c \ src/shared/log_file.c \ src/shared/ptrs_list.c libexec_PROGRAMS = dlog-log-critical dlog_log_critical_CXXFLAGS = \ $(AM_CFLAGS) \ -std=c++14 \ -fPIE dlog_log_critical_LDFLAGS = \ $(AM_LDFLAGS) \ -pie dlog_log_critical_SOURCES = src/log-critical/log-critical.cpp bin_PROGRAMS += dlog_logger dlog_logger_CFLAGS = \ $(AM_CFLAGS) \ -fPIE dlog_logger_LDFLAGS = \ $(AM_LDFLAGS) \ -pie dlog_logger_SOURCES = \ external/sd-daemon/sd-daemon.c \ src/logger/logger.c \ src/logger/log_storage.c \ src/shared/backend_androidlogger.c \ src/shared/ptrs_list.c \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/logprint.c \ src/shared/parsers.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/translate_syslog.c \ src/shared/log_file.c bin_PROGRAMS += dlogsend dlogsend_CFLAGS = \ $(AM_CFLAGS) \ -fPIE dlogsend_LDFLAGS = \ $(AM_LDFLAGS) \ -pie dlogsend_DEPENDENCIES = \ libdlog.la dlogsend_LDADD = \ libdlog.la dlogsend_SOURCES = \ src/shared/ptrs_list.c \ src/shared/queued_entry_timestamp.c \ src/shared/logcommon.c \ src/logsend/logsend.c bin_PROGRAMS += dlogctl dlogctl_CFLAGS = \ $(AM_CFLAGS) \ -fPIE dlogctl_LDFLAGS = \ $(AM_LDFLAGS) \ -pie dlogctl_SOURCES = \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/parsers.c \ src/libdlog/loglimiter.c \ src/logctl/logctl.c bin_PROGRAMS += dlog_cleanup dlog_cleanup_CFLAGS = \ $(AM_CFLAGS) \ -fPIE dlog_cleanup_LDFLAGS = \ $(AM_LDFLAGS) \ -pie dlog_cleanup_SOURCES = \ src/logcleanup/cleanup.c usrlibexeclibdlogdir = /usr/libexec/libdlog usrlibexeclibdlog_PROGRAMS = test_libdlog test_libdlog_CFLAGS = \ $(AM_CFLAGS) \ -fPIE test_libdlog_LDFLAGS = \ $(AM_LDFLAGS) \ -pie test_libdlog_DEPENDENCIES = \ libdlog.la test_libdlog_LDADD = \ libdlog.la test_libdlog_SOURCES = \ tests/test_libdlog.c usrlibexeclibdlog_PROGRAMS += test_filters test_filters_CFLAGS = \ $(AM_CFLAGS) \ -fPIE test_filters_LDFLAGS = \ $(AM_LDFLAGS) \ -pie test_filters_DEPENDENCIES = \ libdlog.la test_filters_LDADD = \ libdlog.la test_filters_SOURCES = \ tests/test_filters.c usrlibexeclibdlog_PROGRAMS += perf_libdlog perf_libdlog_CFLAGS = \ $(AM_CFLAGS) \ -fPIE perf_libdlog_LDFLAGS = \ $(AM_LDFLAGS) \ -pie perf_libdlog_DEPENDENCIES = \ libdlog.la perf_libdlog_LDADD = \ libdlog.la perf_libdlog_SOURCES = \ tests/performance_test.c usrlibexeclibdlog_PROGRAMS += test_libdlogutil test_libdlogutil_CFLAGS = \ $(AM_CFLAGS) \ -fPIE test_libdlogutil_LDFLAGS = \ $(AM_LDFLAGS) \ -pie test_libdlogutil_DEPENDENCIES = \ libdlogutil.la test_libdlogutil_LDADD = \ libdlogutil.la test_libdlogutil_SOURCES = \ tests/test_libdlogutil.c check_PROGRAMS = \ src/tests/test_logger_log_storage \ src/tests/test_ptrs_list_pos \ src/tests/test_ptrs_list_neg \ src/tests/config \ src/tests/kmsg_parser_pos \ src/tests/kmsg_parser_neg \ src/tests/syslog_parser_pos \ src/tests/syslog_parser_neg \ src/tests/pipe_message \ src/tests/test_common \ src/tests/test_common_neg \ src/tests/test_common_pos \ src/tests/limiter_pos \ src/tests/limiter_neg \ src/tests/dynamic_config \ src/tests/sort_vector_pos \ src/tests/sort_vector_neg \ src/tests/fd_info_pos \ src/tests/fd_info_neg \ src/tests/fdi_logger_pos \ src/tests/fdi_logger_neg \ src/tests/fdi_pipe_pos \ src/tests/fdi_pipe_neg \ src/tests/libdlog_pipe \ src/tests/libdlog_android_pos \ src/tests/libdlog_android_neg \ src/tests/libdlog_android_monotonic_pos \ src/tests/libdlog_android_monotonic_neg \ src/tests/libdlog_base_pos \ src/tests/libdlog_base_neg \ src/tests/queued_entry_pos \ src/tests/queued_entry_neg \ src/tests/queued_entry_monotonic_pos \ src/tests/log_file \ src/tests/logctl \ src/tests/logprint \ src/tests/logger \ src/tests/logutil_pos \ src/tests/logutil_neg \ src/tests/critical_log \ src/tests/salvage_pipe_entry \ src/tests/filters check_CFLAGS = $(AM_CFLAGS) -O0 -fprofile-arcs -DUNIT_TEST \ -DEXIT_SKIP=77 -DEXIT_HARD_ERROR=99 # autotools convention exit codes TESTS = $(check_PROGRAMS) \ src/tests/lcov.sh # doesn't test anything, but generates a test summary src_tests_test_logger_log_storage_SOURCES = src/tests/test_logger_log_storage.c src/logger/log_storage.c src/shared/ptrs_list.c src/shared/queued_entry_timestamp.c src_tests_test_logger_log_storage_CFLAGS = $(check_CFLAGS) src_tests_test_logger_log_storage_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=malloc src_tests_test_ptrs_list_pos_SOURCES = src/tests/test_ptrs_list_pos.c src/shared/ptrs_list.c src_tests_test_ptrs_list_pos_CFLAGS = $(check_CFLAGS) src_tests_test_ptrs_list_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=free,--wrap=calloc src_tests_test_ptrs_list_neg_SOURCES = src/tests/test_ptrs_list_neg.c src/shared/ptrs_list.c src_tests_test_ptrs_list_neg_CFLAGS = $(check_CFLAGS) src_tests_test_ptrs_list_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=free,--wrap=calloc src_tests_test_common_SOURCES = src/tests/test_common.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src/shared/backend_androidlogger.c src_tests_test_common_CFLAGS = $(check_CFLAGS) src_tests_test_common_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sendmsg,--wrap=recvmsg,--wrap=writev,--wrap=read,--wrap=poll,--wrap=fcntl,--wrap=fcntl64,--wrap=malloc,--wrap=calloc,--wrap=connect,--wrap=socket,--wrap=open,--wrap=open64,--wrap=ioctl src_tests_test_common_neg_SOURCES = src/tests/test_common_neg.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src/shared/backend_androidlogger.c src_tests_test_common_neg_CFLAGS = $(check_CFLAGS) src_tests_test_common_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sendmsg,--wrap=recvmsg,--wrap=writev,--wrap=read,--wrap=poll,--wrap=fcntl,--wrap=fcntl64,--wrap=malloc,--wrap=calloc,--wrap=connect,--wrap=socket,--wrap=open,--wrap=open64,--wrap=ioctl src_tests_test_common_pos_SOURCES = src/tests/test_common_pos.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src/shared/backend_androidlogger.c src_tests_test_common_pos_CFLAGS = $(check_CFLAGS) src_tests_test_common_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sendmsg,--wrap=recvmsg,--wrap=writev,--wrap=read,--wrap=poll,--wrap=fcntl,--wrap=fcntl64,--wrap=malloc,--wrap=calloc,--wrap=connect,--wrap=socket,--wrap=open,--wrap=open64,--wrap=ioctl src_tests_limiter_pos_SOURCES = src/tests/limiter_pos.c src/libdlog/loglimiter.c src/shared/logconfig.c src/shared/logcommon.c src/shared/parsers.c src_tests_limiter_pos_CFLAGS = $(check_CFLAGS) src_tests_limiter_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=snprintf,--wrap=malloc,--wrap=time src_tests_limiter_neg_SOURCES = src/tests/limiter_neg.c src/libdlog/loglimiter.c src/shared/logconfig.c src/shared/logcommon.c src/shared/parsers.c src_tests_limiter_neg_CFLAGS = $(check_CFLAGS) src_tests_limiter_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=snprintf,--wrap=malloc,--wrap=time src_tests_dynamic_config_SOURCES = src/tests/dynamic_config.c src/libdlog/dynamic_config.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src_tests_dynamic_config_CFLAGS = $(check_CFLAGS) -pthread src_tests_dynamic_config_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=read,--wrap=syslog_critical_failure,--wrap=inotify_init1,--wrap=inotify_add_watch,--wrap=log_config_read_file,--wrap=asprintf,--wrap=pthread_mutex_trylock src_tests_sort_vector_pos_SOURCES = src/tests/sort_vector_pos.c src/libdlogutil/sort_vector.c src/shared/queued_entry_timestamp.c src/shared/logconfig.c src/shared/parsers.c src/shared/logcommon.c src_tests_sort_vector_pos_CFLAGS = $(check_CFLAGS) src_tests_sort_vector_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=log_config_get_int,--wrap=log_entry_is_earlier,--wrap=free,--wrap=clock_gettime src_tests_sort_vector_neg_SOURCES = src/tests/sort_vector_neg.c src/libdlogutil/sort_vector.c src/shared/queued_entry_timestamp.c src/shared/logconfig.c src/shared/parsers.c src/shared/logcommon.c src_tests_sort_vector_neg_CFLAGS = $(check_CFLAGS) src_tests_sort_vector_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=calloc src_tests_fd_info_pos_SOURCES = src/tests/fd_info_pos.c \ src/libdlogutil/fd_info.c \ src/libdlogutil/sort_vector.c \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/parsers.c \ src/shared/queued_entry_timestamp.c src_tests_fd_info_pos_CFLAGS = $(check_CFLAGS) src_tests_fd_info_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sort_vector_push,--wrap=malloc,--wrap=free,--wrap=close,--wrap=dlogutil_entry_get_timestamp,--wrap=log_should_print_line src_tests_fd_info_neg_SOURCES = src/tests/fd_info_neg.c \ src/libdlogutil/fd_info.c \ src/libdlogutil/sort_vector.c \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/parsers.c \ src/shared/queued_entry_timestamp.c src_tests_fd_info_neg_CFLAGS = $(check_CFLAGS) src_tests_fd_info_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sort_vector_push,--wrap=malloc,--wrap=free,--wrap=close,--wrap=dlogutil_entry_get_timestamp,--wrap=log_should_print_line src_tests_fdi_logger_pos_SOURCES = src/tests/fdi_logger_pos.c src/libdlogutil/fdi_logger.c src/shared/ptrs_list.c src/shared/logcommon.c src_tests_fdi_logger_pos_CFLAGS = $(check_CFLAGS) src_tests_fdi_logger_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config_get_path,--wrap=dlogutil_filter_options_set_filterspec,--wrap=parse_androidlogger_message,--wrap=copy_recv_timestamp,--wrap=malloc,--wrap=read,--wrap=close,--wrap=ioctl,--wrap=calloc src_tests_fdi_logger_neg_SOURCES = src/tests/fdi_logger_neg.c src/libdlogutil/fdi_logger.c src/shared/ptrs_list.c src/shared/logcommon.c src_tests_fdi_logger_neg_CFLAGS = $(check_CFLAGS) src_tests_fdi_logger_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config_get_path,--wrap=dlogutil_filter_options_set_filterspec,--wrap=parse_androidlogger_message,--wrap=copy_recv_timestamp,--wrap=malloc,--wrap=read,--wrap=close,--wrap=ioctl,--wrap=calloc src_tests_fdi_pipe_pos_SOURCES = src/tests/fdi_pipe_pos.c src/libdlogutil/fdi_pipe.c src/shared/logconfig.c src/shared/ptrs_list.c src/shared/logprint.c src/shared/parsers.c src/shared/logcommon.c src/shared/queued_entry_timestamp.c src_tests_fdi_pipe_pos_CFLAGS = $(check_CFLAGS) src_tests_fdi_pipe_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=connect_sock,--wrap=close,--wrap=malloc,--wrap=free,--wrap=send_dlog_request,--wrap=recv_dlog_reply,--wrap=read,--wrap=recv_pipe src_tests_fdi_pipe_neg_SOURCES = src/tests/fdi_pipe_neg.c src/libdlogutil/fdi_pipe.c src/shared/logconfig.c src/shared/ptrs_list.c src/shared/logprint.c src/shared/parsers.c src/shared/logcommon.c src/shared/queued_entry_timestamp.c src_tests_fdi_pipe_neg_CFLAGS = $(check_CFLAGS) src_tests_fdi_pipe_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=connect_sock,--wrap=close,--wrap=malloc,--wrap=free,--wrap=send_dlog_request,--wrap=recv_dlog_reply,--wrap=read,--wrap=recv_pipe src_tests_libdlog_pipe_SOURCES = src/tests/libdlog_pipe.c src/libdlog/log_pipe.c src/shared/logcommon.c src/shared/logconfig.c src/shared/queued_entry.c src/shared/translate_syslog.c src/shared/parsers.c src/shared/queued_entry_timestamp.c src_tests_libdlog_pipe_CFLAGS = $(check_CFLAGS) -pthread src_tests_libdlog_pipe_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=syslog_critical_failure,--wrap=connect,--wrap=write,--wrap=recv_pipe,--wrap=dup2,--wrap=socket,--wrap=close -lm src_tests_libdlog_android_pos_SOURCES = src/tests/libdlog_android_pos.c src/libdlog/log_android.c src/shared/logcommon.c src/shared/parsers.c src_tests_libdlog_android_pos_CFLAGS = $(check_CFLAGS) src_tests_libdlog_android_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config,--wrap=close,--wrap=writev src_tests_libdlog_android_neg_SOURCES = src/tests/libdlog_android_neg.c src/libdlog/log_android.c src/shared/logcommon.c src/shared/parsers.c src_tests_libdlog_android_neg_CFLAGS = $(check_CFLAGS) src_tests_libdlog_android_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config,--wrap=close,--wrap=writev src_tests_libdlog_android_monotonic_pos_SOURCES = src/tests/libdlog_android_pos.c src/libdlog/log_android.c src/shared/logcommon.c src/shared/parsers.c src_tests_libdlog_android_monotonic_pos_CFLAGS = $(check_CFLAGS) -DUSE_ANDROID_MONOTONIC src_tests_libdlog_android_monotonic_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config,--wrap=close,--wrap=writev,--wrap=clock_gettime src_tests_libdlog_android_monotonic_neg_SOURCES = src/tests/libdlog_android_neg.c src/libdlog/log_android.c src/shared/logcommon.c src/shared/parsers.c src_tests_libdlog_android_monotonic_neg_CFLAGS = $(check_CFLAGS) -DUSE_ANDROID_MONOTONIC src_tests_libdlog_android_monotonic_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config,--wrap=close,--wrap=writev,--wrap=clock_gettime src_tests_libdlog_base_pos_SOURCES = src/tests/libdlog_base_pos.c src/libdlog/log.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src_tests_libdlog_base_pos_CFLAGS = $(check_CFLAGS) -pthread src_tests_libdlog_base_pos_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=log_config_read,--wrap=snprintf src_tests_libdlog_base_neg_SOURCES = src/tests/libdlog_base_neg.c src/libdlog/log.c src/shared/logcommon.c src/shared/logconfig.c src/shared/parsers.c src_tests_libdlog_base_neg_CFLAGS = $(check_CFLAGS) -pthread src_tests_libdlog_base_neg_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=log_config_read,--wrap=snprintf src_tests_log_file_SOURCES = src/tests/log_file.c src/shared/log_file.c src_tests_log_file_CFLAGS = $(check_CFLAGS) src_tests_log_file_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=strdup,--wrap=free,--wrap=memcpy,--wrap=snprintf,--wrap=open,--wrap=open64,--wrap=fstat,--wrap=fstat64,--wrap=rename,--wrap=dlogutil_entry_get_timestamp,--wrap=log_print_log_line,--wrap=dlogutil_entry_get_tag,--wrap=isatty src_tests_queued_entry_pos_SOURCES = src/tests/queued_entry_pos.c src/shared/queued_entry.c src/shared/queued_entry_timestamp.c src/shared/parsers.c src/shared/translate_syslog.c src/shared/logconfig.c src/shared/logcommon.c src_tests_queued_entry_pos_CFLAGS = $(check_CFLAGS) src_tests_queued_entry_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=clock_gettime src_tests_queued_entry_neg_SOURCES = src/tests/queued_entry_neg.c src/shared/queued_entry.c src/shared/queued_entry_timestamp.c src/shared/parsers.c src/shared/translate_syslog.c src/shared/logconfig.c src/shared/logcommon.c src_tests_queued_entry_neg_CFLAGS = $(check_CFLAGS) src_tests_queued_entry_neg_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=clock_gettime src_tests_queued_entry_monotonic_pos_SOURCES = src/tests/queued_entry_pos.c src/shared/queued_entry.c src/shared/queued_entry_timestamp.c src/shared/parsers.c src/shared/translate_syslog.c src/shared/logconfig.c src/shared/logcommon.c src_tests_queued_entry_monotonic_pos_CFLAGS = $(check_CFLAGS) -DUSE_ANDROID_MONOTONIC src_tests_queued_entry_monotonic_pos_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=clock_gettime src_tests_logctl_SOURCES = src/tests/logctl.c src/logctl/logctl.c src/shared/parsers.c src/shared/logconfig.c src/libdlog/loglimiter.c src/shared/logcommon.c src_tests_logctl_CFLAGS = $(check_CFLAGS) src_tests_logctl_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=calloc,--wrap=asprintf,--wrap=open,--wrap=open64,--wrap=fdopen,--wrap=fdopen64,--wrap=mkstemp,--wrap=mkstemp64,--wrap=fchmod,--wrap=rename src_tests_config_SOURCES = src/tests/config.c src/shared/logconfig.c src/shared/logcommon.c src/shared/parsers.c src_tests_config_CFLAGS = $(check_CFLAGS) src_tests_config_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=openat64,--wrap=openat,--wrap=scandirat,--wrap=scandirat64,--wrap=fdopen,--wrap=fdopen64,--wrap=open,--wrap=open64,--wrap=calloc src_tests_logprint_SOURCES = src/tests/logprint.c src/shared/ptrs_list.c src/shared/logprint.c src/shared/logcommon.c src/shared/queued_entry.c src/shared/parsers.c src/shared/translate_syslog.c src/shared/queued_entry_timestamp.c src_tests_logprint_CFLAGS = $(check_CFLAGS) src_tests_logprint_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=write,--wrap=malloc,--wrap=calloc,--wrap=localtime,--wrap=strdup,--wrap=strndup,--wrap=list_add src_tests_logger_SOURCES = src/tests/logger.c $(dlog_logger_SOURCES) src_tests_logger_CFLAGS = $(check_CFLAGS) src_tests_logger_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=getgrnam_r,--wrap=getpwnam_r,--wrap=getegid,--wrap=geteuid,--wrap=setgid,--wrap=setuid,--wrap=socket,--wrap=unlink,--wrap=bind,--wrap=close,--wrap=chmod,--wrap=listen,--wrap=sysconf,--wrap=sd_listen_fds,--wrap=sd_is_socket_unix,--wrap=symlink,--wrap=calloc,--wrap=open,--wrap=open64,--wrap=fcntl,--wrap=fcntl64,--wrap=log_storage_reader_get_ready_bytes,--wrap=free,--wrap=logfile_free,--wrap=log_storage_add_new_entry,--wrap=log_storage_release_reader,--wrap=epoll_ctl,--wrap=log_storage_new_reader src_tests_logutil_pos_SOURCES = src/tests/logutil_pos.c \ src/libdlogutil/privilege.c \ src/libdlogutil/sort_vector.c \ src/libdlogutil/fd_info.c \ src/libdlogutil/fdi_pipe.c \ src/libdlogutil/fdi_logger.c \ src/libdlogutil/lib.c \ src/shared/backend_androidlogger.c \ src/shared/logcommon.c \ src/shared/logprint.c \ src/shared/parsers.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/translate_syslog.c \ src/shared/log_file.c \ src/shared/ptrs_list.c \ src/shared/logconfig.c \ src/libdlogutil/logretrieve.c src_tests_logutil_pos_CFLAGS = $(check_CFLAGS) src_tests_logutil_pos_LDFLAGS = $(AM_LDFLAGS) -lcap -Wl,--wrap=clock_gettime,--wrap=log_should_print_line,--wrap=fdi_push_log src_tests_logutil_neg_SOURCES = src/tests/logutil_neg.c \ src/libdlogutil/privilege.c \ src/libdlogutil/sort_vector.c \ src/libdlogutil/fd_info.c \ src/libdlogutil/fdi_pipe.c \ src/libdlogutil/fdi_logger.c \ src/libdlogutil/lib.c \ src/shared/backend_androidlogger.c \ src/shared/logcommon.c \ src/shared/logprint.c \ src/shared/parsers.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/translate_syslog.c \ src/shared/log_file.c \ src/shared/ptrs_list.c \ src/shared/logconfig.c \ src/libdlogutil/logretrieve.c src_tests_logutil_neg_CFLAGS = $(check_CFLAGS) src_tests_logutil_neg_LDFLAGS = $(AM_LDFLAGS) -lcap -Wl,--wrap=clock_gettime,--wrap=log_should_print_line,--wrap=fdi_push_log src_tests_kmsg_parser_pos_SOURCES = src/tests/kmsg_parser_pos.c \ src/shared/logcommon.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/ptrs_list.c \ src/shared/parsers.c \ src/shared/translate_syslog.c src_tests_kmsg_parser_pos_CFLAGS = $(check_CFLAGS) src_tests_kmsg_parser_pos_LDFLAGS = $(AM_LDFLAGS) src_tests_kmsg_parser_neg_SOURCES = src/tests/kmsg_parser_neg.c \ src/shared/logcommon.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/ptrs_list.c \ src/shared/parsers.c \ src/shared/translate_syslog.c src_tests_kmsg_parser_neg_CFLAGS = $(check_CFLAGS) src_tests_kmsg_parser_neg_LDFLAGS = $(AM_LDFLAGS) src_tests_syslog_parser_pos_SOURCES = src/tests/syslog_parser_pos.c \ src/shared/logcommon.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/ptrs_list.c \ src/shared/parsers.c \ src/shared/translate_syslog.c src_tests_syslog_parser_pos_CFLAGS = $(check_CFLAGS) src_tests_syslog_parser_pos_LDFLAGS = $(AM_LDFLAGS) src_tests_syslog_parser_neg_SOURCES = src/tests/syslog_parser_neg.c \ src/shared/logcommon.c \ src/shared/queued_entry.c \ src/shared/queued_entry_timestamp.c \ src/shared/ptrs_list.c \ src/shared/parsers.c \ src/shared/translate_syslog.c src_tests_syslog_parser_neg_CFLAGS = $(check_CFLAGS) src_tests_syslog_parser_neg_LDFLAGS = $(AM_LDFLAGS) src_tests_pipe_message_SOURCES = src/tests/pipe_message.c \ src/shared/queued_entry.c \ src/shared/translate_syslog.c \ src/shared/parsers.c src_tests_pipe_message_CFLAGS = $(check_CFLAGS) src_tests_pipe_message_LDFLAGS = $(AM_LDFLAGS) src_tests_salvage_pipe_entry_SOURCES = src/tests/salvage_pipe_entry.c \ src/shared/queued_entry.c \ src/shared/translate_syslog.c \ src/shared/parsers.c src_tests_salvage_pipe_entry_CFLAGS = $(check_CFLAGS) src_tests_salvage_pipe_entry_LDFLAGS = $(AM_LDFLAGS) src_tests_critical_log_SOURCES = src/tests/critical_log.c \ src/libdlog/log.c \ src/libdlog/loglimiter.c \ src/libdlog/dynamic_config.c \ src/shared/logcommon.c \ src/shared/logconfig.c \ src/shared/parsers.c src_tests_critical_log_CFLAGS = $(check_CFLAGS) -pthread src_tests_critical_log_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=execv,--wrap=clock_gettime src_tests_filters_SOURCES = src/tests/filters.c src/shared/ptrs_list.c src/shared/logcommon.c src/shared/logprint.c src/shared/queued_entry_timestamp.c src_tests_filters_CFLAGS = $(check_CFLAGS) src_tests_filters_LDFLAGS = $(AM_LDFLAGS) # conf file usrlibtmpfilesddir = /usr/lib/tmpfiles.d usrlibtmpfilesd_DATA = configs/dlog-run.conf pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = dlog.pc dlogutil.pc data_DATA = \ configs/dlog-pipe.conf.test \ configs/dlog-logger.conf.test \ configs/dlog-pipe.conf.cpu \ configs/dlog-logger.conf.cpu unitdir = $(prefix)/lib/systemd/system nodist_unit_DATA = configs/dlog_logger.service \ configs/dlog_cleanup.service unit_DATA = \ configs/dlog_dev-log.socket sysconf_DATA = configs/dlog.conf dlogconfdir = $(sysconfdir)/dlog.conf.d dlogconf_DATA = \ configs/10-persistent-logs.conf \ configs/20-pipe.conf \ configs/25-logger.conf \ configs/99-dlog-logger.disable-platform-logging-for-testsuite.conf bin_SCRIPTS = dlog_test dlog_cpu docdir = $(datadir)/doc/dlog doc_DATA = \ README.testsuite dox:: doxygen .PHONY: dox