summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2016-04-20fix: Rename DEBUG to DEBUG_FLAGSJan-Erik Rediger
This avoids issues with environments where DEBUG is set to an arbitrary value to force debug mode in other tools. BREAKING CHANGE: This breaks builds that explicitely set `DEBUG` to some value (even the empty value). To get back the old behaviour change the `DEBUG_FLAGS` variable now.
2015-08-24Merge branch 'soname-stable' into unstableJan-Erik Rediger
2015-07-28Use container-based Travis by installing packages through the addonJan-Erik Rediger
2015-07-27Added MacOS X addapter and corresponding example.Dmitry Bakhvalov
Added MacOS X support via CoreFoundation run loop.
2015-07-27Add Qt adapter and relative example.Pietro Cerutti
2015-07-27Add an Ivykis adapterGergely Nagy
This adds a new adapter and an example for using hiredis with the ivykis async I/O library. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-07-27Use stable soname versionJan-Erik Rediger
2015-05-30Update Makefilew359405949
fix link error while run "make hiredis-example-libuv": undefined reference to `clock_gettime' undefined reference to `clock_getres'
2015-05-03Make sure to compile example to trigger edge-cases in compilingJan-Erik Rediger
2015-05-03Revert "Always compile with C99 standard."Jan-Erik Rediger
This reverts commit d8145d79ce715054980938c751067ebaa541573c.
2015-04-16Always compile with C99 standard.Jan-Erik Rediger
Turns out: gnu9x defines `unix` to 1, making it unusable as a variable name.
2015-03-28Add PKGCONFNAME to install dependencies.David Watson
Attempting to use the install target before the make target works fine, except for the missing pkgconfig file. Adding that file to the dependencies for the install target to make sure it gets created first.
2015-03-19Correct escaping for prefix in pkgconf fileJan-Erik Rediger
2015-03-18Fix hiredis.pc generation.Dan Skorupski
2015-03-03Fix pkgconf file: escaping neededDominique Leuenberger
Due to the various processors going over the command, we need more escaping. 1) Make parses it, so $${libdir} becomes ${libdir} 2) 'shell' parses it for the 'echo command', whereas echo ${libdir} would be an empty string; escape it as \${libdir} to ensure we get what we want. Closes #312
2015-02-12Fix pkgconf when used with DESTDIRMatt Stancliff
Closes #302
2015-01-26Build test binary by defaultMatt Stancliff
This is the only way to force a 32-bit build of the test binary
2015-01-26Fix pkgconf build dependencyMatt Stancliff
We need to re-gen pkgconf when the version changes, and the version is kept in hiredis.h, so make pkgconf depend on hiredis.h.
2015-01-26Fix Makefile install problemsSebastian Wiedenroth
Adds DESTDIR support Fixes INSTALL_PKGCONF_PATH Properly copies {read,shs}.h now during make install Closes #297
2015-01-22Add valgrind to TravisCI testingMatt Stancliff
2015-01-05Update dependency list in MakefileMatt Stancliff
2015-01-05Build static library by defaultMatt Stancliff
2015-01-05Generate pkgconf during buildMatt Stancliff
The pkgconf source is localized to the Makefile, so we're not dropping an unnecessary "hiredis.pc.in" in the source directory. Closes #129 Closes #136
2015-01-05Refactor reading code into read.ctzickel
Makes hiredis reading functions easier to include in external projects [fixed all merge conflicts against current version] Closes #249
2015-01-05Add GLib 2.0 adapterChristian Hergert
[Cleaned up Makefile and header includes. Didn't change crazy coding style because it's the convention for GLib systems.] Closes #83 Closes #71
2014-04-09Fix HIREDIS_MINORPieter Noordhuis
Closes #219.
2014-04-09Fix Makefile test to use more compatible syntaxEddy Jansson
The existing way is not compatible with a lot of shells, including most bash installations, because the echos that generates the configuration sent to redis-server doesn't expand the escapes. Adding '-e' to the echo works under bash, but breaks on the Travis CI server. This is my attempt to find an alternative that works everywhere. [committer note: it doesn't work under Solaris make, but the Makefile was already broken under Solaris make. Solaris users must use gmake.] Closes #224 and Closes #221
2013-07-10Move examples into their own folderAaron Bedra
Closes #166.
2013-07-10Merge branch 'libuv'Pieter Noordhuis
Closes #172.
2013-07-10Fix path to static libuv libraryPieter Noordhuis
2013-07-10Remove unused Makefile variablesPieter Noordhuis
Fixes #176.
2013-07-02Made example-ae work againErik Dubbelboer
2013-06-04Added libuv adapterErik Dubbelboer
2012-08-21Add ARCH to Makefile CFLAGS / LDFLAGS.antirez
This makes builiding with an optional 32 bit target simpler. For instance Redis (that contains an embedded copy of hiredis) when compiled with "make 32bit" uses to pass an ARCH parameter to force an hiredis 32 bit build.
2011-06-19Fix gprof targetPieter Noordhuis
2011-06-19Coverage reportPieter Noordhuis
2011-06-19Use CFLAGS and LDFLAGS instead of custom variablesPieter Noordhuis
2011-06-19Append to REAL_LDFLAGS so LDFLAGS can be overridden by the userPieter Noordhuis
2011-06-19Pass LDFLAGS to linker when creating dynamic libraryPieter Noordhuis
2011-06-19Remove unnecessary overridesPieter Noordhuis
2011-06-19Don't pass CFLAGS when linkingPieter Noordhuis
2011-06-18Add phony targetPieter Noordhuis
2011-06-18Remove unused variablesPieter Noordhuis
The variable OBJARCH was used to compile objects for both 32-bit and 64-bit architectures. It can be removed because this is only relevant for the Ruby wrapper for hiredis. This wrapper should put these flags in CFLAGS to get the same effect.
2011-06-18Swap argumentsPieter Noordhuis
2011-06-18Merge DEBUG in REAL_CFLAGSPieter Noordhuis
2011-06-18Allow *extra* CFLAGS/LDFLAGS via argumentsPieter Noordhuis
2011-06-18Move redirection aroundPieter Noordhuis
2011-06-18Disallow overriding CFLAGS and LDFLAGSPieter Noordhuis
2011-06-18Move path variables closer to install targetPieter Noordhuis
2011-06-18Move defaults outside if blockPieter Noordhuis