lnav/src/Makefile.am

99 lines
1.7 KiB
Makefile
Raw Normal View History

2009-09-14 01:07:32 +00:00
bin_PROGRAMS = lnav
noinst_LIBRARIES = libdiag.a
2009-10-15 16:18:30 +00:00
if HAVE_OBJ_FORMAT
2009-09-14 01:07:32 +00:00
help.txt.term: help.txt
cat $< > $@
/bin/echo -en '\000' >> $@
help.o: help.txt.term
2009-10-15 16:18:30 +00:00
objcopy -I binary -O $(OBJ_FORMAT) -Bi386 \
2009-09-14 01:07:32 +00:00
--redefine-sym _binary_help_txt_term_start=help_text_start \
--redefine-sym _binary_help_txt_term_end=help_text_end \
--redefine-sym _binary_help_txt_term_size=help_text_size \
$< $@
HELP_O = help.o
HELP_SRC =
else
HELP_O =
HELP_SRC = help.cc
endif
AM_LDFLAGS = \
2009-09-19 22:36:27 +00:00
$(SQLITE3_LDFLAGS) \
$(PCRE_LDFLAGS) \
-pthread
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) \
$(HELP_O) \
2009-12-24 18:36:01 +00:00
$(SQLITE3_LIBS) \
$(PCRE_LIBS) \
2009-09-14 01:07:32 +00:00
-lpcrecpp
noinst_HEADERS = \
2009-09-29 23:21:33 +00:00
auto_fd.hh \
auto_mem.hh \
auto_temp_file.hh \
2009-09-14 01:07:32 +00:00
bookmarks.hh \
2009-09-29 23:21:33 +00:00
bottom_status_source.hh \
db_sub_source.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 \
2009-09-29 23:21:33 +00:00
lnav_util.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 \
statusview_curses.hh \
2009-09-29 23:21:33 +00:00
strong_int.hh \
2009-10-14 19:42:58 +00:00
termios_guard.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 \
log_format_impls.cc
2009-09-14 01:07:32 +00:00
libdiag_a_SOURCES = \
bookmarks.cc \
grep_proc.cc \
hist_source.cc \
line_buffer.cc \
listview_curses.cc \
log_format.cc \
logfile.cc \
logfile_sub_source.cc \
readline_curses.cc \
statusview_curses.cc \
piper_proc.cc \
textview_curses.cc \
view_curses.cc \
vt52_curses.cc \
log_vtab_impl.cc
lnav_SOURCES = lnav.cc $(HELP_SRC)
2010-01-02 20:28:14 +00:00
DISTCLEANFILES = \
help.txt.term
2009-09-14 01:07:32 +00:00
uncrusty:
(cd $(srcdir) && uncrustify -c ../lnav.cfg --replace $(SOURCES) \
$(HEADERS))