nutcracker 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +22 -0
- data/Rakefile +55 -0
- data/bin/nutcracker +2 -0
- data/ext/nutcracker/ChangeLog +66 -0
- data/ext/nutcracker/LICENSE +177 -0
- data/ext/nutcracker/Makefile.am +7 -0
- data/ext/nutcracker/Makefile.in +726 -0
- data/ext/nutcracker/NOTICE +124 -0
- data/ext/nutcracker/README.md +240 -0
- data/ext/nutcracker/aclocal.m4 +956 -0
- data/ext/nutcracker/conf/nutcracker.leaf.yml +10 -0
- data/ext/nutcracker/conf/nutcracker.root.yml +8 -0
- data/ext/nutcracker/conf/nutcracker.yml +67 -0
- data/ext/nutcracker/config.h.in +316 -0
- data/ext/nutcracker/config/config.guess +1561 -0
- data/ext/nutcracker/config/config.sub +1686 -0
- data/ext/nutcracker/config/depcomp +630 -0
- data/ext/nutcracker/config/install-sh +520 -0
- data/ext/nutcracker/config/ltmain.sh +8413 -0
- data/ext/nutcracker/config/missing +376 -0
- data/ext/nutcracker/configure +18862 -0
- data/ext/nutcracker/configure.ac +155 -0
- data/ext/nutcracker/contrib/Makefile.am +3 -0
- data/ext/nutcracker/contrib/Makefile.in +560 -0
- data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/LICENSE +19 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.am +20 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +736 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/README +27 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +956 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +1561 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +1686 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +630 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +520 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/ltmain.sh +8406 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +376 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/configure +13085 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/configure.ac +75 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/doxygen.cfg +222 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/include/yaml.h +1971 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/m4/libtool.m4 +7357 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltoptions.m4 +368 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltsugar.m4 +123 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltversion.m4 +23 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/m4/lt~obsolete.m4 +92 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.am +4 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +484 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.c +1392 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.c +394 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.c +2329 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.c +432 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.c +1374 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.c +465 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.c +3570 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.c +141 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/yaml_private.h +640 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.am +8 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +675 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.c +800 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.c +1130 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.c +217 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.c +202 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.c +311 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.c +327 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.c +63 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.c +63 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.c +63 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-reader.c +354 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-version.c +29 -0
- data/ext/nutcracker/extconf.rb +5 -0
- data/ext/nutcracker/m4/libtool.m4 +7376 -0
- data/ext/nutcracker/m4/ltoptions.m4 +368 -0
- data/ext/nutcracker/m4/ltsugar.m4 +123 -0
- data/ext/nutcracker/m4/ltversion.m4 +23 -0
- data/ext/nutcracker/m4/lt~obsolete.m4 +92 -0
- data/ext/nutcracker/notes/c-styleguide.txt +425 -0
- data/ext/nutcracker/notes/debug.txt +96 -0
- data/ext/nutcracker/notes/memcache.txt +123 -0
- data/ext/nutcracker/notes/recommendation.md +118 -0
- data/ext/nutcracker/notes/redis.md +415 -0
- data/ext/nutcracker/notes/socket.txt +131 -0
- data/ext/nutcracker/scripts/multi_get.sh +26 -0
- data/ext/nutcracker/scripts/nutcracker.init +73 -0
- data/ext/nutcracker/scripts/nutcracker.spec +52 -0
- data/ext/nutcracker/scripts/pipelined_read.sh +23 -0
- data/ext/nutcracker/scripts/pipelined_write.sh +29 -0
- data/ext/nutcracker/scripts/populate_memcached.sh +24 -0
- data/ext/nutcracker/scripts/redis-check.py +23 -0
- data/ext/nutcracker/scripts/redis-check.sh +564 -0
- data/ext/nutcracker/src/Makefile.am +46 -0
- data/ext/nutcracker/src/Makefile.in +726 -0
- data/ext/nutcracker/src/hashkit/Makefile.am +22 -0
- data/ext/nutcracker/src/hashkit/Makefile.in +501 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.c +105 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.c +82 -0
- data/ext/nutcracker/src/hashkit/nc_hashkit.h +74 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.c +93 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.c +230 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.c +240 -0
- data/ext/nutcracker/src/hashkit/nc_md5.c +379 -0
- data/ext/nutcracker/src/hashkit/nc_modula.c +144 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.c +99 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +51 -0
- data/ext/nutcracker/src/hashkit/nc_random.c +146 -0
- data/ext/nutcracker/src/nc.c +573 -0
- data/ext/nutcracker/src/nc_array.c +204 -0
- data/ext/nutcracker/src/nc_array.h +73 -0
- data/ext/nutcracker/src/nc_client.c +189 -0
- data/ext/nutcracker/src/nc_client.h +28 -0
- data/ext/nutcracker/src/nc_conf.c +1766 -0
- data/ext/nutcracker/src/nc_conf.h +134 -0
- data/ext/nutcracker/src/nc_connection.c +392 -0
- data/ext/nutcracker/src/nc_connection.h +99 -0
- data/ext/nutcracker/src/nc_core.c +334 -0
- data/ext/nutcracker/src/nc_core.h +131 -0
- data/ext/nutcracker/src/nc_event.c +214 -0
- data/ext/nutcracker/src/nc_event.h +39 -0
- data/ext/nutcracker/src/nc_log.c +254 -0
- data/ext/nutcracker/src/nc_log.h +120 -0
- data/ext/nutcracker/src/nc_mbuf.c +285 -0
- data/ext/nutcracker/src/nc_mbuf.h +67 -0
- data/ext/nutcracker/src/nc_message.c +828 -0
- data/ext/nutcracker/src/nc_message.h +253 -0
- data/ext/nutcracker/src/nc_proxy.c +359 -0
- data/ext/nutcracker/src/nc_proxy.h +34 -0
- data/ext/nutcracker/src/nc_queue.h +788 -0
- data/ext/nutcracker/src/nc_rbtree.c +348 -0
- data/ext/nutcracker/src/nc_rbtree.h +47 -0
- data/ext/nutcracker/src/nc_request.c +588 -0
- data/ext/nutcracker/src/nc_response.c +332 -0
- data/ext/nutcracker/src/nc_server.c +841 -0
- data/ext/nutcracker/src/nc_server.h +143 -0
- data/ext/nutcracker/src/nc_signal.c +131 -0
- data/ext/nutcracker/src/nc_signal.h +34 -0
- data/ext/nutcracker/src/nc_stats.c +1188 -0
- data/ext/nutcracker/src/nc_stats.h +206 -0
- data/ext/nutcracker/src/nc_string.c +109 -0
- data/ext/nutcracker/src/nc_string.h +112 -0
- data/ext/nutcracker/src/nc_util.c +619 -0
- data/ext/nutcracker/src/nc_util.h +214 -0
- data/ext/nutcracker/src/proto/Makefile.am +14 -0
- data/ext/nutcracker/src/proto/Makefile.in +482 -0
- data/ext/nutcracker/src/proto/nc_memcache.c +1306 -0
- data/ext/nutcracker/src/proto/nc_proto.h +155 -0
- data/ext/nutcracker/src/proto/nc_redis.c +2102 -0
- data/lib/nutcracker.rb +7 -0
- data/lib/nutcracker/version.rb +3 -0
- metadata +194 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
MAINTAINERCLEANFILES = Makefile.in
|
2
|
+
|
3
|
+
AM_CPPFLAGS = -I $(top_srcdir)/src
|
4
|
+
|
5
|
+
AM_CFLAGS = -Wall -Wshadow
|
6
|
+
AM_CFLAGS += -Wno-unused-parameter -Wno-unused-value
|
7
|
+
|
8
|
+
noinst_LIBRARIES = libhashkit.a
|
9
|
+
|
10
|
+
noinst_HEADERS = nc_hashkit.h
|
11
|
+
|
12
|
+
libhashkit_a_SOURCES = \
|
13
|
+
nc_crc32.c \
|
14
|
+
nc_fnv.c \
|
15
|
+
nc_hsieh.c \
|
16
|
+
nc_jenkins.c \
|
17
|
+
nc_ketama.c \
|
18
|
+
nc_md5.c \
|
19
|
+
nc_modula.c \
|
20
|
+
nc_murmur.c \
|
21
|
+
nc_one_at_a_time.c \
|
22
|
+
nc_random.c
|
@@ -0,0 +1,501 @@
|
|
1
|
+
# Makefile.in generated by automake 1.11 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6
|
+
# Inc.
|
7
|
+
# This Makefile.in is free software; the Free Software Foundation
|
8
|
+
# gives unlimited permission to copy and/or distribute it,
|
9
|
+
# with or without modifications, as long as this notice is preserved.
|
10
|
+
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
13
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
14
|
+
# PARTICULAR PURPOSE.
|
15
|
+
|
16
|
+
@SET_MAKE@
|
17
|
+
|
18
|
+
|
19
|
+
VPATH = @srcdir@
|
20
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
21
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
22
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
23
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
24
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
25
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
26
|
+
install_sh_PROGRAM = $(install_sh) -c
|
27
|
+
install_sh_SCRIPT = $(install_sh) -c
|
28
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
29
|
+
transform = $(program_transform_name)
|
30
|
+
NORMAL_INSTALL = :
|
31
|
+
PRE_INSTALL = :
|
32
|
+
POST_INSTALL = :
|
33
|
+
NORMAL_UNINSTALL = :
|
34
|
+
PRE_UNINSTALL = :
|
35
|
+
POST_UNINSTALL = :
|
36
|
+
build_triplet = @build@
|
37
|
+
host_triplet = @host@
|
38
|
+
subdir = src/hashkit
|
39
|
+
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
40
|
+
$(srcdir)/Makefile.in
|
41
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
42
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
43
|
+
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
44
|
+
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
45
|
+
$(top_srcdir)/configure.ac
|
46
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
47
|
+
$(ACLOCAL_M4)
|
48
|
+
mkinstalldirs = $(install_sh) -d
|
49
|
+
CONFIG_HEADER = $(top_builddir)/config.h
|
50
|
+
CONFIG_CLEAN_FILES =
|
51
|
+
CONFIG_CLEAN_VPATH_FILES =
|
52
|
+
LIBRARIES = $(noinst_LIBRARIES)
|
53
|
+
ARFLAGS = cru
|
54
|
+
libhashkit_a_AR = $(AR) $(ARFLAGS)
|
55
|
+
libhashkit_a_LIBADD =
|
56
|
+
am_libhashkit_a_OBJECTS = nc_crc32.$(OBJEXT) nc_fnv.$(OBJEXT) \
|
57
|
+
nc_hsieh.$(OBJEXT) nc_jenkins.$(OBJEXT) nc_ketama.$(OBJEXT) \
|
58
|
+
nc_md5.$(OBJEXT) nc_modula.$(OBJEXT) nc_murmur.$(OBJEXT) \
|
59
|
+
nc_one_at_a_time.$(OBJEXT) nc_random.$(OBJEXT)
|
60
|
+
libhashkit_a_OBJECTS = $(am_libhashkit_a_OBJECTS)
|
61
|
+
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
62
|
+
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
63
|
+
am__depfiles_maybe = depfiles
|
64
|
+
am__mv = mv -f
|
65
|
+
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
66
|
+
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
67
|
+
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
68
|
+
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
69
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
70
|
+
CCLD = $(CC)
|
71
|
+
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
72
|
+
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
73
|
+
$(LDFLAGS) -o $@
|
74
|
+
SOURCES = $(libhashkit_a_SOURCES)
|
75
|
+
DIST_SOURCES = $(libhashkit_a_SOURCES)
|
76
|
+
HEADERS = $(noinst_HEADERS)
|
77
|
+
ETAGS = etags
|
78
|
+
CTAGS = ctags
|
79
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
80
|
+
ACLOCAL = @ACLOCAL@
|
81
|
+
AMTAR = @AMTAR@
|
82
|
+
AR = @AR@
|
83
|
+
AUTOCONF = @AUTOCONF@
|
84
|
+
AUTOHEADER = @AUTOHEADER@
|
85
|
+
AUTOMAKE = @AUTOMAKE@
|
86
|
+
AWK = @AWK@
|
87
|
+
CC = @CC@
|
88
|
+
CCDEPMODE = @CCDEPMODE@
|
89
|
+
CFLAGS = @CFLAGS@
|
90
|
+
CPP = @CPP@
|
91
|
+
CPPFLAGS = @CPPFLAGS@
|
92
|
+
CXX = @CXX@
|
93
|
+
CXXCPP = @CXXCPP@
|
94
|
+
CXXDEPMODE = @CXXDEPMODE@
|
95
|
+
CXXFLAGS = @CXXFLAGS@
|
96
|
+
CYGPATH_W = @CYGPATH_W@
|
97
|
+
DEFS = @DEFS@
|
98
|
+
DEPDIR = @DEPDIR@
|
99
|
+
DSYMUTIL = @DSYMUTIL@
|
100
|
+
DUMPBIN = @DUMPBIN@
|
101
|
+
ECHO_C = @ECHO_C@
|
102
|
+
ECHO_N = @ECHO_N@
|
103
|
+
ECHO_T = @ECHO_T@
|
104
|
+
EGREP = @EGREP@
|
105
|
+
EXEEXT = @EXEEXT@
|
106
|
+
FGREP = @FGREP@
|
107
|
+
GREP = @GREP@
|
108
|
+
INSTALL = @INSTALL@
|
109
|
+
INSTALL_DATA = @INSTALL_DATA@
|
110
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
111
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
112
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
113
|
+
LD = @LD@
|
114
|
+
LDFLAGS = @LDFLAGS@
|
115
|
+
LIBOBJS = @LIBOBJS@
|
116
|
+
LIBS = @LIBS@
|
117
|
+
LIBTOOL = @LIBTOOL@
|
118
|
+
LIPO = @LIPO@
|
119
|
+
LN_S = @LN_S@
|
120
|
+
LTLIBOBJS = @LTLIBOBJS@
|
121
|
+
MAKEINFO = @MAKEINFO@
|
122
|
+
MKDIR_P = @MKDIR_P@
|
123
|
+
NM = @NM@
|
124
|
+
NMEDIT = @NMEDIT@
|
125
|
+
OBJDUMP = @OBJDUMP@
|
126
|
+
OBJEXT = @OBJEXT@
|
127
|
+
OTOOL = @OTOOL@
|
128
|
+
OTOOL64 = @OTOOL64@
|
129
|
+
PACKAGE = @PACKAGE@
|
130
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
131
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
132
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
133
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
134
|
+
PACKAGE_URL = @PACKAGE_URL@
|
135
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
136
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
137
|
+
RANLIB = @RANLIB@
|
138
|
+
SED = @SED@
|
139
|
+
SET_MAKE = @SET_MAKE@
|
140
|
+
SHELL = @SHELL@
|
141
|
+
STRIP = @STRIP@
|
142
|
+
VERSION = @VERSION@
|
143
|
+
abs_builddir = @abs_builddir@
|
144
|
+
abs_srcdir = @abs_srcdir@
|
145
|
+
abs_top_builddir = @abs_top_builddir@
|
146
|
+
abs_top_srcdir = @abs_top_srcdir@
|
147
|
+
ac_ct_CC = @ac_ct_CC@
|
148
|
+
ac_ct_CXX = @ac_ct_CXX@
|
149
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
150
|
+
am__include = @am__include@
|
151
|
+
am__leading_dot = @am__leading_dot@
|
152
|
+
am__quote = @am__quote@
|
153
|
+
am__tar = @am__tar@
|
154
|
+
am__untar = @am__untar@
|
155
|
+
bindir = @bindir@
|
156
|
+
build = @build@
|
157
|
+
build_alias = @build_alias@
|
158
|
+
build_cpu = @build_cpu@
|
159
|
+
build_os = @build_os@
|
160
|
+
build_vendor = @build_vendor@
|
161
|
+
builddir = @builddir@
|
162
|
+
datadir = @datadir@
|
163
|
+
datarootdir = @datarootdir@
|
164
|
+
docdir = @docdir@
|
165
|
+
dvidir = @dvidir@
|
166
|
+
exec_prefix = @exec_prefix@
|
167
|
+
host = @host@
|
168
|
+
host_alias = @host_alias@
|
169
|
+
host_cpu = @host_cpu@
|
170
|
+
host_os = @host_os@
|
171
|
+
host_vendor = @host_vendor@
|
172
|
+
htmldir = @htmldir@
|
173
|
+
includedir = @includedir@
|
174
|
+
infodir = @infodir@
|
175
|
+
install_sh = @install_sh@
|
176
|
+
libdir = @libdir@
|
177
|
+
libexecdir = @libexecdir@
|
178
|
+
localedir = @localedir@
|
179
|
+
localstatedir = @localstatedir@
|
180
|
+
lt_ECHO = @lt_ECHO@
|
181
|
+
mandir = @mandir@
|
182
|
+
mkdir_p = @mkdir_p@
|
183
|
+
oldincludedir = @oldincludedir@
|
184
|
+
pdfdir = @pdfdir@
|
185
|
+
prefix = @prefix@
|
186
|
+
program_transform_name = @program_transform_name@
|
187
|
+
psdir = @psdir@
|
188
|
+
sbindir = @sbindir@
|
189
|
+
sharedstatedir = @sharedstatedir@
|
190
|
+
srcdir = @srcdir@
|
191
|
+
subdirs = @subdirs@
|
192
|
+
sysconfdir = @sysconfdir@
|
193
|
+
target_alias = @target_alias@
|
194
|
+
top_build_prefix = @top_build_prefix@
|
195
|
+
top_builddir = @top_builddir@
|
196
|
+
top_srcdir = @top_srcdir@
|
197
|
+
MAINTAINERCLEANFILES = Makefile.in
|
198
|
+
AM_CPPFLAGS = -I $(top_srcdir)/src
|
199
|
+
AM_CFLAGS = -Wall -Wshadow -Wno-unused-parameter -Wno-unused-value
|
200
|
+
noinst_LIBRARIES = libhashkit.a
|
201
|
+
noinst_HEADERS = nc_hashkit.h
|
202
|
+
libhashkit_a_SOURCES = \
|
203
|
+
nc_crc32.c \
|
204
|
+
nc_fnv.c \
|
205
|
+
nc_hsieh.c \
|
206
|
+
nc_jenkins.c \
|
207
|
+
nc_ketama.c \
|
208
|
+
nc_md5.c \
|
209
|
+
nc_modula.c \
|
210
|
+
nc_murmur.c \
|
211
|
+
nc_one_at_a_time.c \
|
212
|
+
nc_random.c
|
213
|
+
|
214
|
+
all: all-am
|
215
|
+
|
216
|
+
.SUFFIXES:
|
217
|
+
.SUFFIXES: .c .lo .o .obj
|
218
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
219
|
+
@for dep in $?; do \
|
220
|
+
case '$(am__configure_deps)' in \
|
221
|
+
*$$dep*) \
|
222
|
+
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
223
|
+
&& { if test -f $@; then exit 0; else break; fi; }; \
|
224
|
+
exit 1;; \
|
225
|
+
esac; \
|
226
|
+
done; \
|
227
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/hashkit/Makefile'; \
|
228
|
+
$(am__cd) $(top_srcdir) && \
|
229
|
+
$(AUTOMAKE) --foreign src/hashkit/Makefile
|
230
|
+
.PRECIOUS: Makefile
|
231
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
232
|
+
@case '$?' in \
|
233
|
+
*config.status*) \
|
234
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
235
|
+
*) \
|
236
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
237
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
238
|
+
esac;
|
239
|
+
|
240
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
241
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
242
|
+
|
243
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
244
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
245
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
246
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
247
|
+
$(am__aclocal_m4_deps):
|
248
|
+
|
249
|
+
clean-noinstLIBRARIES:
|
250
|
+
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
251
|
+
libhashkit.a: $(libhashkit_a_OBJECTS) $(libhashkit_a_DEPENDENCIES)
|
252
|
+
-rm -f libhashkit.a
|
253
|
+
$(libhashkit_a_AR) libhashkit.a $(libhashkit_a_OBJECTS) $(libhashkit_a_LIBADD)
|
254
|
+
$(RANLIB) libhashkit.a
|
255
|
+
|
256
|
+
mostlyclean-compile:
|
257
|
+
-rm -f *.$(OBJEXT)
|
258
|
+
|
259
|
+
distclean-compile:
|
260
|
+
-rm -f *.tab.c
|
261
|
+
|
262
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_crc32.Po@am__quote@
|
263
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_fnv.Po@am__quote@
|
264
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_hsieh.Po@am__quote@
|
265
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_jenkins.Po@am__quote@
|
266
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_ketama.Po@am__quote@
|
267
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_md5.Po@am__quote@
|
268
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_modula.Po@am__quote@
|
269
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_murmur.Po@am__quote@
|
270
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_one_at_a_time.Po@am__quote@
|
271
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_random.Po@am__quote@
|
272
|
+
|
273
|
+
.c.o:
|
274
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
275
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
276
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
277
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
278
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
279
|
+
|
280
|
+
.c.obj:
|
281
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
282
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
283
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
284
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
285
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
286
|
+
|
287
|
+
.c.lo:
|
288
|
+
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
289
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
290
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
291
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
292
|
+
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
293
|
+
|
294
|
+
mostlyclean-libtool:
|
295
|
+
-rm -f *.lo
|
296
|
+
|
297
|
+
clean-libtool:
|
298
|
+
-rm -rf .libs _libs
|
299
|
+
|
300
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
301
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
302
|
+
unique=`for i in $$list; do \
|
303
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
304
|
+
done | \
|
305
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
306
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
307
|
+
mkid -fID $$unique
|
308
|
+
tags: TAGS
|
309
|
+
|
310
|
+
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
311
|
+
$(TAGS_FILES) $(LISP)
|
312
|
+
set x; \
|
313
|
+
here=`pwd`; \
|
314
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
315
|
+
unique=`for i in $$list; do \
|
316
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
317
|
+
done | \
|
318
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
319
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
320
|
+
shift; \
|
321
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
322
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
323
|
+
if test $$# -gt 0; then \
|
324
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
325
|
+
"$$@" $$unique; \
|
326
|
+
else \
|
327
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
328
|
+
$$unique; \
|
329
|
+
fi; \
|
330
|
+
fi
|
331
|
+
ctags: CTAGS
|
332
|
+
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
333
|
+
$(TAGS_FILES) $(LISP)
|
334
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
335
|
+
unique=`for i in $$list; do \
|
336
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
337
|
+
done | \
|
338
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
339
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
340
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
341
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
342
|
+
$$unique
|
343
|
+
|
344
|
+
GTAGS:
|
345
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
346
|
+
&& $(am__cd) $(top_srcdir) \
|
347
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
348
|
+
|
349
|
+
distclean-tags:
|
350
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
351
|
+
|
352
|
+
distdir: $(DISTFILES)
|
353
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
354
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
355
|
+
list='$(DISTFILES)'; \
|
356
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
357
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
358
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
359
|
+
case $$dist_files in \
|
360
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
361
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
362
|
+
sort -u` ;; \
|
363
|
+
esac; \
|
364
|
+
for file in $$dist_files; do \
|
365
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
366
|
+
if test -d $$d/$$file; then \
|
367
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
368
|
+
if test -d "$(distdir)/$$file"; then \
|
369
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
370
|
+
fi; \
|
371
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
372
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
373
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
374
|
+
fi; \
|
375
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
376
|
+
else \
|
377
|
+
test -f "$(distdir)/$$file" \
|
378
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
379
|
+
|| exit 1; \
|
380
|
+
fi; \
|
381
|
+
done
|
382
|
+
check-am: all-am
|
383
|
+
check: check-am
|
384
|
+
all-am: Makefile $(LIBRARIES) $(HEADERS)
|
385
|
+
installdirs:
|
386
|
+
install: install-am
|
387
|
+
install-exec: install-exec-am
|
388
|
+
install-data: install-data-am
|
389
|
+
uninstall: uninstall-am
|
390
|
+
|
391
|
+
install-am: all-am
|
392
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
393
|
+
|
394
|
+
installcheck: installcheck-am
|
395
|
+
install-strip:
|
396
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
397
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
398
|
+
`test -z '$(STRIP)' || \
|
399
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
400
|
+
mostlyclean-generic:
|
401
|
+
|
402
|
+
clean-generic:
|
403
|
+
|
404
|
+
distclean-generic:
|
405
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
406
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
407
|
+
|
408
|
+
maintainer-clean-generic:
|
409
|
+
@echo "This command is intended for maintainers to use"
|
410
|
+
@echo "it deletes files that may require special tools to rebuild."
|
411
|
+
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
412
|
+
clean: clean-am
|
413
|
+
|
414
|
+
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
415
|
+
mostlyclean-am
|
416
|
+
|
417
|
+
distclean: distclean-am
|
418
|
+
-rm -rf ./$(DEPDIR)
|
419
|
+
-rm -f Makefile
|
420
|
+
distclean-am: clean-am distclean-compile distclean-generic \
|
421
|
+
distclean-tags
|
422
|
+
|
423
|
+
dvi: dvi-am
|
424
|
+
|
425
|
+
dvi-am:
|
426
|
+
|
427
|
+
html: html-am
|
428
|
+
|
429
|
+
html-am:
|
430
|
+
|
431
|
+
info: info-am
|
432
|
+
|
433
|
+
info-am:
|
434
|
+
|
435
|
+
install-data-am:
|
436
|
+
|
437
|
+
install-dvi: install-dvi-am
|
438
|
+
|
439
|
+
install-dvi-am:
|
440
|
+
|
441
|
+
install-exec-am:
|
442
|
+
|
443
|
+
install-html: install-html-am
|
444
|
+
|
445
|
+
install-html-am:
|
446
|
+
|
447
|
+
install-info: install-info-am
|
448
|
+
|
449
|
+
install-info-am:
|
450
|
+
|
451
|
+
install-man:
|
452
|
+
|
453
|
+
install-pdf: install-pdf-am
|
454
|
+
|
455
|
+
install-pdf-am:
|
456
|
+
|
457
|
+
install-ps: install-ps-am
|
458
|
+
|
459
|
+
install-ps-am:
|
460
|
+
|
461
|
+
installcheck-am:
|
462
|
+
|
463
|
+
maintainer-clean: maintainer-clean-am
|
464
|
+
-rm -rf ./$(DEPDIR)
|
465
|
+
-rm -f Makefile
|
466
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
467
|
+
|
468
|
+
mostlyclean: mostlyclean-am
|
469
|
+
|
470
|
+
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
471
|
+
mostlyclean-libtool
|
472
|
+
|
473
|
+
pdf: pdf-am
|
474
|
+
|
475
|
+
pdf-am:
|
476
|
+
|
477
|
+
ps: ps-am
|
478
|
+
|
479
|
+
ps-am:
|
480
|
+
|
481
|
+
uninstall-am:
|
482
|
+
|
483
|
+
.MAKE: install-am install-strip
|
484
|
+
|
485
|
+
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
486
|
+
clean-libtool clean-noinstLIBRARIES ctags distclean \
|
487
|
+
distclean-compile distclean-generic distclean-libtool \
|
488
|
+
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
489
|
+
install install-am install-data install-data-am install-dvi \
|
490
|
+
install-dvi-am install-exec install-exec-am install-html \
|
491
|
+
install-html-am install-info install-info-am install-man \
|
492
|
+
install-pdf install-pdf-am install-ps install-ps-am \
|
493
|
+
install-strip installcheck installcheck-am installdirs \
|
494
|
+
maintainer-clean maintainer-clean-generic mostlyclean \
|
495
|
+
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
496
|
+
pdf pdf-am ps ps-am tags uninstall uninstall-am
|
497
|
+
|
498
|
+
|
499
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
500
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
501
|
+
.NOEXPORT:
|