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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. ACLOCAL_AMFLAGS = -I autoconf-archive/m4
  2. EXTRA_DIST = README.md README.html
  3. EXTRA_DIST += config.h.win32
  4. EXTRA_DIST += Doxyfile
  5. EXTRA_DIST += issues_closed_for_0.13.md
  6. dist-hook:
  7. test -d "$(distdir)/doc" || mkdir "$(distdir)/doc"
  8. chmod -R u+w "$(distdir)/doc"
  9. cd "$(distdir)" && doxygen
  10. SUBDIRS = . tests
  11. lib_LTLIBRARIES = libjson-c.la
  12. pkgconfigdir = $(libdir)/pkgconfig
  13. pkgconfig_DATA = json-c.pc
  14. libjson_cincludedir = $(includedir)/json-c
  15. libjson_cinclude_HEADERS = \
  16. arraylist.h \
  17. debug.h \
  18. json.h \
  19. json_c_version.h \
  20. json_config.h \
  21. json_inttypes.h \
  22. json_object.h \
  23. json_object_iterator.h \
  24. json_pointer.h \
  25. json_tokener.h \
  26. json_util.h \
  27. json_visit.h \
  28. linkhash.h \
  29. printbuf.h
  30. noinst_HEADERS=\
  31. json_object_private.h \
  32. math_compat.h \
  33. strdup_compat.h \
  34. snprintf_compat.h \
  35. vasprintf_compat.h \
  36. random_seed.h \
  37. strerror_override.h
  38. libjson_c_la_LDFLAGS = -version-info 4:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@
  39. libjson_c_la_SOURCES = \
  40. arraylist.c \
  41. debug.c \
  42. json_c_version.c \
  43. json_object.c \
  44. json_object_iterator.c \
  45. json_pointer.c \
  46. json_tokener.c \
  47. json_util.c \
  48. json_visit.c \
  49. linkhash.c \
  50. printbuf.c \
  51. random_seed.c \
  52. strerror_override.c \
  53. strerror_override_private.h
  54. DISTCLEANFILES=
  55. DISTCLEANFILES+= \
  56. config.h \
  57. json-c-uninstalled.pc \
  58. json-c.pc \
  59. json_config.h
  60. distclean-local:
  61. -rm -rf $(testsubdir)
  62. JSON_CLEANFILES=
  63. JSON_CLEANFILES+= \
  64. Makefile.in \
  65. aclocal.m4 \
  66. autom4te.cache/ \
  67. compile \
  68. config.guess \
  69. config.h.in \
  70. config.sub \
  71. configure \
  72. depcomp \
  73. install-sh \
  74. ltmain.sh \
  75. missing \
  76. test-driver \
  77. tests/Makefile.in
  78. JSON_CLEANFILES+= \
  79. libtool \
  80. stamp-h1 \
  81. stamp-h2
  82. # There's no built-in way to remove these after all the other
  83. # maintainer-clean steps happen, so do it explicitly here.
  84. really-clean:
  85. $(MAKE) maintainer-clean
  86. rm -rf ${JSON_CLEANFILES}
  87. uninstall-local:
  88. rm -rf "$(DESTDIR)@includedir@/json-c"
  89. rm -f "$(DESTDIR)@includedir@/json"
  90. ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
  91. Android.mk: Makefile.am
  92. androgenizer -:PROJECT json-c \
  93. -:SHARED libjson-c \
  94. -:TAGS eng debug \
  95. -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
  96. -:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
  97. -:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
  98. -:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
  99. -:HEADER_TARGET json-c \
  100. -:HEADERS $(libjson_cinclude_HEADERS) \
  101. -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
  102. > $@