aboutsummaryrefslogtreecommitdiff
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Automate package releases with build-packages.shMark Pulford2011-12-151-7/+0
| | | | | | build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly
* Remove external VERSION #define for lua_cjson.cMark Pulford2011-12-131-1/+1
| | | | | The external #define complicates compilation but is only used in lua_cjson.c and Makefile.
* Fix RPM buildMark Pulford2011-12-131-2/+2
| | | | | Previously the the RPM build would overwrite CJSON_CFLAGS but didn't provide the necessary default CFLAGS (-fpic -DVERSION ..).
* Convert documentation to AsciiDocMark Pulford2011-12-121-1/+6
| | | | | | | - Rename README to manual.txt and add AsciiDoc markup - Rewrite some sections of documentation (more outstanding) - Add "doc" Makefile target - Update RPM spec file to include HTML output
* Fix Makefile for use with non-GNU makeMark Pulford2011-12-081-22/+23
| | | | | | | | | | | | - Remove GNU make "override" statements. - Add OBJS variable since there is no portable way to specify all targets for linking. Also: - Put build defaults at the top to avoid potential confusion. - Don't assume a Linux platform. Default to USE_POSIX_SETLOCALE. - Change "install -d" to mkdir/install since the former isn't available on some platforms (Solaris).
* Add common platform defaults/overrides to MakefileMark Pulford2011-11-291-19/+19
|
* Improve build documentation and layoutMark Pulford2011-11-291-20/+38
|
* Update version to 1.0.4Mark Pulford2011-11-271-1/+1
|
* Add USE_POSIX_SETLOCALE optionMark Pulford2011-10-071-2/+6
| | | | | | | | | | Add USE_POSIX_SETLOCALE option for platforms missing uselocale(). Document locale options in README, Makefile & rockspec. Also: - Rename USE_POSIX_LOCALE define to USE_POSIX_USELOCALE. - Use uselocale() by default through Makefile (Linux, OSX). - Use setlocale() by default through rockspec (other platforms).
* Rename MISSING_ISINF to USE_INTERNAL_ISINFMark Pulford2011-10-071-2/+2
|
* Support locales which use comma decimal separatorsMark Pulford2011-10-051-3/+7
| | | | | | | | | | | | | Some locales (cs_CZ, de_DE,..) use a comma as their decimal separator. This causes CJSON to generate incorrect JSON (Eg, [10,1]), and fail when parsing some valid JSON (Eg, [10,"test"]). Added USE_POSIX_LOCALE #define which harnesses the thread-safe POSIX.1-2008 locale support (newlocale(), uselocale(), freelocale()) to temporarily use the POSIX locale during JSON conversion. Some older POSIX operating systems with xlocale.h (MacOSX) are also supported.
* Add work around for missing isinf() on SolarisMark Pulford2011-08-111-0/+3
| | | | | | | Some versions of Solaris (Eg, Solaris 11 / GCC 3.4.3) are missing isinf(). Provide a work around when MISSING_ISINF is defined. Reported by: Zhang "agentzh" Yichun <agentzh@gmail.com>
* Update version to 1.0.3Mark Pulford2011-08-101-1/+1
|
* Update version to 1.0.2Mark Pulford2011-05-291-1/+1
|
* Use .zip format with LuaRocksMark Pulford2011-05-291-0/+2
| | | | Windows has poor support for "tar.gz", but all platforms support "zip".
* Change version number for developmentMark Pulford2011-05-161-1/+1
|
* Add rockspec to build under LuaRocksMark Pulford2011-05-151-1/+0
| | | | | | Remove "-lm" from LDFLAGS in Makefile since it breaks the build under Windows and isn't required under Linux. Math lib fix suggested by: Steve Donovan <steve.j.donovan@gmail.com>
* Add runtime option for persistent encode bufferMark Pulford2011-05-101-1/+1
|
* Update version to 1.0.1Mark Pulford2011-05-101-1/+1
|
* Add build support for Mac OSXMark Pulford2011-05-101-1/+11
|
* Add build and package supportMark Pulford2011-05-011-0/+31
- Add Makefile and RPM spec file - Add cjson.version variable