include.am 905 B

123456789101112131415161718192021222324252627
  1. noinst_LIBRARIES += src/lib/libtor-version.a
  2. if UNITTESTS_ENABLED
  3. noinst_LIBRARIES += src/lib/libtor-version-testing.a
  4. endif
  5. # ADD_C_FILE: INSERT SOURCES HERE.
  6. src_lib_libtor_version_a_SOURCES = \
  7. src/lib/version/git_revision.c \
  8. src/lib/version/version.c
  9. src_lib_libtor_version_testing_a_SOURCES = \
  10. $(src_lib_libtor_version_a_SOURCES)
  11. src_lib_libtor_version_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  12. src_lib_libtor_version_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  13. # Declare that these object files depend on micro-revision.i. Without this
  14. # rule, we could try to build them before micro-revision.i was created.
  15. src/lib/version/git_revision.$(OBJEXT) \
  16. src/lib/version/src_lib_libtor_version_testing_a-git_revision.$(OBJEXT): \
  17. micro-revision.i
  18. # ADD_C_FILE: INSERT HEADERS HERE.
  19. noinst_HEADERS += \
  20. src/lib/version/git_revision.h \
  21. src/lib/version/torversion.h