nutcracker 0.2.4.12 → 0.3.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +1 -1
- data/ext/nutcracker/ChangeLog +10 -0
- data/ext/nutcracker/Makefile.am +2 -0
- data/ext/nutcracker/Makefile.in +101 -14
- data/ext/nutcracker/README.md +18 -1
- data/ext/nutcracker/config.h.in +18 -0
- data/ext/nutcracker/configure +196 -25
- data/ext/nutcracker/configure.ac +64 -6
- data/ext/nutcracker/extconf.rb +1 -1
- data/ext/nutcracker/man/nutcracker.8 +76 -0
- data/ext/nutcracker/notes/debug.txt +116 -16
- data/ext/nutcracker/notes/kqueue.pdf +0 -0
- data/ext/nutcracker/notes/recommendation.md +20 -0
- data/ext/nutcracker/notes/redis.md +2 -2
- data/ext/nutcracker/scripts/nutcracker.spec +1 -1
- data/ext/nutcracker/scripts/redis-check.sh +3 -1
- data/ext/nutcracker/src/Makefile.am +15 -6
- data/ext/nutcracker/src/Makefile.in +39 -36
- data/ext/nutcracker/src/event/Makefile.am +16 -0
- data/ext/nutcracker/src/event/Makefile.in +492 -0
- data/ext/nutcracker/src/event/nc_epoll.c +344 -0
- data/ext/nutcracker/src/event/nc_event.h +88 -0
- data/ext/nutcracker/src/event/nc_evport.c +420 -0
- data/ext/nutcracker/src/event/nc_kqueue.c +412 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.c +19 -1
- data/ext/nutcracker/src/hashkit/nc_hashkit.h +3 -1
- data/ext/nutcracker/src/hashkit/nc_md5.c +257 -315
- data/ext/nutcracker/src/nc.c +12 -1
- data/ext/nutcracker/src/nc_connection.c +18 -1
- data/ext/nutcracker/src/nc_connection.h +1 -0
- data/ext/nutcracker/src/nc_core.c +22 -30
- data/ext/nutcracker/src/nc_core.h +22 -7
- data/ext/nutcracker/src/nc_proxy.c +8 -9
- data/ext/nutcracker/src/nc_queue.h +2 -0
- data/ext/nutcracker/src/nc_request.c +3 -4
- data/ext/nutcracker/src/nc_response.c +25 -8
- data/ext/nutcracker/src/nc_server.c +8 -6
- data/ext/nutcracker/src/nc_stats.c +46 -43
- data/ext/nutcracker/src/nc_stats.h +37 -30
- data/ext/nutcracker/src/nc_util.c +6 -1
- data/ext/nutcracker/src/proto/nc_redis.c +19 -5
- data/lib/nutcracker/version.rb +1 -1
- data/lib/nutcracker.rb +1 -1
- metadata +10 -4
- data/ext/nutcracker/src/nc_event.c +0 -214
- data/ext/nutcracker/src/nc_event.h +0 -39
@@ -0,0 +1,492 @@
|
|
1
|
+
# Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
|
6
|
+
# Foundation, 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/event
|
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
|
+
libevent_a_AR = $(AR) $(ARFLAGS)
|
55
|
+
libevent_a_LIBADD =
|
56
|
+
am_libevent_a_OBJECTS = nc_epoll.$(OBJEXT) nc_kqueue.$(OBJEXT) \
|
57
|
+
nc_evport.$(OBJEXT)
|
58
|
+
libevent_a_OBJECTS = $(am_libevent_a_OBJECTS)
|
59
|
+
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
60
|
+
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
61
|
+
am__depfiles_maybe = depfiles
|
62
|
+
am__mv = mv -f
|
63
|
+
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
64
|
+
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
65
|
+
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
66
|
+
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
67
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
68
|
+
CCLD = $(CC)
|
69
|
+
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
70
|
+
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
71
|
+
$(LDFLAGS) -o $@
|
72
|
+
SOURCES = $(libevent_a_SOURCES)
|
73
|
+
DIST_SOURCES = $(libevent_a_SOURCES)
|
74
|
+
HEADERS = $(noinst_HEADERS)
|
75
|
+
ETAGS = etags
|
76
|
+
CTAGS = ctags
|
77
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
78
|
+
ACLOCAL = @ACLOCAL@
|
79
|
+
AMTAR = @AMTAR@
|
80
|
+
AR = @AR@
|
81
|
+
AUTOCONF = @AUTOCONF@
|
82
|
+
AUTOHEADER = @AUTOHEADER@
|
83
|
+
AUTOMAKE = @AUTOMAKE@
|
84
|
+
AWK = @AWK@
|
85
|
+
CC = @CC@
|
86
|
+
CCDEPMODE = @CCDEPMODE@
|
87
|
+
CFLAGS = @CFLAGS@
|
88
|
+
CPP = @CPP@
|
89
|
+
CPPFLAGS = @CPPFLAGS@
|
90
|
+
CXX = @CXX@
|
91
|
+
CXXCPP = @CXXCPP@
|
92
|
+
CXXDEPMODE = @CXXDEPMODE@
|
93
|
+
CXXFLAGS = @CXXFLAGS@
|
94
|
+
CYGPATH_W = @CYGPATH_W@
|
95
|
+
DEFS = @DEFS@
|
96
|
+
DEPDIR = @DEPDIR@
|
97
|
+
DLLTOOL = @DLLTOOL@
|
98
|
+
DSYMUTIL = @DSYMUTIL@
|
99
|
+
DUMPBIN = @DUMPBIN@
|
100
|
+
ECHO_C = @ECHO_C@
|
101
|
+
ECHO_N = @ECHO_N@
|
102
|
+
ECHO_T = @ECHO_T@
|
103
|
+
EGREP = @EGREP@
|
104
|
+
EXEEXT = @EXEEXT@
|
105
|
+
FGREP = @FGREP@
|
106
|
+
GREP = @GREP@
|
107
|
+
INSTALL = @INSTALL@
|
108
|
+
INSTALL_DATA = @INSTALL_DATA@
|
109
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
110
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
111
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
112
|
+
LD = @LD@
|
113
|
+
LDFLAGS = @LDFLAGS@
|
114
|
+
LIBOBJS = @LIBOBJS@
|
115
|
+
LIBS = @LIBS@
|
116
|
+
LIBTOOL = @LIBTOOL@
|
117
|
+
LIPO = @LIPO@
|
118
|
+
LN_S = @LN_S@
|
119
|
+
LTLIBOBJS = @LTLIBOBJS@
|
120
|
+
MAKEINFO = @MAKEINFO@
|
121
|
+
MANIFEST_TOOL = @MANIFEST_TOOL@
|
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_AR = @ac_ct_AR@
|
148
|
+
ac_ct_CC = @ac_ct_CC@
|
149
|
+
ac_ct_CXX = @ac_ct_CXX@
|
150
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
151
|
+
am__include = @am__include@
|
152
|
+
am__leading_dot = @am__leading_dot@
|
153
|
+
am__quote = @am__quote@
|
154
|
+
am__tar = @am__tar@
|
155
|
+
am__untar = @am__untar@
|
156
|
+
bindir = @bindir@
|
157
|
+
build = @build@
|
158
|
+
build_alias = @build_alias@
|
159
|
+
build_cpu = @build_cpu@
|
160
|
+
build_os = @build_os@
|
161
|
+
build_vendor = @build_vendor@
|
162
|
+
builddir = @builddir@
|
163
|
+
datadir = @datadir@
|
164
|
+
datarootdir = @datarootdir@
|
165
|
+
docdir = @docdir@
|
166
|
+
dvidir = @dvidir@
|
167
|
+
exec_prefix = @exec_prefix@
|
168
|
+
host = @host@
|
169
|
+
host_alias = @host_alias@
|
170
|
+
host_cpu = @host_cpu@
|
171
|
+
host_os = @host_os@
|
172
|
+
host_vendor = @host_vendor@
|
173
|
+
htmldir = @htmldir@
|
174
|
+
includedir = @includedir@
|
175
|
+
infodir = @infodir@
|
176
|
+
install_sh = @install_sh@
|
177
|
+
libdir = @libdir@
|
178
|
+
libexecdir = @libexecdir@
|
179
|
+
localedir = @localedir@
|
180
|
+
localstatedir = @localstatedir@
|
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 = libevent.a
|
201
|
+
noinst_HEADERS = nc_event.h
|
202
|
+
libevent_a_SOURCES = \
|
203
|
+
nc_epoll.c \
|
204
|
+
nc_kqueue.c \
|
205
|
+
nc_evport.c
|
206
|
+
|
207
|
+
all: all-am
|
208
|
+
|
209
|
+
.SUFFIXES:
|
210
|
+
.SUFFIXES: .c .lo .o .obj
|
211
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
212
|
+
@for dep in $?; do \
|
213
|
+
case '$(am__configure_deps)' in \
|
214
|
+
*$$dep*) \
|
215
|
+
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
216
|
+
&& { if test -f $@; then exit 0; else break; fi; }; \
|
217
|
+
exit 1;; \
|
218
|
+
esac; \
|
219
|
+
done; \
|
220
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/event/Makefile'; \
|
221
|
+
$(am__cd) $(top_srcdir) && \
|
222
|
+
$(AUTOMAKE) --foreign src/event/Makefile
|
223
|
+
.PRECIOUS: Makefile
|
224
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
225
|
+
@case '$?' in \
|
226
|
+
*config.status*) \
|
227
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
228
|
+
*) \
|
229
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
230
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
231
|
+
esac;
|
232
|
+
|
233
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
234
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
235
|
+
|
236
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
237
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
238
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
239
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
240
|
+
$(am__aclocal_m4_deps):
|
241
|
+
|
242
|
+
clean-noinstLIBRARIES:
|
243
|
+
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
244
|
+
libevent.a: $(libevent_a_OBJECTS) $(libevent_a_DEPENDENCIES) $(EXTRA_libevent_a_DEPENDENCIES)
|
245
|
+
-rm -f libevent.a
|
246
|
+
$(libevent_a_AR) libevent.a $(libevent_a_OBJECTS) $(libevent_a_LIBADD)
|
247
|
+
$(RANLIB) libevent.a
|
248
|
+
|
249
|
+
mostlyclean-compile:
|
250
|
+
-rm -f *.$(OBJEXT)
|
251
|
+
|
252
|
+
distclean-compile:
|
253
|
+
-rm -f *.tab.c
|
254
|
+
|
255
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_epoll.Po@am__quote@
|
256
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_evport.Po@am__quote@
|
257
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_kqueue.Po@am__quote@
|
258
|
+
|
259
|
+
.c.o:
|
260
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
261
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
262
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
263
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
264
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
265
|
+
|
266
|
+
.c.obj:
|
267
|
+
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
268
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
269
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
270
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
271
|
+
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
272
|
+
|
273
|
+
.c.lo:
|
274
|
+
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
275
|
+
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
276
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
277
|
+
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
278
|
+
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
279
|
+
|
280
|
+
mostlyclean-libtool:
|
281
|
+
-rm -f *.lo
|
282
|
+
|
283
|
+
clean-libtool:
|
284
|
+
-rm -rf .libs _libs
|
285
|
+
|
286
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
287
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
288
|
+
unique=`for i in $$list; do \
|
289
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
290
|
+
done | \
|
291
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
292
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
293
|
+
mkid -fID $$unique
|
294
|
+
tags: TAGS
|
295
|
+
|
296
|
+
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
297
|
+
$(TAGS_FILES) $(LISP)
|
298
|
+
set x; \
|
299
|
+
here=`pwd`; \
|
300
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
301
|
+
unique=`for i in $$list; do \
|
302
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
303
|
+
done | \
|
304
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
305
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
306
|
+
shift; \
|
307
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
308
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
309
|
+
if test $$# -gt 0; then \
|
310
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
311
|
+
"$$@" $$unique; \
|
312
|
+
else \
|
313
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
314
|
+
$$unique; \
|
315
|
+
fi; \
|
316
|
+
fi
|
317
|
+
ctags: CTAGS
|
318
|
+
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
319
|
+
$(TAGS_FILES) $(LISP)
|
320
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
321
|
+
unique=`for i in $$list; do \
|
322
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
323
|
+
done | \
|
324
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
325
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
326
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
327
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
328
|
+
$$unique
|
329
|
+
|
330
|
+
GTAGS:
|
331
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
332
|
+
&& $(am__cd) $(top_srcdir) \
|
333
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
334
|
+
|
335
|
+
distclean-tags:
|
336
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
337
|
+
|
338
|
+
distdir: $(DISTFILES)
|
339
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
340
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
341
|
+
list='$(DISTFILES)'; \
|
342
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
343
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
344
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
345
|
+
case $$dist_files in \
|
346
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
347
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
348
|
+
sort -u` ;; \
|
349
|
+
esac; \
|
350
|
+
for file in $$dist_files; do \
|
351
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
352
|
+
if test -d $$d/$$file; then \
|
353
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
354
|
+
if test -d "$(distdir)/$$file"; then \
|
355
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
356
|
+
fi; \
|
357
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
358
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
359
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
360
|
+
fi; \
|
361
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
362
|
+
else \
|
363
|
+
test -f "$(distdir)/$$file" \
|
364
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
365
|
+
|| exit 1; \
|
366
|
+
fi; \
|
367
|
+
done
|
368
|
+
check-am: all-am
|
369
|
+
check: check-am
|
370
|
+
all-am: Makefile $(LIBRARIES) $(HEADERS)
|
371
|
+
installdirs:
|
372
|
+
install: install-am
|
373
|
+
install-exec: install-exec-am
|
374
|
+
install-data: install-data-am
|
375
|
+
uninstall: uninstall-am
|
376
|
+
|
377
|
+
install-am: all-am
|
378
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
379
|
+
|
380
|
+
installcheck: installcheck-am
|
381
|
+
install-strip:
|
382
|
+
if test -z '$(STRIP)'; then \
|
383
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
384
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
385
|
+
install; \
|
386
|
+
else \
|
387
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
388
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
389
|
+
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
390
|
+
fi
|
391
|
+
mostlyclean-generic:
|
392
|
+
|
393
|
+
clean-generic:
|
394
|
+
|
395
|
+
distclean-generic:
|
396
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
397
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
398
|
+
|
399
|
+
maintainer-clean-generic:
|
400
|
+
@echo "This command is intended for maintainers to use"
|
401
|
+
@echo "it deletes files that may require special tools to rebuild."
|
402
|
+
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
403
|
+
clean: clean-am
|
404
|
+
|
405
|
+
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
406
|
+
mostlyclean-am
|
407
|
+
|
408
|
+
distclean: distclean-am
|
409
|
+
-rm -rf ./$(DEPDIR)
|
410
|
+
-rm -f Makefile
|
411
|
+
distclean-am: clean-am distclean-compile distclean-generic \
|
412
|
+
distclean-tags
|
413
|
+
|
414
|
+
dvi: dvi-am
|
415
|
+
|
416
|
+
dvi-am:
|
417
|
+
|
418
|
+
html: html-am
|
419
|
+
|
420
|
+
html-am:
|
421
|
+
|
422
|
+
info: info-am
|
423
|
+
|
424
|
+
info-am:
|
425
|
+
|
426
|
+
install-data-am:
|
427
|
+
|
428
|
+
install-dvi: install-dvi-am
|
429
|
+
|
430
|
+
install-dvi-am:
|
431
|
+
|
432
|
+
install-exec-am:
|
433
|
+
|
434
|
+
install-html: install-html-am
|
435
|
+
|
436
|
+
install-html-am:
|
437
|
+
|
438
|
+
install-info: install-info-am
|
439
|
+
|
440
|
+
install-info-am:
|
441
|
+
|
442
|
+
install-man:
|
443
|
+
|
444
|
+
install-pdf: install-pdf-am
|
445
|
+
|
446
|
+
install-pdf-am:
|
447
|
+
|
448
|
+
install-ps: install-ps-am
|
449
|
+
|
450
|
+
install-ps-am:
|
451
|
+
|
452
|
+
installcheck-am:
|
453
|
+
|
454
|
+
maintainer-clean: maintainer-clean-am
|
455
|
+
-rm -rf ./$(DEPDIR)
|
456
|
+
-rm -f Makefile
|
457
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
458
|
+
|
459
|
+
mostlyclean: mostlyclean-am
|
460
|
+
|
461
|
+
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
462
|
+
mostlyclean-libtool
|
463
|
+
|
464
|
+
pdf: pdf-am
|
465
|
+
|
466
|
+
pdf-am:
|
467
|
+
|
468
|
+
ps: ps-am
|
469
|
+
|
470
|
+
ps-am:
|
471
|
+
|
472
|
+
uninstall-am:
|
473
|
+
|
474
|
+
.MAKE: install-am install-strip
|
475
|
+
|
476
|
+
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
477
|
+
clean-libtool clean-noinstLIBRARIES ctags distclean \
|
478
|
+
distclean-compile distclean-generic distclean-libtool \
|
479
|
+
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
480
|
+
install install-am install-data install-data-am install-dvi \
|
481
|
+
install-dvi-am install-exec install-exec-am install-html \
|
482
|
+
install-html-am install-info install-info-am install-man \
|
483
|
+
install-pdf install-pdf-am install-ps install-ps-am \
|
484
|
+
install-strip installcheck installcheck-am installdirs \
|
485
|
+
maintainer-clean maintainer-clean-generic mostlyclean \
|
486
|
+
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
487
|
+
pdf pdf-am ps ps-am tags uninstall uninstall-am
|
488
|
+
|
489
|
+
|
490
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
491
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
492
|
+
.NOEXPORT:
|