mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 15:39:07 +08:00
* Add ifdef C++ extern "C" to headers
* Use simpler definition of min and max in bits.h
Larry Lansing, llansing at fuzzynerd dot com
* Remove automake 1.6 requirement
* Move autogen commands into autogen.sh. Update README
* Remove error pointer special case for Windows
* Change license from LGPL to MIT
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@10 327403b1-1117-474d-bef2-5cb71233fd97
37 lines
640 B
Makefile
37 lines
640 B
Makefile
CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
|
|
|
lib_LTLIBRARIES = libjson.la
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = json.pc
|
|
|
|
libjsonincludedir = $(includedir)/json
|
|
libjsoninclude_HEADERS = \
|
|
json.h \
|
|
bits.h \
|
|
debug.h \
|
|
linkhash.h \
|
|
arraylist.h \
|
|
json_util.h \
|
|
json_object.h \
|
|
json_tokener.h
|
|
|
|
libjson_la_LDFLAGS = -version-info 0:1:0
|
|
|
|
libjson_la_SOURCES = \
|
|
arraylist.c \
|
|
debug.c \
|
|
json_object.c \
|
|
json_tokener.c \
|
|
json_util.c \
|
|
linkhash.c \
|
|
printbuf.c
|
|
|
|
check_PROGRAMS = test1 test2
|
|
|
|
test1_SOURCES = test1.c
|
|
test1_LDADD = $(lib_LTLIBRARIES)
|
|
|
|
test2_SOURCES = test2.c
|
|
test2_LDADD = $(lib_LTLIBRARIES)
|