2009-09-14 01:07:32 +00:00
|
|
|
|
2013-04-19 05:46:49 +00:00
|
|
|
bin_PROGRAMS = lnav
|
|
|
|
|
2013-06-08 13:10:18 +00:00
|
|
|
noinst_PROGRAMS = bin2c lnav-test
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libdiag.a
|
|
|
|
|
2013-06-12 04:10:59 +00:00
|
|
|
help.c: $(srcdir)/help.txt bin2c
|
2013-06-16 00:45:33 +00:00
|
|
|
./bin2c -z -c $(srcdir)/help.txt $@
|
2013-06-12 04:10:59 +00:00
|
|
|
|
2013-06-12 13:59:48 +00:00
|
|
|
init.sql: $(srcdir)/init_sql.py
|
2013-06-16 00:45:33 +00:00
|
|
|
$(PYTHON) $(srcdir)/init_sql.py > $@
|
2013-06-12 13:59:48 +00:00
|
|
|
|
2013-06-16 00:45:33 +00:00
|
|
|
init-sql.c: $(srcdir)/init.sql bin2c
|
|
|
|
./bin2c -z -c $(srcdir)/init.sql $@
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
AM_LDFLAGS = \
|
2009-09-19 22:36:27 +00:00
|
|
|
$(SQLITE3_LDFLAGS) \
|
2010-01-24 20:25:34 +00:00
|
|
|
$(PCRE_LDFLAGS) \
|
2012-05-11 01:10:24 +00:00
|
|
|
-pthread \
|
2010-08-17 16:40:39 +00:00
|
|
|
$(STATIC_LDFLAGS)
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2009-10-14 19:42:58 +00:00
|
|
|
-Wall \
|
2009-10-06 21:14:49 +00:00
|
|
|
$(SQLITE3_CFLAGS)
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
LDADD = \
|
|
|
|
libdiag.a \
|
|
|
|
$(READLINE_LIBS) \
|
|
|
|
$(CURSES_LIB) \
|
2009-12-24 18:36:01 +00:00
|
|
|
$(SQLITE3_LIBS) \
|
2013-05-24 14:55:56 +00:00
|
|
|
-lpcrecpp \
|
|
|
|
-lcrypto
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2013-06-08 17:51:54 +00:00
|
|
|
ansi_scrubber.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
auto_fd.hh \
|
|
|
|
auto_mem.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
bookmarks.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
bottom_status_source.hh \
|
2011-06-06 02:05:46 +00:00
|
|
|
byte_array.hh \
|
2013-05-24 14:55:56 +00:00
|
|
|
column_namer.hh \
|
2011-06-18 20:42:07 +00:00
|
|
|
data_scanner.hh \
|
|
|
|
data_parser.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
db_sub_source.hh \
|
2012-07-13 16:26:47 +00:00
|
|
|
grapher.hh \
|
|
|
|
grep_highlighter.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
grep_proc.hh \
|
|
|
|
help.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
help.txt \
|
2009-09-14 01:07:32 +00:00
|
|
|
hist_source.hh \
|
2013-06-12 04:10:59 +00:00
|
|
|
init.sql \
|
|
|
|
init-sql.hh \
|
2013-06-23 00:40:21 +00:00
|
|
|
k_merge_tree.h \
|
2009-09-14 01:07:32 +00:00
|
|
|
line_buffer.hh \
|
|
|
|
listview_curses.hh \
|
2012-07-13 16:26:47 +00:00
|
|
|
lnav.hh \
|
|
|
|
lnav_commands.hh \
|
2013-06-06 14:01:32 +00:00
|
|
|
lnav_config.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
lnav_util.hh \
|
2013-05-29 14:28:57 +00:00
|
|
|
log_data_table.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
log_format.hh \
|
|
|
|
logfile.hh \
|
|
|
|
logfile_sub_source.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
pcrepp.hh \
|
|
|
|
piper_proc.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
readline_curses.hh \
|
2011-06-06 02:05:46 +00:00
|
|
|
sequence_matcher.hh \
|
|
|
|
sequence_sink.hh \
|
2013-05-31 15:01:31 +00:00
|
|
|
session_data.hh \
|
2013-06-06 14:01:32 +00:00
|
|
|
sql_util.hh \
|
|
|
|
sqlite-extension-func.h \
|
2013-05-29 14:28:57 +00:00
|
|
|
status_controllers.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
statusview_curses.hh \
|
2013-05-24 14:55:56 +00:00
|
|
|
strnatcmp.h \
|
2009-09-29 23:21:33 +00:00
|
|
|
strong_int.hh \
|
2009-10-14 19:42:58 +00:00
|
|
|
termios_guard.hh \
|
2011-05-14 01:39:45 +00:00
|
|
|
textfile_sub_source.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
textview_curses.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
time_T.hh \
|
|
|
|
top_status_source.hh \
|
2009-09-14 01:07:32 +00:00
|
|
|
view_curses.hh \
|
|
|
|
vt52_curses.hh \
|
2009-09-29 23:21:33 +00:00
|
|
|
log_vtab_impl.hh \
|
2012-04-24 21:31:35 +00:00
|
|
|
log_format_impls.cc \
|
2013-05-31 15:01:31 +00:00
|
|
|
xterm_mouse.hh \
|
|
|
|
yajlpp.hh \
|
|
|
|
yajl/api/yajl_common.h \
|
|
|
|
yajl/api/yajl_gen.h \
|
|
|
|
yajl/api/yajl_parse.h \
|
|
|
|
yajl/api/yajl_tree.h \
|
|
|
|
yajl/yajl_alloc.h \
|
|
|
|
yajl/yajl_buf.h \
|
|
|
|
yajl/yajl_bytestack.h \
|
|
|
|
yajl/yajl_common.h \
|
|
|
|
yajl/yajl_encode.h \
|
|
|
|
yajl/yajl_lex.h \
|
|
|
|
yajl/yajl_parser.h \
|
|
|
|
yajl/yajl_version.h
|
2009-09-14 01:07:32 +00:00
|
|
|
|
|
|
|
libdiag_a_SOURCES = \
|
2013-06-08 17:51:54 +00:00
|
|
|
ansi_scrubber.cc \
|
2009-09-14 01:07:32 +00:00
|
|
|
bookmarks.cc \
|
2013-05-24 14:55:56 +00:00
|
|
|
collation-functions.cc \
|
|
|
|
extension-functions.c \
|
2013-05-29 06:29:13 +00:00
|
|
|
fs-extension-functions.cc \
|
2009-09-14 01:07:32 +00:00
|
|
|
grep_proc.cc \
|
|
|
|
hist_source.cc \
|
|
|
|
line_buffer.cc \
|
|
|
|
listview_curses.cc \
|
2012-07-13 16:26:47 +00:00
|
|
|
lnav_commands.cc \
|
2013-06-06 14:01:32 +00:00
|
|
|
lnav_config.cc \
|
2013-06-02 21:20:15 +00:00
|
|
|
lnav_util.cc \
|
2009-09-14 01:07:32 +00:00
|
|
|
log_format.cc \
|
|
|
|
logfile.cc \
|
|
|
|
logfile_sub_source.cc \
|
2013-05-24 14:55:56 +00:00
|
|
|
network-extension-functions.cc \
|
2011-06-13 14:46:03 +00:00
|
|
|
data_scanner.cc \
|
2011-06-18 20:42:07 +00:00
|
|
|
data_parser.cc \
|
2009-09-14 01:07:32 +00:00
|
|
|
readline_curses.cc \
|
2013-05-31 15:01:31 +00:00
|
|
|
session_data.cc \
|
2011-06-06 02:05:46 +00:00
|
|
|
sequence_matcher.cc \
|
2013-06-06 14:01:32 +00:00
|
|
|
sqlite-extension-func.c \
|
2009-09-14 01:07:32 +00:00
|
|
|
statusview_curses.cc \
|
2013-06-08 13:10:18 +00:00
|
|
|
string-extension-functions.cc \
|
2013-06-12 04:10:59 +00:00
|
|
|
pcrepp.cc \
|
2009-09-14 01:07:32 +00:00
|
|
|
piper_proc.cc \
|
2013-06-06 14:01:32 +00:00
|
|
|
sql_util.cc \
|
2013-06-22 17:01:13 +00:00
|
|
|
state-extension-functions.cc \
|
2013-05-24 14:55:56 +00:00
|
|
|
strnatcmp.c \
|
2009-09-14 01:07:32 +00:00
|
|
|
textview_curses.cc \
|
|
|
|
view_curses.cc \
|
|
|
|
vt52_curses.cc \
|
2012-04-24 21:31:35 +00:00
|
|
|
log_vtab_impl.cc \
|
2013-05-31 15:01:31 +00:00
|
|
|
xterm_mouse.cc \
|
|
|
|
yajlpp.cc \
|
|
|
|
yajl/yajl.c \
|
|
|
|
yajl/yajl_alloc.c \
|
|
|
|
yajl/yajl_alloc.h \
|
|
|
|
yajl/yajl_buf.c \
|
|
|
|
yajl/yajl_buf.h \
|
|
|
|
yajl/yajl_bytestack.h \
|
|
|
|
yajl/yajl_encode.c \
|
|
|
|
yajl/yajl_encode.h \
|
|
|
|
yajl/yajl_gen.c \
|
|
|
|
yajl/yajl_lex.c \
|
|
|
|
yajl/yajl_lex.h \
|
|
|
|
yajl/yajl_parser.c \
|
|
|
|
yajl/yajl_parser.h \
|
|
|
|
yajl/yajl_tree.c \
|
|
|
|
yajl/yajl_version.c
|
2009-09-14 01:07:32 +00:00
|
|
|
|
2013-06-12 04:10:59 +00:00
|
|
|
dist_noinst_SCRIPTS = \
|
|
|
|
init_sql.py
|
|
|
|
|
2009-09-14 01:07:32 +00:00
|
|
|
lnav_SOURCES = lnav.cc $(HELP_SRC)
|
2013-06-12 04:10:59 +00:00
|
|
|
lnav_LDADD = help.o init-sql.o $(LDADD)
|
2011-07-17 16:41:41 +00:00
|
|
|
|
2013-06-08 13:10:18 +00:00
|
|
|
lnav_test_SOURCES = lnav.cc $(HELP_SRC) test_override.cc
|
2013-06-12 04:10:59 +00:00
|
|
|
lnav_test_LDADD = help.o init-sql.o $(LDADD)
|
2013-06-08 13:10:18 +00:00
|
|
|
|
2011-07-17 16:41:41 +00:00
|
|
|
bin2c_SOURCES = bin2c.c
|
2009-09-14 01:07:32 +00:00
|
|
|
|
2013-06-12 04:10:59 +00:00
|
|
|
DISTCLEANFILES = help.c init-sql.c
|
2011-07-18 13:53:57 +00:00
|
|
|
|
2009-09-14 01:07:32 +00:00
|
|
|
uncrusty:
|
|
|
|
(cd $(srcdir) && uncrustify -c ../lnav.cfg --replace $(SOURCES) \
|
|
|
|
$(HEADERS))
|