lnav/src/Makefile.am

149 lines
2.6 KiB
Makefile
Raw Normal View History

2009-09-14 01:07:32 +00:00
bin_PROGRAMS = lnav
noinst_PROGRAMS = bin2c
2009-09-14 01:07:32 +00:00
noinst_LIBRARIES = libdiag.a
help.c: help.txt bin2c
./bin2c -z -c $< $@
2009-09-14 01:07:32 +00:00
AM_LDFLAGS = \
2009-09-19 22:36:27 +00:00
$(SQLITE3_LDFLAGS) \
$(PCRE_LDFLAGS) \
-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) \
-lpcrecpp \
-lcrypto
2009-09-14 01:07:32 +00:00
noinst_HEADERS = \
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 \
column_namer.hh \
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 \
line_buffer.hh \
listview_curses.hh \
2012-07-13 16:26:47 +00:00
lnav.hh \
lnav_commands.hh \
lnav_config.hh \
2009-09-29 23:21:33 +00:00
lnav_util.hh \
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 \
sql_util.hh \
sqlite-extension-func.h \
status_controllers.hh \
2009-09-14 01:07:32 +00:00
statusview_curses.hh \
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 = \
bookmarks.cc \
collation-functions.cc \
extension-functions.c \
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 \
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 \
network-extension-functions.cc \
2011-06-13 14:46:03 +00:00
data_scanner.cc \
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 \
sqlite-extension-func.c \
2009-09-14 01:07:32 +00:00
statusview_curses.cc \
piper_proc.cc \
sql_util.cc \
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
lnav_SOURCES = lnav.cc $(HELP_SRC)
lnav_LDADD = help.o $(LDADD)
bin2c_SOURCES = bin2c.c
2009-09-14 01:07:32 +00:00
2011-07-18 13:53:57 +00:00
DISTCLEANFILES = help.c
2009-09-14 01:07:32 +00:00
uncrusty:
(cd $(srcdir) && uncrustify -c ../lnav.cfg --replace $(SOURCES) \
$(HEADERS))