diff options
Diffstat (limited to 'src/lib/log/include.am')
-rw-r--r-- | src/lib/log/include.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/log/include.am b/src/lib/log/include.am index b5a1c5ca26..4a6c9b3686 100644 --- a/src/lib/log/include.am +++ b/src/lib/log/include.am @@ -7,6 +7,7 @@ endif src_lib_libtor_log_a_SOURCES = \ src/lib/log/escape.c \ + src/lib/log/git_revision.c \ src/lib/log/ratelim.c \ src/lib/log/log.c \ src/lib/log/util_bug.c @@ -20,11 +21,15 @@ src_lib_libtor_log_testing_a_SOURCES = \ src_lib_libtor_log_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS) src_lib_libtor_log_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) -src/lib/log/torlog.$(OBJEXT) \ - src/lib/log/src_lib_libtor_log_testing_a-torlog.$(OBJEXT): micro-revision.i +# Declare that these object files depend on micro-revision.i. Without this +# rule, we could try to build them before micro-revision.i was created. +src/lib/log/git_revision.$(OBJEXT) \ + src/lib/log/src_lib_libtor_log_testing_a-git_revision.$(OBJEXT): \ + micro-revision.i noinst_HEADERS += \ src/lib/log/escape.h \ + src/lib/log/git_revision.h \ src/lib/log/ratelim.h \ src/lib/log/log.h \ src/lib/log/util_bug.h \ |