include.am 650 B

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