Makefile.am 675 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include
  3. if USE_COVERAGE
  4. AM_CFLAGS = --coverage
  5. endif
  6. if HAVE_SQLITE
  7. lib_LTLIBRARIES = libgnunetsq.la
  8. endif
  9. libgnunetsq_la_SOURCES = \
  10. sq.c \
  11. sq_exec.c \
  12. sq_prepare.c \
  13. sq_query_helper.c \
  14. sq_result_helper.c
  15. libgnunetsq_la_LIBADD = -lsqlite3 \
  16. $(top_builddir)/src/util/libgnunetutil.la
  17. libgnunetsq_la_LDFLAGS = \
  18. $(GN_LIBINTL) \
  19. $(GN_LIB_LDFLAGS) \
  20. -version-info 0:0:0
  21. if ENABLE_TEST_RUN
  22. TESTS = \
  23. test_sq
  24. endif
  25. check_PROGRAMS= \
  26. test_sq
  27. test_sq_SOURCES = \
  28. test_sq.c
  29. test_sq_LDADD = \
  30. libgnunetsq.la \
  31. $(top_builddir)/src/util/libgnunetutil.la \
  32. -lsqlite3 $(XLIB)