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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. include Makefile.am.inc
  2. EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
  3. SUBDIRS = . tests
  4. lib_LTLIBRARIES = libjson-c.la
  5. if ENABLE_OLDNAME_COMPAT
  6. lib_LTLIBRARIES+=libjson.la
  7. endif
  8. pkgconfigdir = $(libdir)/pkgconfig
  9. pkgconfig_DATA = json-c.pc
  10. if ENABLE_OLDNAME_COMPAT
  11. pkgconfig_DATA += json.pc
  12. endif
  13. libjson_cincludedir = $(includedir)/json-c
  14. libjson_cinclude_HEADERS = \
  15. arraylist.h \
  16. bits.h \
  17. debug.h \
  18. json.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_tokener.h \
  25. json_util.h \
  26. linkhash.h \
  27. printbuf.h
  28. #libjsonx_includedir = $(libdir)/json-c-@VERSION@
  29. #
  30. #libjsonx_include_HEADERS = \
  31. # json_config.h
  32. libjson_c_la_LDFLAGS = -version-info 2:0:0 -no-undefined
  33. if ENABLE_OLDNAME_COMPAT
  34. libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined -ljson-c
  35. # Temporary libjson library. This will be removed after one release.
  36. libjson_la_LIBADD = -ljson-c
  37. endif
  38. libjson_c_la_SOURCES = \
  39. arraylist.c \
  40. debug.c \
  41. json_object.c \
  42. json_object_iterator.c \
  43. json_tokener.c \
  44. json_util.c \
  45. linkhash.c \
  46. printbuf.c
  47. distclean-local:
  48. -rm -rf $(testsubdir)
  49. -rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
  50. maintainer-clean-local:
  51. -rm -rf configure
  52. if ENABLE_OLDNAME_COMPAT
  53. install-data-hook:
  54. test \! -e "$(includedir)/json" || rm "$(includedir)/json"
  55. $(LN_S) json-c "$(includedir)/json"
  56. uninstall-local:
  57. rm -f "$(includedir)/json"
  58. endif
  59. ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
  60. Android.mk: Makefile.am
  61. androgenizer -:PROJECT json-c \
  62. -:SHARED libjson-c \
  63. -:TAGS eng debug \
  64. -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
  65. -:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
  66. -:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
  67. -:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
  68. -:HEADER_TARGET json-c \
  69. -:HEADERS $(libjson_cinclude_HEADERS) \
  70. -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
  71. > $@