Commit Graph

58 Commits

Author SHA1 Message Date
Pieter Noordhuis
888b90d6ea Don't pass CFLAGS when linking 2011-06-19 10:21:05 +02:00
Pieter Noordhuis
3331c22eb9 Add phony target 2011-06-18 17:30:59 +02:00
Pieter Noordhuis
b8e0edaabb Remove unused variables
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-18 17:18:10 +02:00
Pieter Noordhuis
0c2de2525e Swap arguments 2011-06-18 17:17:48 +02:00
Pieter Noordhuis
58ebe7acbd Merge DEBUG in REAL_CFLAGS 2011-06-18 17:17:15 +02:00
Pieter Noordhuis
fc810f77d3 Allow *extra* CFLAGS/LDFLAGS via arguments 2011-06-18 17:15:41 +02:00
Pieter Noordhuis
7a9127c938 Move redirection around 2011-06-18 16:46:18 +02:00
Pieter Noordhuis
722c142801 Disallow overriding CFLAGS and LDFLAGS 2011-06-18 16:42:55 +02:00
Pieter Noordhuis
461110e809 Move path variables closer to install target 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
b2bf7ba8c0 Move defaults outside if block 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
93329c467e Library variables may not be overridden 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
2ccb6e58ef Merge CCLINK with LDFLAGS 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
367ac44ac1 Remove private feature macros for Solaris from compiler flags 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
2cd46456c0 Add myself to Makefile license 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
8ee630875a Remove unused libraries from link flags 2011-06-18 16:28:57 +02:00
Pieter Noordhuis
d7dc9ca7c9 Fallback to gcc when $CC is not in $PATH 2011-06-18 16:28:52 +02:00
Pieter Noordhuis
7a8de1fe25 Exit with a non-zero status when tests failed 2011-05-29 10:03:39 -07:00
Pieter Noordhuis
82ad944412 Test against unix socket connection in make check target 2011-05-22 16:35:20 +02:00
Piotr Sikora
5793b999a9 Add "make check" target (useful for automated tests).
While there, add "-p" option to "hiredis-test", so that we could run
tests without interrupting Redis instance running on the default port.
2011-05-22 15:24:11 +02:00
Pieter Noordhuis
df203bc328 cp on Solaris doesn't have -a 2011-04-22 13:00:04 +02:00
Pieter Noordhuis
81c00aab32 Add versioned symlinks for install target 2011-04-22 12:54:19 +02:00
Pieter Noordhuis
dd9f0810dc Solaris needs the static lib as last argument 2011-04-22 12:53:23 +02:00
Pieter Noordhuis
1381e22db1 Move OBJ argument 2011-04-22 12:01:46 +02:00
Pieter Noordhuis
595f2f88dd Braces -> parentheses 2011-04-22 12:00:56 +02:00
Pieter Noordhuis
721e390de5 Separate basename and suffix for library filename 2011-04-22 11:54:16 +02:00
Pieter Noordhuis
5c205359d9 Configurable paths for install target 2011-04-22 09:59:30 +02:00
Pieter Noordhuis
4feec1f252 Remove rpath from linker flags; link artifacts statically 2011-04-21 23:24:58 +02:00
Pieter Noordhuis
8f27c9684a Remove util.h from Makefile 2011-04-21 22:50:02 +02:00
Pieter Noordhuis
75bc8595c7 Only use C99 for compiling hiredis itself
The libevent example cannot be compiled when -std=c99 is passed. It is
not necessary that the adapters nor the examples follow this standard,
as long as the code for hiredis itself is compliant.
2011-04-21 18:13:30 +02:00
Pieter Noordhuis
df1d693b03 Include fmacros.h to make sure strerror_p is defined on Linux 2011-04-21 16:24:03 +02:00
Pieter Noordhuis
7f11360604 Recompile net.c when hiredis.h changes 2011-04-21 15:04:45 +02:00
Pieter Noordhuis
d5b18b5d28 Work with make v3.80 2011-04-07 17:31:23 +02:00
Pieter Noordhuis
fbe756d838 Avoid warnings with -Wstrict-prototypes 2011-01-27 12:50:55 +01:00
Pieter Noordhuis
c6b8bd77c0 Make dictionary functions static and include the .c file 2011-01-14 12:07:29 +01:00
Pieter Noordhuis
4e8c8e74ee Replace zmalloc with regular malloc 2010-12-31 15:49:26 +01:00
Pieter Noordhuis
c6a51d19c5 Forgot to add -L. to remaining LDFLAGS 2010-12-16 23:20:39 +01:00
Pieter Noordhuis
be51c8398f Fix building shared library on Solaris 2010-12-16 23:10:13 +01:00
Pieter Noordhuis
a2e28901a0 Use generic $(MAKE) in Makefile 2010-12-16 21:59:28 +01:00
Pieter Noordhuis
ff50dff70d Use more aggressive optimization 2010-12-02 14:34:10 +01:00
Pieter Noordhuis
f625d97b9b Whitespace 2010-12-02 14:34:03 +01:00
Pieter Noordhuis
9af1574d6e Add adapter for the Redis-bundled ae event library 2010-12-01 13:47:58 +01:00
Pieter Noordhuis
8322162e52 Don't compile object files for examples twice 2010-12-01 13:30:22 +01:00
Pieter Noordhuis
314c04840b Update examples 2010-11-02 17:37:22 +01:00
Pieter Noordhuis
dd8a34de84 Move anet.{c,h} to net.{c,h} 2010-11-02 16:44:44 +01:00
Pieter Noordhuis
46fdce7da0 Build universal binaries on OSX by default 2010-11-01 20:17:14 +01:00
Pieter Noordhuis
b028dda359 Return from getCallback if there is no reply 2010-11-01 11:11:43 +01:00
Pieter Noordhuis
e16340f2db Add install target in Makefile 2010-11-01 10:53:48 +01:00
Pieter Noordhuis
89e0622535 Move libev/libevent headers to adapters directory 2010-11-01 10:42:32 +01:00
Pieter Noordhuis
ae5a13f557 Regenerated Makefile dependencies 2010-10-31 21:22:07 +01:00
Pieter Noordhuis
0152f12807 Extracted code to support callbacks in an asynchronous context 2010-10-31 21:20:47 +01:00