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

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