Makefile.am 2.4 KB

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