Merge pull request #776 from sureshsundriyal/master

Add explicit dependencies and remove BUILT_SOURCES target.
This commit is contained in:
Tim Stack 2020-09-25 20:16:05 -07:00 committed by GitHub
commit e539aca4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,17 @@ if HAVE_RE2C
$(REC2_V)test $@ -ef $(srcdir)/$*.cc || cp $@ $(srcdir)/$*.cc
endif
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
LNAV_BUILT_FILES = \
ansi-palette-json.h \
ansi-palette-json.c \
@ -354,11 +365,8 @@ noinst_HEADERS = \
fmtlib/fmt/posix.h \
fmtlib/fmt/format.h
BUILT_SOURCES = \
$(LNAV_BUILT_FILES)
nodist_libdiag_a_SOURCES = \
$(BUILT_SOURCES)
$(LNAV_BUILT_FILES)
libdiag_a_SOURCES = \
ansi_scrubber.cc \
@ -440,6 +448,8 @@ libdiag_a_SOURCES = \
xterm_mouse.cc \
spookyhash/SpookyV2.cpp
lnav.$(OBJEXT): help-txt.h init-sql.h
lnav_SOURCES = lnav.cc
lnav_test_SOURCES = lnav.cc test_override.c
@ -463,7 +473,7 @@ CLEANFILES = \
bin2c$(BUILD_EXEEXT)
DISTCLEANFILES = \
$(BUILT_SOURCES) \
$(LNAV_BUILT_FILES) \
$(RE2C_FILES)
uncrusty: