2009-09-14 03:07:32 +02:00
|
|
|
|
2021-01-29 20:12:02 +01:00
|
|
|
include $(top_srcdir)/aminclude_static.am
|
|
|
|
|
2021-10-03 08:17:33 +02:00
|
|
|
SUBDIRS = tools fmtlib pcrepp base tailer pugixml yajl yajlpp formats/logfmt .
|
2019-05-08 14:30:59 +02:00
|
|
|
|
2013-04-19 07:46:49 +02:00
|
|
|
bin_PROGRAMS = lnav
|
|
|
|
|
2020-09-20 10:32:41 +02:00
|
|
|
noinst_PROGRAMS = lnav-test
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libdiag.a
|
|
|
|
|
2015-03-25 10:13:18 +01:00
|
|
|
PTIME_V = $(PTIME_V_@AM_V@)
|
|
|
|
PTIME_V_ = $(PTIME_V_@AM_DEFAULT_V@)
|
|
|
|
PTIME_V_0 = @echo " TIMEFMT " $@;
|
|
|
|
|
|
|
|
BIN2C_V = $(BIN2C_V_@AM_V@)
|
|
|
|
BIN2C_V_ = $(BIN2C_V_@AM_DEFAULT_V@)
|
|
|
|
BIN2C_V_0 = @echo " BIN2C " $@;
|
|
|
|
|
2015-06-08 15:27:45 +02:00
|
|
|
RE2C_V = $(RE2C_V_@AM_V@)
|
|
|
|
RE2C_V_ = $(RE2C_V_@AM_DEFAULT_V@)
|
|
|
|
RE2C_V_0 = @echo " RE2C " $@;
|
|
|
|
|
2021-02-13 21:41:48 +01:00
|
|
|
include formats/formats.am
|
2020-05-09 07:04:39 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
default-formats.h default-formats.cc: tools/bin2c$(BUILD_EXEEXT) $(FORMAT_FILES)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) -n lnav_format_json default-formats $(FORMAT_FILES)
|
2020-05-09 07:04:39 +02:00
|
|
|
|
2021-02-13 21:41:48 +01:00
|
|
|
include keymaps/keymaps.am
|
|
|
|
include themes/themes.am
|
|
|
|
|
2019-05-03 22:50:19 +02:00
|
|
|
CONFIG_FILES = \
|
|
|
|
$(srcdir)/root-config.json \
|
2021-02-13 21:41:48 +01:00
|
|
|
$(KEYMAP_FILES) \
|
|
|
|
$(THEME_FILES) \
|
2019-05-03 22:50:19 +02:00
|
|
|
$()
|
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
default-config.h default-config.cc: tools/bin2c$(BUILD_EXEEXT) $(CONFIG_FILES)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) -n lnav_config_json default-config $(CONFIG_FILES)
|
2019-05-03 22:50:19 +02:00
|
|
|
|
2021-02-13 21:41:48 +01:00
|
|
|
include scripts/scripts.am
|
2019-05-15 18:13:56 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
builtin-scripts.h builtin-scripts.cc: tools/bin2c$(BUILD_EXEEXT) $(BUILTIN_LNAVSCRIPTS)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) -n lnav_scripts builtin-scripts $(BUILTIN_LNAVSCRIPTS)
|
2016-01-05 15:18:58 +01:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
builtin-sh-scripts.h builtin-sh-scripts.cc: tools/bin2c$(BUILD_EXEEXT) $(BUILTIN_SHSCRIPTS)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) -n lnav_sh_scripts builtin-sh-scripts $(BUILTIN_SHSCRIPTS)
|
2015-12-29 05:30:04 +01:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
%-sh.cc: $(srcdir)/%.sh tools/bin2c$(BUILD_EXEEXT)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) $(*)-sh $<
|
2019-05-15 18:13:56 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
%-txt.cc %-txt.h: $(srcdir)/%.txt tools/bin2c$(BUILD_EXEEXT)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) $(*)-txt $<
|
2019-05-15 18:13:56 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
%-sql.cc %-sql.h: $(srcdir)/%.sql tools/bin2c$(BUILD_EXEEXT)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) $(*)-sql $<
|
2019-05-15 18:13:56 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
%-lnav.cc %-lnav.h: $(srcdir)/%.lnav tools/bin2c$(BUILD_EXEEXT)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) $(*)-lnav $<
|
2019-05-15 18:13:56 +02:00
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
%-json.cc %-json.h: $(srcdir)/%.json tools/bin2c$(BUILD_EXEEXT)
|
|
|
|
$(BIN2C_V)tools/bin2c$(BUILD_EXEEXT) $(*)-json $<
|
2017-01-21 16:41:28 +01:00
|
|
|
|
2021-02-15 07:44:14 +01:00
|
|
|
include time_formats.am
|
2014-03-22 16:02:48 +01:00
|
|
|
|
2020-09-20 10:32:41 +02:00
|
|
|
time_fmts.cc: ptimec$(BUILD_EXEEXT)
|
|
|
|
$(PTIME_V)./ptimec$(BUILD_EXEEXT) $(TIME_FORMATS) > $@
|
2014-03-22 16:02:48 +01:00
|
|
|
|
2015-06-08 15:27:45 +02:00
|
|
|
if HAVE_RE2C
|
|
|
|
%.cc: %.re
|
2018-10-17 16:03:33 +02:00
|
|
|
$(RE2C_V)$(RE2C_CMD) --tags -8 -o $@ $<
|
2015-06-08 15:27:45 +02:00
|
|
|
$(REC2_V)test $@ -ef $(srcdir)/$*.cc || cp $@ $(srcdir)/$*.cc
|
|
|
|
endif
|
|
|
|
|
2020-09-23 22:55:21 +02:00
|
|
|
lnav_config.$(OBJEXT): default-config.h
|
|
|
|
|
|
|
|
log_format_loader.$(OBJEXT): \
|
|
|
|
builtin-scripts.h \
|
|
|
|
builtin-sh-scripts.h \
|
|
|
|
default-formats.h
|
|
|
|
|
|
|
|
styling.$(OBJEXT): ansi-palette-json.h xterm-palette-json.h
|
|
|
|
|
|
|
|
view_helpers.$(OBJEXT): help-txt.h
|
|
|
|
|
2020-09-22 23:31:27 +02:00
|
|
|
LNAV_BUILT_FILES = \
|
|
|
|
ansi-palette-json.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
ansi-palette-json.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
builtin-scripts.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
builtin-scripts.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
builtin-sh-scripts.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
builtin-sh-scripts.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
default-config.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
default-config.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
default-formats.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
default-formats.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
help-txt.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
help-txt.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
init-sql.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
init-sql.cc \
|
2020-09-22 23:31:27 +02:00
|
|
|
time_fmts.cc \
|
|
|
|
xterm-palette-json.h \
|
2020-12-30 22:49:29 +01:00
|
|
|
xterm-palette-json.cc
|
2020-09-22 23:31:27 +02:00
|
|
|
|
2021-01-29 20:12:02 +01:00
|
|
|
AM_LIBS = $(CODE_COVERAGE_LIBS)
|
|
|
|
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
|
|
|
|
AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
AM_LDFLAGS = \
|
2013-08-28 16:28:31 +02:00
|
|
|
$(STATIC_LDFLAGS) \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_LDFLAGS) \
|
2015-03-29 10:19:51 +02:00
|
|
|
$(READLINE_LDFLAGS) \
|
2009-09-20 00:36:27 +02:00
|
|
|
$(SQLITE3_LDFLAGS) \
|
2020-09-03 00:02:42 +02:00
|
|
|
$(PCRE_LDFLAGS)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2014-03-03 07:26:41 +01:00
|
|
|
-DSYSCONFDIR='"$(sysconfdir)"' \
|
2021-03-24 06:23:08 +01:00
|
|
|
-DSQLITE_OMIT_LOAD_EXTENSION \
|
2019-05-04 16:07:39 +02:00
|
|
|
-I$(srcdir)/fmtlib \
|
2021-05-24 06:54:12 +02:00
|
|
|
-I$(srcdir)/third-party \
|
2009-10-14 21:42:58 +02:00
|
|
|
-Wall \
|
2021-01-29 20:12:02 +01:00
|
|
|
$(CODE_COVERAGE_CPPFLAGS) \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_CFLAGS) \
|
2015-03-29 10:19:51 +02:00
|
|
|
$(READLINE_CFLAGS) \
|
2015-07-07 05:53:42 +02:00
|
|
|
$(SQLITE3_CFLAGS) \
|
|
|
|
$(LIBCURL_CPPFLAGS)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
LDADD = \
|
|
|
|
libdiag.a \
|
2019-05-08 14:30:59 +02:00
|
|
|
base/libbase.a \
|
2021-10-03 08:17:33 +02:00
|
|
|
formats/logfmt/liblogfmt.a \
|
2019-05-08 14:30:59 +02:00
|
|
|
fmtlib/libcppfmt.a \
|
|
|
|
pcrepp/libpcrepp.a \
|
2020-12-24 00:01:21 +01:00
|
|
|
pugixml/libpugixml.a \
|
2021-05-01 17:33:16 +02:00
|
|
|
tailer/libtailerservice.a \
|
|
|
|
tailer/libtailercommon.a \
|
|
|
|
tailer/libtailerpp.a \
|
2019-05-08 14:30:59 +02:00
|
|
|
yajl/libyajl.a \
|
|
|
|
yajlpp/libyajlpp.a \
|
2009-09-14 03:07:32 +02:00
|
|
|
$(READLINE_LIBS) \
|
|
|
|
$(CURSES_LIB) \
|
2009-12-24 19:36:01 +01:00
|
|
|
$(SQLITE3_LIBS) \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_LIBS) \
|
2021-01-29 20:12:02 +01:00
|
|
|
$(LIBCURL)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2013-06-29 15:22:24 +02:00
|
|
|
dist_noinst_DATA = \
|
2017-04-07 15:58:03 +02:00
|
|
|
alpha-release.sh \
|
2019-05-15 18:13:56 +02:00
|
|
|
ansi-palette.json \
|
2020-05-09 18:55:06 +02:00
|
|
|
$(BUILTIN_LNAVSCRIPTS) \
|
|
|
|
$(BUILTIN_SHSCRIPTS) \
|
|
|
|
$(CONFIG_FILES) \
|
|
|
|
$(FORMAT_FILES) \
|
2019-05-15 18:13:56 +02:00
|
|
|
xterm-palette.json
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
noinst_HEADERS = \
|
2015-06-03 15:36:58 +02:00
|
|
|
all_logs_vtab.hh \
|
2020-10-29 05:17:57 +01:00
|
|
|
archive_manager.hh \
|
2021-01-17 07:23:20 +01:00
|
|
|
archive_manager.cfg.hh \
|
2017-04-23 16:11:21 +02:00
|
|
|
big_array.hh \
|
2020-12-30 22:49:29 +01:00
|
|
|
bin2c.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
bookmarks.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
bottom_status_source.hh \
|
2021-01-17 07:23:20 +01:00
|
|
|
bound_tags.hh \
|
2011-06-06 04:05:46 +02:00
|
|
|
byte_array.hh \
|
2013-05-24 16:55:56 +02:00
|
|
|
column_namer.hh \
|
2015-07-08 15:35:36 +02:00
|
|
|
command_executor.hh \
|
2015-08-02 15:43:57 +02:00
|
|
|
curl_looper.hh \
|
2011-06-18 22:42:07 +02:00
|
|
|
data_scanner.hh \
|
2015-06-08 15:27:45 +02:00
|
|
|
data_scanner_re.re \
|
2011-06-18 22:42:07 +02:00
|
|
|
data_parser.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
db_sub_source.hh \
|
2017-03-26 15:02:53 +02:00
|
|
|
doc_status_source.hh \
|
2022-04-30 22:05:42 +02:00
|
|
|
dump_internals.hh \
|
2016-04-29 08:34:13 +02:00
|
|
|
elem_to_json.hh \
|
2014-05-07 06:26:05 +02:00
|
|
|
environ_vtab.hh \
|
2015-07-09 07:26:54 +02:00
|
|
|
field_overlay_source.hh \
|
2020-11-10 07:17:17 +01:00
|
|
|
file_collection.hh \
|
2020-11-20 06:36:51 +01:00
|
|
|
file_format.hh \
|
2021-03-06 01:17:28 +01:00
|
|
|
file_vtab.cfg.hh \
|
2020-10-29 05:21:57 +01:00
|
|
|
files_sub_source.hh \
|
2015-03-28 14:30:30 +01:00
|
|
|
filter_observer.hh \
|
2018-11-09 18:45:19 +01:00
|
|
|
filter_status_source.hh \
|
|
|
|
filter_sub_source.hh \
|
2017-04-17 00:28:30 +02:00
|
|
|
fstat_vtab.hh \
|
2018-09-13 23:27:49 +02:00
|
|
|
fts_fuzzy_match.hh \
|
2012-07-13 18:26:47 +02:00
|
|
|
grep_highlighter.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
grep_proc.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
help.txt \
|
2019-05-08 14:30:59 +02:00
|
|
|
help_text.hh \
|
2017-03-26 15:02:53 +02:00
|
|
|
help_text_formatter.hh \
|
2017-04-05 16:05:19 +02:00
|
|
|
highlighter.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
hist_source.hh \
|
2015-07-09 07:26:54 +02:00
|
|
|
hotkeys.hh \
|
2013-06-12 06:10:59 +02:00
|
|
|
init.sql \
|
2018-12-14 15:18:31 +01:00
|
|
|
input_dispatcher.hh \
|
2013-06-23 02:40:21 +02:00
|
|
|
k_merge_tree.h \
|
2009-09-14 03:07:32 +02:00
|
|
|
line_buffer.hh \
|
|
|
|
listview_curses.hh \
|
2012-07-13 18:26:47 +02:00
|
|
|
lnav.hh \
|
2022-04-30 22:05:42 +02:00
|
|
|
lnav.indexing.hh \
|
|
|
|
lnav.management_cli.hh \
|
2012-07-13 18:26:47 +02:00
|
|
|
lnav_commands.hh \
|
2013-06-06 16:01:32 +02:00
|
|
|
lnav_config.hh \
|
2020-11-25 23:46:39 +01:00
|
|
|
lnav_config_fwd.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
lnav_util.hh \
|
2014-03-16 23:07:08 +01:00
|
|
|
log_accel.hh \
|
2018-11-09 18:45:19 +01:00
|
|
|
log_actions.hh \
|
2013-10-11 15:22:29 +02:00
|
|
|
log_data_helper.hh \
|
2013-05-29 16:28:57 +02:00
|
|
|
log_data_table.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
log_format.hh \
|
2020-11-20 06:36:51 +01:00
|
|
|
log_format_ext.hh \
|
2020-11-17 19:54:56 +01:00
|
|
|
log_format_fwd.hh \
|
2013-06-29 15:22:24 +02:00
|
|
|
log_format_loader.hh \
|
2018-10-26 06:38:08 +02:00
|
|
|
log_gutter_source.hh \
|
2018-05-25 15:32:01 +02:00
|
|
|
log_level.hh \
|
2018-10-17 16:03:33 +02:00
|
|
|
log_level_re.re \
|
2015-08-06 08:18:19 +02:00
|
|
|
log_search_table.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
logfile.hh \
|
2021-03-30 07:40:22 +02:00
|
|
|
logfile.cfg.hh \
|
2020-11-17 19:04:23 +01:00
|
|
|
logfile_fwd.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
logfile_sub_source.hh \
|
2017-03-19 15:50:01 +01:00
|
|
|
mapbox/recursive_wrapper.hpp \
|
|
|
|
mapbox/variant.hpp \
|
|
|
|
mapbox/variant_io.hpp \
|
|
|
|
mapbox/variant_visitor.hpp \
|
|
|
|
optional.hpp \
|
2015-07-07 05:53:42 +02:00
|
|
|
papertrail_proc.hh \
|
2021-11-05 23:13:16 +01:00
|
|
|
pcap_manager.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
piper_proc.hh \
|
2015-07-08 15:35:36 +02:00
|
|
|
plain_text_source.hh \
|
2015-03-28 14:30:30 +01:00
|
|
|
pretty_printer.hh \
|
2017-04-02 16:17:31 +02:00
|
|
|
preview_status_source.hh \
|
2014-03-22 16:02:48 +01:00
|
|
|
ptimec.hh \
|
2015-07-08 15:35:36 +02:00
|
|
|
readline_callbacks.hh \
|
2022-03-13 23:49:41 +01:00
|
|
|
readline_context.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
readline_curses.hh \
|
2014-03-04 16:38:33 +01:00
|
|
|
readline_highlighters.hh \
|
2015-07-09 07:26:54 +02:00
|
|
|
readline_possibilities.hh \
|
2022-04-30 22:05:42 +02:00
|
|
|
regex101.client.hh \
|
|
|
|
regex101.import.hh \
|
2017-03-16 01:01:58 +01:00
|
|
|
regexp_vtab.hh \
|
2015-09-14 17:56:42 +02:00
|
|
|
relative_time.hh \
|
2018-12-14 16:33:01 +01:00
|
|
|
ring_span.hh \
|
2020-11-01 06:19:41 +01:00
|
|
|
safe/accessmode.h \
|
|
|
|
safe/defaulttypes.h \
|
|
|
|
safe/mutableref.h \
|
|
|
|
safe/safe.h \
|
2021-01-23 23:26:02 +01:00
|
|
|
service_tags.hh \
|
2013-05-31 17:01:31 +02:00
|
|
|
session_data.hh \
|
2014-02-01 15:41:11 +01:00
|
|
|
shared_buffer.hh \
|
2015-12-19 07:39:27 +01:00
|
|
|
shlex.hh \
|
2022-03-13 23:49:41 +01:00
|
|
|
shlex.resolver.hh \
|
2018-10-17 16:03:33 +02:00
|
|
|
simdutf8check.h \
|
2016-03-20 23:24:46 +01:00
|
|
|
spectro_source.hh \
|
2022-03-13 23:49:41 +01:00
|
|
|
sqlitepp.hh \
|
|
|
|
sql_help.hh \
|
2013-06-06 16:01:32 +02:00
|
|
|
sql_util.hh \
|
2017-03-27 06:01:49 +02:00
|
|
|
sqlite-extension-func.hh \
|
2021-03-28 22:50:26 +02:00
|
|
|
styling.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
statusview_curses.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
strong_int.hh \
|
2014-11-19 15:12:43 +01:00
|
|
|
sysclip.hh \
|
2021-09-16 06:29:55 +02:00
|
|
|
sysclip.cfg.hh \
|
2009-10-14 21:42:58 +02:00
|
|
|
termios_guard.hh \
|
2014-02-23 08:03:15 +01:00
|
|
|
term_extra.hh \
|
2017-02-19 07:35:18 +01:00
|
|
|
text_format.hh \
|
2018-11-09 18:45:19 +01:00
|
|
|
textfile_highlighters.hh \
|
2011-05-14 03:39:45 +02:00
|
|
|
textfile_sub_source.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
textview_curses.hh \
|
2020-11-20 06:36:51 +01:00
|
|
|
textview_curses_fwd.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
time_T.hh \
|
2015-04-23 06:34:49 +02:00
|
|
|
timer.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
top_status_source.hh \
|
2018-04-03 16:36:09 +02:00
|
|
|
unique_path.hh \
|
2015-08-02 15:43:57 +02:00
|
|
|
url_loader.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
view_curses.hh \
|
2020-11-10 07:17:17 +01:00
|
|
|
view_helpers.hh \
|
2022-03-13 23:49:41 +01:00
|
|
|
view_helpers.examples.hh \
|
2022-04-30 22:05:42 +02:00
|
|
|
view_helpers.hist.hh \
|
2015-07-22 16:09:51 +02:00
|
|
|
views_vtab.hh \
|
2020-11-17 19:04:23 +01:00
|
|
|
vis_line.hh \
|
2009-09-14 03:07:32 +02:00
|
|
|
vt52_curses.hh \
|
2017-03-14 14:05:46 +01:00
|
|
|
vtab_module.hh \
|
2020-11-17 19:04:23 +01:00
|
|
|
vtab_module_json.hh \
|
2009-09-30 01:21:33 +02:00
|
|
|
log_vtab_impl.hh \
|
2012-04-24 23:31:35 +02:00
|
|
|
log_format_impls.cc \
|
2021-02-07 07:13:08 +01:00
|
|
|
xml_util.hh \
|
2020-12-24 00:01:21 +01:00
|
|
|
xpath_vtab.hh \
|
2013-05-31 17:01:31 +02:00
|
|
|
xterm_mouse.hh \
|
2016-03-02 14:54:42 +01:00
|
|
|
spookyhash/SpookyV2.h \
|
2020-10-21 07:54:59 +02:00
|
|
|
ghc/filesystem.hpp \
|
|
|
|
ghc/fs_fwd.hpp \
|
|
|
|
ghc/fs_impl.hpp \
|
|
|
|
ghc/fs_std.hpp \
|
|
|
|
ghc/fs_std_fwd.hpp \
|
|
|
|
ghc/fs_std_impl.hpp \
|
2020-11-10 08:11:49 +01:00
|
|
|
ww898/cp_utf8.hpp
|
2015-03-14 11:12:36 +01:00
|
|
|
|
2020-09-22 23:31:27 +02:00
|
|
|
nodist_libdiag_a_SOURCES = \
|
2020-09-24 01:00:56 +02:00
|
|
|
$(LNAV_BUILT_FILES)
|
2020-09-22 23:31:27 +02:00
|
|
|
|
2021-03-24 06:23:08 +01:00
|
|
|
THIRD_PARTY_SRCS = \
|
2021-05-24 20:54:27 +02:00
|
|
|
third-party/backward-cpp/backward.hpp \
|
2022-04-30 22:05:42 +02:00
|
|
|
third-party/CLI/StringTools.hpp \
|
|
|
|
third-party/CLI/App.hpp \
|
|
|
|
third-party/CLI/Macros.hpp \
|
|
|
|
third-party/CLI/Option.hpp \
|
|
|
|
third-party/CLI/Config.hpp \
|
|
|
|
third-party/CLI/CLI.hpp \
|
|
|
|
third-party/CLI/Formatter.hpp \
|
|
|
|
third-party/CLI/Error.hpp \
|
|
|
|
third-party/CLI/Version.hpp \
|
|
|
|
third-party/CLI/Timer.hpp \
|
|
|
|
third-party/CLI/FormatterFwd.hpp \
|
|
|
|
third-party/CLI/Validators.hpp \
|
|
|
|
third-party/CLI/Split.hpp \
|
|
|
|
third-party/CLI/TypeTools.hpp \
|
|
|
|
third-party/CLI/ConfigFwd.hpp \
|
2021-09-27 07:01:40 +02:00
|
|
|
third-party/doctest-root/doctest/doctest.h \
|
2021-03-28 22:50:26 +02:00
|
|
|
third-party/sqlite/ext/dbdump.c \
|
2021-03-24 06:23:08 +01:00
|
|
|
third-party/sqlite/ext/series.c
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
libdiag_a_SOURCES = \
|
2021-03-24 06:23:08 +01:00
|
|
|
$(THIRD_PARTY_SRCS) \
|
2020-11-10 07:17:17 +01:00
|
|
|
all_logs_vtab.cc \
|
2020-10-29 05:17:57 +01:00
|
|
|
archive_manager.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
bookmarks.cc \
|
2019-02-05 16:30:57 +01:00
|
|
|
bottom_status_source.cc \
|
2013-05-24 16:55:56 +02:00
|
|
|
collation-functions.cc \
|
2019-06-16 16:26:47 +02:00
|
|
|
column_namer.cc \
|
2015-07-08 15:35:36 +02:00
|
|
|
command_executor.cc \
|
2015-08-02 15:43:57 +02:00
|
|
|
curl_looper.cc \
|
2021-01-29 20:12:02 +01:00
|
|
|
data_scanner.cc \
|
|
|
|
data_scanner_re.cc \
|
2014-03-11 13:37:13 +01:00
|
|
|
db_sub_source.cc \
|
2022-04-30 22:05:42 +02:00
|
|
|
dump_internals.cc \
|
2016-04-29 08:34:13 +02:00
|
|
|
elem_to_json.cc \
|
2014-05-07 06:26:05 +02:00
|
|
|
environ_vtab.cc \
|
2017-03-27 06:01:49 +02:00
|
|
|
extension-functions.cc \
|
2015-07-09 07:26:54 +02:00
|
|
|
field_overlay_source.cc \
|
2020-11-10 07:17:17 +01:00
|
|
|
file_collection.cc \
|
2020-11-20 06:36:51 +01:00
|
|
|
file_format.cc \
|
2020-10-29 05:21:57 +01:00
|
|
|
files_sub_source.cc \
|
2019-02-01 22:31:28 +01:00
|
|
|
filter_observer.cc \
|
2018-11-09 18:45:19 +01:00
|
|
|
filter_status_source.cc \
|
|
|
|
filter_sub_source.cc \
|
2017-04-17 00:07:41 +02:00
|
|
|
fstat_vtab.cc \
|
2013-05-29 08:29:13 +02:00
|
|
|
fs-extension-functions.cc \
|
2018-09-13 23:27:49 +02:00
|
|
|
fts_fuzzy_match.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
grep_proc.cc \
|
2020-11-20 06:36:51 +01:00
|
|
|
help_text.cc \
|
2017-03-26 15:02:53 +02:00
|
|
|
help_text_formatter.cc \
|
2019-07-30 16:06:16 +02:00
|
|
|
highlighter.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
hist_source.cc \
|
2015-07-09 07:26:54 +02:00
|
|
|
hotkeys.cc \
|
2018-12-14 15:18:31 +01:00
|
|
|
input_dispatcher.cc \
|
2014-05-05 15:44:58 +02:00
|
|
|
json-extension-functions.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
line_buffer.cc \
|
|
|
|
listview_curses.cc \
|
2012-07-13 18:26:47 +02:00
|
|
|
lnav_commands.cc \
|
2013-06-06 16:01:32 +02:00
|
|
|
lnav_config.cc \
|
2013-06-02 23:20:15 +02:00
|
|
|
lnav_util.cc \
|
2014-03-16 23:07:08 +01:00
|
|
|
log_accel.cc \
|
2018-11-09 18:45:19 +01:00
|
|
|
log_actions.cc \
|
2021-02-07 07:13:08 +01:00
|
|
|
log_data_helper.cc \
|
2020-12-19 07:35:23 +01:00
|
|
|
log_data_table.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
log_format.cc \
|
2013-06-29 15:22:24 +02:00
|
|
|
log_format_loader.cc \
|
2018-05-25 15:32:01 +02:00
|
|
|
log_level.cc \
|
2018-10-17 16:03:33 +02:00
|
|
|
log_level_re.cc \
|
2020-11-17 19:04:23 +01:00
|
|
|
log_search_table.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
logfile.cc \
|
|
|
|
logfile_sub_source.cc \
|
2013-05-24 16:55:56 +02:00
|
|
|
network-extension-functions.cc \
|
2011-06-18 22:42:07 +02:00
|
|
|
data_parser.cc \
|
2015-07-15 05:15:48 +02:00
|
|
|
papertrail_proc.cc \
|
2021-11-05 23:13:16 +01:00
|
|
|
pcap_manager.cc \
|
2015-07-09 07:26:54 +02:00
|
|
|
pretty_printer.cc \
|
2014-03-22 16:02:48 +01:00
|
|
|
ptimec_rt.cc \
|
2015-07-08 15:35:36 +02:00
|
|
|
readline_callbacks.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
readline_curses.cc \
|
2014-03-04 16:38:33 +01:00
|
|
|
readline_highlighters.cc \
|
2015-07-09 07:26:54 +02:00
|
|
|
readline_possibilities.cc \
|
2022-04-30 22:05:42 +02:00
|
|
|
regex101.client.cc \
|
|
|
|
regex101.import.cc \
|
2017-03-16 01:01:58 +01:00
|
|
|
regexp_vtab.cc \
|
2015-09-14 17:56:42 +02:00
|
|
|
relative_time.cc \
|
2013-05-31 17:01:31 +02:00
|
|
|
session_data.cc \
|
2014-02-01 15:41:11 +01:00
|
|
|
shared_buffer.cc \
|
2015-12-19 07:39:27 +01:00
|
|
|
shlex.cc \
|
2020-11-20 06:36:51 +01:00
|
|
|
spectro_source.cc \
|
2017-03-27 06:01:49 +02:00
|
|
|
sqlite-extension-func.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
statusview_curses.cc \
|
2013-06-08 15:10:18 +02:00
|
|
|
string-extension-functions.cc \
|
2019-06-27 06:52:40 +02:00
|
|
|
styling.cc \
|
2017-02-19 07:35:18 +01:00
|
|
|
text_format.cc \
|
2020-10-29 05:23:16 +01:00
|
|
|
textfile_sub_source.cc \
|
2015-04-23 06:34:49 +02:00
|
|
|
timer.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
piper_proc.cc \
|
2021-03-28 22:50:26 +02:00
|
|
|
sql_commands.cc \
|
2013-06-06 16:01:32 +02:00
|
|
|
sql_util.cc \
|
2013-06-22 19:01:13 +02:00
|
|
|
state-extension-functions.cc \
|
2014-11-19 15:12:43 +01:00
|
|
|
sysclip.cc \
|
2018-11-09 18:45:19 +01:00
|
|
|
textfile_highlighters.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
textview_curses.cc \
|
2015-10-03 23:58:01 +02:00
|
|
|
time-extension-functions.cc \
|
2020-11-25 23:46:39 +01:00
|
|
|
top_status_source.cc \
|
2020-11-20 06:36:51 +01:00
|
|
|
unique_path.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
view_curses.cc \
|
2018-11-09 18:45:19 +01:00
|
|
|
view_helpers.cc \
|
2015-07-22 16:09:51 +02:00
|
|
|
views_vtab.cc \
|
2009-09-14 03:07:32 +02:00
|
|
|
vt52_curses.cc \
|
2017-03-14 14:05:46 +01:00
|
|
|
vtab_module.cc \
|
2012-04-24 23:31:35 +02:00
|
|
|
log_vtab_impl.cc \
|
2021-02-07 07:13:08 +01:00
|
|
|
xml_util.cc \
|
2020-12-24 00:01:21 +01:00
|
|
|
xpath_vtab.cc \
|
2013-05-31 17:01:31 +02:00
|
|
|
xterm_mouse.cc \
|
2019-05-08 14:30:59 +02:00
|
|
|
spookyhash/SpookyV2.cpp
|
2015-03-14 11:12:36 +01:00
|
|
|
|
2021-01-17 07:23:20 +01:00
|
|
|
PLUGIN_SRCS = \
|
|
|
|
file_vtab.cc
|
|
|
|
|
2020-09-23 22:55:21 +02:00
|
|
|
lnav.$(OBJEXT): help-txt.h init-sql.h
|
|
|
|
|
2022-04-30 22:05:42 +02:00
|
|
|
lnav_SOURCES = \
|
|
|
|
lnav.cc \
|
|
|
|
lnav.indexing.cc \
|
|
|
|
lnav.management_cli.cc \
|
|
|
|
$(PLUGIN_SRCS)
|
2011-07-17 18:41:41 +02:00
|
|
|
|
2022-04-30 22:05:42 +02:00
|
|
|
lnav_test_SOURCES = \
|
|
|
|
lnav.cc \
|
|
|
|
lnav.indexing.cc \
|
|
|
|
lnav.management_cli.cc \
|
|
|
|
test_override.c \
|
|
|
|
$(PLUGIN_SRCS)
|
2013-06-08 15:10:18 +02:00
|
|
|
|
2020-09-20 10:32:41 +02:00
|
|
|
ptimec$(BUILD_EXEEXT): ptimec.c
|
2021-09-23 21:37:27 +02:00
|
|
|
$(AM_V_CC) $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -g3 -o $@ $?
|
2014-03-22 16:02:48 +01:00
|
|
|
|
2020-09-17 08:14:05 +02:00
|
|
|
if HAVE_RE2C
|
2020-09-22 22:50:37 +02:00
|
|
|
RE2C_FILES = data_scanner_re.cc log_level_re.cc
|
2020-09-17 08:14:05 +02:00
|
|
|
endif
|
|
|
|
|
2020-09-20 10:32:41 +02:00
|
|
|
EXTRA_DIST = \
|
|
|
|
ptimec.c
|
|
|
|
|
|
|
|
CLEANFILES = \
|
2021-05-01 17:33:16 +02:00
|
|
|
ptimec$(BUILD_EXEEXT)
|
2020-09-20 10:32:41 +02:00
|
|
|
|
2013-10-11 15:22:29 +02:00
|
|
|
DISTCLEANFILES = \
|
2020-09-24 01:00:56 +02:00
|
|
|
$(LNAV_BUILT_FILES) \
|
2020-09-24 01:20:11 +02:00
|
|
|
$(RE2C_FILES)
|
2011-07-18 15:53:57 +02:00
|
|
|
|
2022-04-30 22:05:42 +02:00
|
|
|
distclean-local:
|
|
|
|
$(RM_V)rm -rf *.dSYM
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
uncrusty:
|
|
|
|
(cd $(srcdir) && uncrustify -c ../lnav.cfg --replace $(SOURCES) \
|
|
|
|
$(HEADERS))
|
2017-04-06 18:38:25 +02:00
|
|
|
|
2020-09-18 20:11:20 +02:00
|
|
|
if !DISABLE_DOCUMENTATION
|
2020-05-07 16:08:59 +02:00
|
|
|
all-local: lnav
|
2021-06-21 23:34:13 +02:00
|
|
|
if test -w $(srcdir)/internals; then \
|
|
|
|
env DUMP_INTERNALS_DIR=$(srcdir)/internals DUMP_CRASH=1 ./lnav Makefile; \
|
|
|
|
mv $(srcdir)/internals/*.schema.json $(top_srcdir)/docs/schemas; \
|
|
|
|
fi
|
2020-09-18 20:11:20 +02:00
|
|
|
endif
|
2020-05-07 16:08:59 +02:00
|
|
|
|
2017-04-06 18:38:25 +02:00
|
|
|
install-exec-hook:
|
2017-04-07 16:09:20 +02:00
|
|
|
bash $(srcdir)/alpha-release.sh
|