include.am 720 B

1234567891011121314151617181920212223242526
  1. noinst_LIBRARIES += src/lib/libtor-lock.a
  2. if UNITTESTS_ENABLED
  3. noinst_LIBRARIES += src/lib/libtor-lock-testing.a
  4. endif
  5. # ADD_C_FILE: INSERT SOURCES HERE.
  6. src_lib_libtor_lock_a_SOURCES = \
  7. src/lib/lock/compat_mutex.c
  8. if THREADS_PTHREADS
  9. src_lib_libtor_lock_a_SOURCES += src/lib/lock/compat_mutex_pthreads.c
  10. endif
  11. if THREADS_WIN32
  12. src_lib_libtor_lock_a_SOURCES += src/lib/lock/compat_mutex_winthreads.c
  13. endif
  14. src_lib_libtor_lock_testing_a_SOURCES = \
  15. $(src_lib_libtor_lock_a_SOURCES)
  16. src_lib_libtor_lock_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  17. src_lib_libtor_lock_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  18. # ADD_C_FILE: INSERT HEADERS HERE.
  19. noinst_HEADERS += \
  20. src/lib/lock/compat_mutex.h