eio 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/.gitignore +8 -0
  2. data/COPYING +502 -0
  3. data/LICENSE +16 -0
  4. data/README.rdoc +201 -0
  5. data/Rakefile +48 -0
  6. data/bench/eventmachine.rb +134 -0
  7. data/eio.gemspec +17 -0
  8. data/ext/eio/eio_ext.c +1447 -0
  9. data/ext/eio/extconf.rb +11 -0
  10. data/ext/libeio/CVS/Entries +13 -0
  11. data/ext/libeio/CVS/Repository +1 -0
  12. data/ext/libeio/CVS/Root +1 -0
  13. data/ext/libeio/Changes +40 -0
  14. data/ext/libeio/LICENSE +36 -0
  15. data/ext/libeio/Makefile +692 -0
  16. data/ext/libeio/Makefile.am +15 -0
  17. data/ext/libeio/Makefile.in +692 -0
  18. data/ext/libeio/aclocal.m4 +8937 -0
  19. data/ext/libeio/autogen.sh +3 -0
  20. data/ext/libeio/autom4te.cache/output.0 +13871 -0
  21. data/ext/libeio/autom4te.cache/output.1 +13867 -0
  22. data/ext/libeio/autom4te.cache/requests +275 -0
  23. data/ext/libeio/autom4te.cache/traces.0 +2384 -0
  24. data/ext/libeio/autom4te.cache/traces.1 +621 -0
  25. data/ext/libeio/config.guess +1501 -0
  26. data/ext/libeio/config.h +122 -0
  27. data/ext/libeio/config.h.in +121 -0
  28. data/ext/libeio/config.status +2035 -0
  29. data/ext/libeio/config.sub +1705 -0
  30. data/ext/libeio/configure +13867 -0
  31. data/ext/libeio/configure.ac +22 -0
  32. data/ext/libeio/demo.c +194 -0
  33. data/ext/libeio/eio.3 +3428 -0
  34. data/ext/libeio/eio.c +2075 -0
  35. data/ext/libeio/eio.h +336 -0
  36. data/ext/libeio/eio.pod +303 -0
  37. data/ext/libeio/install-sh +520 -0
  38. data/ext/libeio/libeio.m4 +156 -0
  39. data/ext/libeio/libtool +8890 -0
  40. data/ext/libeio/ltmain.sh +8406 -0
  41. data/ext/libeio/missing +376 -0
  42. data/ext/libeio/stamp-h1 +1 -0
  43. data/ext/libeio/xthread.h +168 -0
  44. data/lib/eio.rb +9 -0
  45. data/lib/eio/eventmachine.rb +24 -0
  46. data/lib/eio/middleware.rb +21 -0
  47. data/test/test_eio.rb +1161 -0
  48. data/test/test_eventmachine.rb +23 -0
  49. data/test/test_middleware.rb +20 -0
  50. metadata +148 -0
@@ -0,0 +1,15 @@
1
+ AUTOMAKE_OPTIONS = foreign no-dependencies
2
+
3
+ VERSION_INFO = 1:0
4
+
5
+ EXTRA_DIST = LICENSE Changes autogen.sh
6
+
7
+ #man_MANS = ev.3
8
+
9
+ include_HEADERS = eio.h
10
+
11
+ lib_LTLIBRARIES = libeio.la
12
+
13
+ libeio_la_SOURCES = eio.c xthread.h config.h
14
+ libeio_la_LDFLAGS = -version-info $(VERSION_INFO)
15
+
@@ -0,0 +1,692 @@
1
+ # Makefile.in generated by automake 1.11.1 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 = .
39
+ DIST_COMMON = $(am__configure_deps) $(include_HEADERS) \
40
+ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
41
+ $(srcdir)/config.h.in $(top_srcdir)/configure config.guess \
42
+ config.sub install-sh ltmain.sh missing
43
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44
+ am__aclocal_m4_deps = $(top_srcdir)/libeio.m4 \
45
+ $(top_srcdir)/configure.ac
46
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47
+ $(ACLOCAL_M4)
48
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49
+ configure.lineno config.status.lineno
50
+ mkinstalldirs = $(install_sh) -d
51
+ CONFIG_HEADER = config.h
52
+ CONFIG_CLEAN_FILES =
53
+ CONFIG_CLEAN_VPATH_FILES =
54
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55
+ am__vpath_adj = case $$p in \
56
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57
+ *) f=$$p;; \
58
+ esac;
59
+ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
60
+ am__install_max = 40
61
+ am__nobase_strip_setup = \
62
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
63
+ am__nobase_strip = \
64
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
65
+ am__nobase_list = $(am__nobase_strip_setup); \
66
+ for p in $$list; do echo "$$p $$p"; done | \
67
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
68
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
69
+ if (++n[$$2] == $(am__install_max)) \
70
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
71
+ END { for (dir in files) print dir, files[dir] }'
72
+ am__base_list = \
73
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
74
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
75
+ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
76
+ LTLIBRARIES = $(lib_LTLIBRARIES)
77
+ libeio_la_LIBADD =
78
+ am_libeio_la_OBJECTS = eio.lo
79
+ libeio_la_OBJECTS = $(am_libeio_la_OBJECTS)
80
+ libeio_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
81
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
82
+ $(libeio_la_LDFLAGS) $(LDFLAGS) -o $@
83
+ DEFAULT_INCLUDES = -I.@am__isrc@
84
+ depcomp =
85
+ am__depfiles_maybe =
86
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
87
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
88
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
89
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
90
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
91
+ CCLD = $(CC)
92
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
93
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
94
+ $(LDFLAGS) -o $@
95
+ SOURCES = $(libeio_la_SOURCES)
96
+ DIST_SOURCES = $(libeio_la_SOURCES)
97
+ HEADERS = $(include_HEADERS)
98
+ ETAGS = etags
99
+ CTAGS = ctags
100
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101
+ distdir = $(PACKAGE)-$(VERSION)
102
+ top_distdir = $(distdir)
103
+ am__remove_distdir = \
104
+ { test ! -d "$(distdir)" \
105
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
106
+ && rm -fr "$(distdir)"; }; }
107
+ DIST_ARCHIVES = $(distdir).tar.gz
108
+ GZIP_ENV = --best
109
+ distuninstallcheck_listfiles = find . -type f -print
110
+ distcleancheck_listfiles = find . -type f -print
111
+ ACLOCAL = @ACLOCAL@
112
+ AMTAR = @AMTAR@
113
+ AR = @AR@
114
+ AUTOCONF = @AUTOCONF@
115
+ AUTOHEADER = @AUTOHEADER@
116
+ AUTOMAKE = @AUTOMAKE@
117
+ AWK = @AWK@
118
+ CC = @CC@
119
+ CCDEPMODE = @CCDEPMODE@
120
+ CFLAGS = @CFLAGS@
121
+ CPP = @CPP@
122
+ CPPFLAGS = @CPPFLAGS@
123
+ CYGPATH_W = @CYGPATH_W@
124
+ DEFS = @DEFS@
125
+ DEPDIR = @DEPDIR@
126
+ DSYMUTIL = @DSYMUTIL@
127
+ DUMPBIN = @DUMPBIN@
128
+ ECHO_C = @ECHO_C@
129
+ ECHO_N = @ECHO_N@
130
+ ECHO_T = @ECHO_T@
131
+ EGREP = @EGREP@
132
+ EXEEXT = @EXEEXT@
133
+ FGREP = @FGREP@
134
+ GREP = @GREP@
135
+ INSTALL = @INSTALL@
136
+ INSTALL_DATA = @INSTALL_DATA@
137
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
138
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
139
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
140
+ LD = @LD@
141
+ LDFLAGS = @LDFLAGS@
142
+ LIBOBJS = @LIBOBJS@
143
+ LIBS = @LIBS@
144
+ LIBTOOL = @LIBTOOL@
145
+ LIPO = @LIPO@
146
+ LN_S = @LN_S@
147
+ LTLIBOBJS = @LTLIBOBJS@
148
+ MAINT = @MAINT@
149
+ MAKEINFO = @MAKEINFO@
150
+ MKDIR_P = @MKDIR_P@
151
+ NM = @NM@
152
+ NMEDIT = @NMEDIT@
153
+ OBJDUMP = @OBJDUMP@
154
+ OBJEXT = @OBJEXT@
155
+ OTOOL = @OTOOL@
156
+ OTOOL64 = @OTOOL64@
157
+ PACKAGE = @PACKAGE@
158
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159
+ PACKAGE_NAME = @PACKAGE_NAME@
160
+ PACKAGE_STRING = @PACKAGE_STRING@
161
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
162
+ PACKAGE_URL = @PACKAGE_URL@
163
+ PACKAGE_VERSION = @PACKAGE_VERSION@
164
+ PATH_SEPARATOR = @PATH_SEPARATOR@
165
+ RANLIB = @RANLIB@
166
+ SED = @SED@
167
+ SET_MAKE = @SET_MAKE@
168
+ SHELL = @SHELL@
169
+ STRIP = @STRIP@
170
+ VERSION = @VERSION@
171
+ abs_builddir = @abs_builddir@
172
+ abs_srcdir = @abs_srcdir@
173
+ abs_top_builddir = @abs_top_builddir@
174
+ abs_top_srcdir = @abs_top_srcdir@
175
+ ac_ct_CC = @ac_ct_CC@
176
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
177
+ am__include = @am__include@
178
+ am__leading_dot = @am__leading_dot@
179
+ am__quote = @am__quote@
180
+ am__tar = @am__tar@
181
+ am__untar = @am__untar@
182
+ bindir = @bindir@
183
+ build = @build@
184
+ build_alias = @build_alias@
185
+ build_cpu = @build_cpu@
186
+ build_os = @build_os@
187
+ build_vendor = @build_vendor@
188
+ builddir = @builddir@
189
+ datadir = @datadir@
190
+ datarootdir = @datarootdir@
191
+ docdir = @docdir@
192
+ dvidir = @dvidir@
193
+ exec_prefix = @exec_prefix@
194
+ host = @host@
195
+ host_alias = @host_alias@
196
+ host_cpu = @host_cpu@
197
+ host_os = @host_os@
198
+ host_vendor = @host_vendor@
199
+ htmldir = @htmldir@
200
+ includedir = @includedir@
201
+ infodir = @infodir@
202
+ install_sh = @install_sh@
203
+ libdir = @libdir@
204
+ libexecdir = @libexecdir@
205
+ localedir = @localedir@
206
+ localstatedir = @localstatedir@
207
+ lt_ECHO = @lt_ECHO@
208
+ mandir = @mandir@
209
+ mkdir_p = @mkdir_p@
210
+ oldincludedir = @oldincludedir@
211
+ pdfdir = @pdfdir@
212
+ prefix = @prefix@
213
+ program_transform_name = @program_transform_name@
214
+ psdir = @psdir@
215
+ sbindir = @sbindir@
216
+ sharedstatedir = @sharedstatedir@
217
+ srcdir = @srcdir@
218
+ sysconfdir = @sysconfdir@
219
+ target_alias = @target_alias@
220
+ top_build_prefix = @top_build_prefix@
221
+ top_builddir = @top_builddir@
222
+ top_srcdir = @top_srcdir@
223
+ AUTOMAKE_OPTIONS = foreign no-dependencies
224
+ VERSION_INFO = 1:0
225
+ EXTRA_DIST = LICENSE Changes autogen.sh
226
+
227
+ #man_MANS = ev.3
228
+ include_HEADERS = eio.h
229
+ lib_LTLIBRARIES = libeio.la
230
+ libeio_la_SOURCES = eio.c xthread.h config.h
231
+ libeio_la_LDFLAGS = -version-info $(VERSION_INFO)
232
+ all: config.h
233
+ $(MAKE) $(AM_MAKEFLAGS) all-am
234
+
235
+ .SUFFIXES:
236
+ .SUFFIXES: .c .lo .o .obj
237
+ am--refresh:
238
+ @:
239
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
240
+ @for dep in $?; do \
241
+ case '$(am__configure_deps)' in \
242
+ *$$dep*) \
243
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
244
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
245
+ && exit 0; \
246
+ exit 1;; \
247
+ esac; \
248
+ done; \
249
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
250
+ $(am__cd) $(top_srcdir) && \
251
+ $(AUTOMAKE) --foreign Makefile
252
+ .PRECIOUS: Makefile
253
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
254
+ @case '$?' in \
255
+ *config.status*) \
256
+ echo ' $(SHELL) ./config.status'; \
257
+ $(SHELL) ./config.status;; \
258
+ *) \
259
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
260
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
261
+ esac;
262
+
263
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
264
+ $(SHELL) ./config.status --recheck
265
+
266
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
267
+ $(am__cd) $(srcdir) && $(AUTOCONF)
268
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
269
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
270
+ $(am__aclocal_m4_deps):
271
+
272
+ config.h: stamp-h1
273
+ @if test ! -f $@; then \
274
+ rm -f stamp-h1; \
275
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
276
+ else :; fi
277
+
278
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
279
+ @rm -f stamp-h1
280
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
281
+ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
282
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
283
+ rm -f stamp-h1
284
+ touch $@
285
+
286
+ distclean-hdr:
287
+ -rm -f config.h stamp-h1
288
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
289
+ @$(NORMAL_INSTALL)
290
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
291
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
292
+ list2=; for p in $$list; do \
293
+ if test -f $$p; then \
294
+ list2="$$list2 $$p"; \
295
+ else :; fi; \
296
+ done; \
297
+ test -z "$$list2" || { \
298
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
299
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
300
+ }
301
+
302
+ uninstall-libLTLIBRARIES:
303
+ @$(NORMAL_UNINSTALL)
304
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
305
+ for p in $$list; do \
306
+ $(am__strip_dir) \
307
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
308
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
309
+ done
310
+
311
+ clean-libLTLIBRARIES:
312
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
313
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
314
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
315
+ test "$$dir" != "$$p" || dir=.; \
316
+ echo "rm -f \"$${dir}/so_locations\""; \
317
+ rm -f "$${dir}/so_locations"; \
318
+ done
319
+ libeio.la: $(libeio_la_OBJECTS) $(libeio_la_DEPENDENCIES)
320
+ $(libeio_la_LINK) -rpath $(libdir) $(libeio_la_OBJECTS) $(libeio_la_LIBADD) $(LIBS)
321
+
322
+ mostlyclean-compile:
323
+ -rm -f *.$(OBJEXT)
324
+
325
+ distclean-compile:
326
+ -rm -f *.tab.c
327
+
328
+ .c.o:
329
+ $(COMPILE) -c $<
330
+
331
+ .c.obj:
332
+ $(COMPILE) -c `$(CYGPATH_W) '$<'`
333
+
334
+ .c.lo:
335
+ $(LTCOMPILE) -c -o $@ $<
336
+
337
+ mostlyclean-libtool:
338
+ -rm -f *.lo
339
+
340
+ clean-libtool:
341
+ -rm -rf .libs _libs
342
+
343
+ distclean-libtool:
344
+ -rm -f libtool config.lt
345
+ install-includeHEADERS: $(include_HEADERS)
346
+ @$(NORMAL_INSTALL)
347
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
348
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
349
+ for p in $$list; do \
350
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
351
+ echo "$$d$$p"; \
352
+ done | $(am__base_list) | \
353
+ while read files; do \
354
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
355
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
356
+ done
357
+
358
+ uninstall-includeHEADERS:
359
+ @$(NORMAL_UNINSTALL)
360
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
361
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
362
+ test -n "$$files" || exit 0; \
363
+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
364
+ cd "$(DESTDIR)$(includedir)" && rm -f $$files
365
+
366
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
367
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
368
+ unique=`for i in $$list; do \
369
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
370
+ done | \
371
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
372
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
373
+ mkid -fID $$unique
374
+ tags: TAGS
375
+
376
+ TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
377
+ $(TAGS_FILES) $(LISP)
378
+ set x; \
379
+ here=`pwd`; \
380
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
381
+ unique=`for i in $$list; do \
382
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383
+ done | \
384
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
385
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
386
+ shift; \
387
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
388
+ test -n "$$unique" || unique=$$empty_fix; \
389
+ if test $$# -gt 0; then \
390
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
391
+ "$$@" $$unique; \
392
+ else \
393
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
394
+ $$unique; \
395
+ fi; \
396
+ fi
397
+ ctags: CTAGS
398
+ CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
399
+ $(TAGS_FILES) $(LISP)
400
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
401
+ unique=`for i in $$list; do \
402
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
403
+ done | \
404
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
405
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
406
+ test -z "$(CTAGS_ARGS)$$unique" \
407
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
408
+ $$unique
409
+
410
+ GTAGS:
411
+ here=`$(am__cd) $(top_builddir) && pwd` \
412
+ && $(am__cd) $(top_srcdir) \
413
+ && gtags -i $(GTAGS_ARGS) "$$here"
414
+
415
+ distclean-tags:
416
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
417
+
418
+ distdir: $(DISTFILES)
419
+ $(am__remove_distdir)
420
+ test -d "$(distdir)" || mkdir "$(distdir)"
421
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
422
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
423
+ list='$(DISTFILES)'; \
424
+ dist_files=`for file in $$list; do echo $$file; done | \
425
+ sed -e "s|^$$srcdirstrip/||;t" \
426
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
427
+ case $$dist_files in \
428
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
429
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
430
+ sort -u` ;; \
431
+ esac; \
432
+ for file in $$dist_files; do \
433
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
434
+ if test -d $$d/$$file; then \
435
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
436
+ if test -d "$(distdir)/$$file"; then \
437
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
438
+ fi; \
439
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
440
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
441
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
442
+ fi; \
443
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
444
+ else \
445
+ test -f "$(distdir)/$$file" \
446
+ || cp -p $$d/$$file "$(distdir)/$$file" \
447
+ || exit 1; \
448
+ fi; \
449
+ done
450
+ -test -n "$(am__skip_mode_fix)" \
451
+ || find "$(distdir)" -type d ! -perm -755 \
452
+ -exec chmod u+rwx,go+rx {} \; -o \
453
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
454
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
455
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
456
+ || chmod -R a+r "$(distdir)"
457
+ dist-gzip: distdir
458
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
459
+ $(am__remove_distdir)
460
+
461
+ dist-bzip2: distdir
462
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
463
+ $(am__remove_distdir)
464
+
465
+ dist-lzma: distdir
466
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
467
+ $(am__remove_distdir)
468
+
469
+ dist-xz: distdir
470
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
471
+ $(am__remove_distdir)
472
+
473
+ dist-tarZ: distdir
474
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
475
+ $(am__remove_distdir)
476
+
477
+ dist-shar: distdir
478
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
479
+ $(am__remove_distdir)
480
+
481
+ dist-zip: distdir
482
+ -rm -f $(distdir).zip
483
+ zip -rq $(distdir).zip $(distdir)
484
+ $(am__remove_distdir)
485
+
486
+ dist dist-all: distdir
487
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
488
+ $(am__remove_distdir)
489
+
490
+ # This target untars the dist file and tries a VPATH configuration. Then
491
+ # it guarantees that the distribution is self-contained by making another
492
+ # tarfile.
493
+ distcheck: dist
494
+ case '$(DIST_ARCHIVES)' in \
495
+ *.tar.gz*) \
496
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
497
+ *.tar.bz2*) \
498
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
499
+ *.tar.lzma*) \
500
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
501
+ *.tar.xz*) \
502
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
503
+ *.tar.Z*) \
504
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
505
+ *.shar.gz*) \
506
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
507
+ *.zip*) \
508
+ unzip $(distdir).zip ;;\
509
+ esac
510
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
511
+ mkdir $(distdir)/_build
512
+ mkdir $(distdir)/_inst
513
+ chmod a-w $(distdir)
514
+ test -d $(distdir)/_build || exit 0; \
515
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
516
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
517
+ && am__cwd=`pwd` \
518
+ && $(am__cd) $(distdir)/_build \
519
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
520
+ $(DISTCHECK_CONFIGURE_FLAGS) \
521
+ && $(MAKE) $(AM_MAKEFLAGS) \
522
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
523
+ && $(MAKE) $(AM_MAKEFLAGS) check \
524
+ && $(MAKE) $(AM_MAKEFLAGS) install \
525
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
526
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
527
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
528
+ distuninstallcheck \
529
+ && chmod -R a-w "$$dc_install_base" \
530
+ && ({ \
531
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
532
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
533
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
534
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
535
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
536
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
537
+ && rm -rf "$$dc_destdir" \
538
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
539
+ && rm -rf $(DIST_ARCHIVES) \
540
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
541
+ && cd "$$am__cwd" \
542
+ || exit 1
543
+ $(am__remove_distdir)
544
+ @(echo "$(distdir) archives ready for distribution: "; \
545
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
546
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
547
+ distuninstallcheck:
548
+ @$(am__cd) '$(distuninstallcheck_dir)' \
549
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
550
+ || { echo "ERROR: files left after uninstall:" ; \
551
+ if test -n "$(DESTDIR)"; then \
552
+ echo " (check DESTDIR support)"; \
553
+ fi ; \
554
+ $(distuninstallcheck_listfiles) ; \
555
+ exit 1; } >&2
556
+ distcleancheck: distclean
557
+ @if test '$(srcdir)' = . ; then \
558
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
559
+ exit 1 ; \
560
+ fi
561
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
562
+ || { echo "ERROR: files left in build directory after distclean:" ; \
563
+ $(distcleancheck_listfiles) ; \
564
+ exit 1; } >&2
565
+ check-am: all-am
566
+ check: check-am
567
+ all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
568
+ installdirs:
569
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
570
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
571
+ done
572
+ install: install-am
573
+ install-exec: install-exec-am
574
+ install-data: install-data-am
575
+ uninstall: uninstall-am
576
+
577
+ install-am: all-am
578
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
579
+
580
+ installcheck: installcheck-am
581
+ install-strip:
582
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
583
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
584
+ `test -z '$(STRIP)' || \
585
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
586
+ mostlyclean-generic:
587
+
588
+ clean-generic:
589
+
590
+ distclean-generic:
591
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
592
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
593
+
594
+ maintainer-clean-generic:
595
+ @echo "This command is intended for maintainers to use"
596
+ @echo "it deletes files that may require special tools to rebuild."
597
+ clean: clean-am
598
+
599
+ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
600
+ mostlyclean-am
601
+
602
+ distclean: distclean-am
603
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
604
+ -rm -f Makefile
605
+ distclean-am: clean-am distclean-compile distclean-generic \
606
+ distclean-hdr distclean-libtool distclean-tags
607
+
608
+ dvi: dvi-am
609
+
610
+ dvi-am:
611
+
612
+ html: html-am
613
+
614
+ html-am:
615
+
616
+ info: info-am
617
+
618
+ info-am:
619
+
620
+ install-data-am: install-includeHEADERS
621
+
622
+ install-dvi: install-dvi-am
623
+
624
+ install-dvi-am:
625
+
626
+ install-exec-am: install-libLTLIBRARIES
627
+
628
+ install-html: install-html-am
629
+
630
+ install-html-am:
631
+
632
+ install-info: install-info-am
633
+
634
+ install-info-am:
635
+
636
+ install-man:
637
+
638
+ install-pdf: install-pdf-am
639
+
640
+ install-pdf-am:
641
+
642
+ install-ps: install-ps-am
643
+
644
+ install-ps-am:
645
+
646
+ installcheck-am:
647
+
648
+ maintainer-clean: maintainer-clean-am
649
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
650
+ -rm -rf $(top_srcdir)/autom4te.cache
651
+ -rm -f Makefile
652
+ maintainer-clean-am: distclean-am maintainer-clean-generic
653
+
654
+ mostlyclean: mostlyclean-am
655
+
656
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
657
+ mostlyclean-libtool
658
+
659
+ pdf: pdf-am
660
+
661
+ pdf-am:
662
+
663
+ ps: ps-am
664
+
665
+ ps-am:
666
+
667
+ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
668
+
669
+ .MAKE: all install-am install-strip
670
+
671
+ .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
672
+ clean-generic clean-libLTLIBRARIES clean-libtool ctags dist \
673
+ dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
674
+ dist-xz dist-zip distcheck distclean distclean-compile \
675
+ distclean-generic distclean-hdr distclean-libtool \
676
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
677
+ dvi-am html html-am info info-am install install-am \
678
+ install-data install-data-am install-dvi install-dvi-am \
679
+ install-exec install-exec-am install-html install-html-am \
680
+ install-includeHEADERS install-info install-info-am \
681
+ install-libLTLIBRARIES install-man install-pdf install-pdf-am \
682
+ install-ps install-ps-am install-strip installcheck \
683
+ installcheck-am installdirs maintainer-clean \
684
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
685
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
686
+ tags uninstall uninstall-am uninstall-includeHEADERS \
687
+ uninstall-libLTLIBRARIES
688
+
689
+
690
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
691
+ # Otherwise a system limit (for SysV at least) may be exceeded.
692
+ .NOEXPORT: