You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am 1.4 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
  2. EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
  3. lib_LTLIBRARIES = libjson.la
  4. pkgconfigdir = $(libdir)/pkgconfig
  5. pkgconfig_DATA = json.pc
  6. libjsonincludedir = $(includedir)/json
  7. libjsoninclude_HEADERS = \
  8. arraylist.h \
  9. bits.h \
  10. debug.h \
  11. json.h \
  12. json_inttypes.h \
  13. json_object.h \
  14. json_object_private.h \
  15. json_tokener.h \
  16. json_util.h \
  17. linkhash.h \
  18. printbuf.h
  19. libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
  20. libjson_la_SOURCES = \
  21. arraylist.c \
  22. debug.c \
  23. json_object.c \
  24. json_tokener.c \
  25. json_util.c \
  26. linkhash.c \
  27. printbuf.c
  28. check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null test_cast
  29. test1_SOURCES = test1.c
  30. test1_LDADD = $(lib_LTLIBRARIES)
  31. test2_SOURCES = test2.c
  32. test2_LDADD = $(lib_LTLIBRARIES)
  33. test4_SOURCES = test4.c
  34. test4_LDADD = $(lib_LTLIBRARIES)
  35. test_parse_int64_SOURCES = test_parse_int64.c
  36. test_parse_int64_LDADD = $(lib_LTLIBRARIES)
  37. test_null_SOURCES = test_null.c
  38. test_null_LDADD = $(lib_LTLIBRARIES)
  39. test_cast_SOURCES = test_cast.c
  40. test_cast_LDADD = $(lib_LTLIBRARIES)
  41. TESTS = test1.test test2.test test4.test parse_int64.test test_null.test test_cast.test
  42. EXTRA_DIST += $(TESTS)
  43. testsubdir=testSubDir
  44. TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
  45. distclean-local:
  46. -rm -rf $(testsubdir)