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.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_config.h \
  13. json_inttypes.h \
  14. json_object.h \
  15. json_object_private.h \
  16. json_tokener.h \
  17. json_util.h \
  18. linkhash.h \
  19. printbuf.h
  20. #libjsonx_includedir = $(libdir)/json-c-@VERSION@
  21. #
  22. #libjsonx_include_HEADERS = \
  23. # json_config.h
  24. libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
  25. libjson_la_SOURCES = \
  26. arraylist.c \
  27. debug.c \
  28. json_object.c \
  29. json_tokener.c \
  30. json_util.c \
  31. linkhash.c \
  32. printbuf.c
  33. check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null test_cast test_parse
  34. test1_SOURCES = test1.c
  35. test1_LDADD = $(lib_LTLIBRARIES)
  36. test2_SOURCES = test2.c
  37. test2_LDADD = $(lib_LTLIBRARIES)
  38. test4_SOURCES = test4.c
  39. test4_LDADD = $(lib_LTLIBRARIES)
  40. test_parse_int64_SOURCES = test_parse_int64.c
  41. test_parse_int64_LDADD = $(lib_LTLIBRARIES)
  42. test_null_SOURCES = test_null.c
  43. test_null_LDADD = $(lib_LTLIBRARIES)
  44. test_cast_SOURCES = test_cast.c
  45. test_cast_LDADD = $(lib_LTLIBRARIES)
  46. test_parse_SOURCES = test_parse.c
  47. test_parse_LDADD = $(lib_LTLIBRARIES)
  48. TESTS = test1.test test2.test test4.test parse_int64.test test_null.test test_cast.test test_parse.test
  49. EXTRA_DIST += $(TESTS)
  50. testsubdir=testSubDir
  51. TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
  52. distclean-local:
  53. -rm -rf $(testsubdir)
  54. -rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub configure depcomp install-sh ltmain.sh missing