• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/json-c/Makefile.am

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

This page was automatically generated by LXR 0.3.1.  •  OpenWrt