memcached 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Manifest +206 -12
- data/Rakefile +32 -1
- data/ext/extconf.rb +10 -35
- data/ext/libmemcached-0.32/AUTHORS +7 -0
- data/ext/libmemcached-0.32/COPYING +32 -0
- data/ext/libmemcached-0.32/ChangeLog +303 -0
- data/ext/libmemcached-0.32/INSTALL +302 -0
- data/ext/libmemcached-0.32/Makefile.am +36 -0
- data/ext/libmemcached-0.32/Makefile.in +828 -0
- data/ext/libmemcached-0.32/NEWS +1 -0
- data/ext/libmemcached-0.32/README +33 -0
- data/ext/libmemcached-0.32/THANKS +14 -0
- data/ext/libmemcached-0.32/TODO +11 -0
- data/ext/libmemcached-0.32/aclocal.m4 +1852 -0
- data/ext/libmemcached-0.32/clients/Makefile.am +73 -0
- data/ext/libmemcached-0.32/clients/Makefile.in +770 -0
- data/ext/libmemcached-0.32/clients/client_options.h +32 -0
- data/ext/libmemcached-0.32/clients/execute.c +64 -0
- data/ext/libmemcached-0.32/clients/execute.h +5 -0
- data/ext/libmemcached-0.32/clients/generator.c +74 -0
- data/ext/libmemcached-0.32/clients/generator.h +20 -0
- data/ext/libmemcached-0.32/clients/memcat.c +178 -0
- data/ext/libmemcached-0.32/clients/memcp.c +251 -0
- data/ext/libmemcached-0.32/clients/memdump.c +170 -0
- data/ext/libmemcached-0.32/clients/memerror.c +80 -0
- data/ext/libmemcached-0.32/clients/memflush.c +143 -0
- data/ext/libmemcached-0.32/clients/memrm.c +160 -0
- data/ext/libmemcached-0.32/clients/memslap.c +441 -0
- data/ext/libmemcached-0.32/clients/memstat.c +326 -0
- data/ext/libmemcached-0.32/clients/utilities.c +207 -0
- data/ext/libmemcached-0.32/clients/utilities.h +41 -0
- data/ext/libmemcached-0.32/config.h.in +252 -0
- data/ext/libmemcached-0.32/config/compile +143 -0
- data/ext/libmemcached-0.32/config/config.guess +1561 -0
- data/ext/libmemcached-0.32/config/config.rpath +666 -0
- data/ext/libmemcached-0.32/config/config.sub +1686 -0
- data/ext/libmemcached-0.32/config/depcomp +630 -0
- data/ext/libmemcached-0.32/config/install-sh +520 -0
- data/ext/libmemcached-0.32/config/ltmain.sh +8406 -0
- data/ext/libmemcached-0.32/config/missing +376 -0
- data/ext/libmemcached-0.32/configure +23048 -0
- data/ext/libmemcached-0.32/configure.ac +122 -0
- data/ext/libmemcached-0.32/docs/Makefile.am +415 -0
- data/ext/libmemcached-0.32/docs/Makefile.in +918 -0
- data/ext/libmemcached-0.32/docs/libmemcached.pod +123 -0
- data/ext/libmemcached-0.32/docs/libmemcached_examples.pod +115 -0
- data/ext/libmemcached-0.32/docs/libmemcachedutil.pod +40 -0
- data/ext/libmemcached-0.32/docs/memcached_analyze.pod +52 -0
- data/ext/libmemcached-0.32/docs/memcached_auto.pod +97 -0
- data/ext/libmemcached-0.32/docs/memcached_behavior.pod +224 -0
- data/ext/libmemcached-0.32/docs/memcached_callback.pod +123 -0
- data/ext/libmemcached-0.32/docs/memcached_create.pod +61 -0
- data/ext/libmemcached-0.32/docs/memcached_delete.pod +54 -0
- data/ext/libmemcached-0.32/docs/memcached_dump.pod +53 -0
- data/ext/libmemcached-0.32/docs/memcached_flush.pod +46 -0
- data/ext/libmemcached-0.32/docs/memcached_flush_buffers.pod +42 -0
- data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.pod +57 -0
- data/ext/libmemcached-0.32/docs/memcached_get.pod +161 -0
- data/ext/libmemcached-0.32/docs/memcached_memory_allocators.pod +73 -0
- data/ext/libmemcached-0.32/docs/memcached_pool.pod +77 -0
- data/ext/libmemcached-0.32/docs/memcached_quit.pod +47 -0
- data/ext/libmemcached-0.32/docs/memcached_sasl.pod +63 -0
- data/ext/libmemcached-0.32/docs/memcached_server_st.pod +75 -0
- data/ext/libmemcached-0.32/docs/memcached_servers.pod +102 -0
- data/ext/libmemcached-0.32/docs/memcached_set.pod +187 -0
- data/ext/libmemcached-0.32/docs/memcached_stats.pod +82 -0
- data/ext/libmemcached-0.32/docs/memcached_strerror.pod +46 -0
- data/ext/libmemcached-0.32/docs/memcached_user_data.pod +49 -0
- data/ext/libmemcached-0.32/docs/memcached_verbosity.pod +41 -0
- data/ext/libmemcached-0.32/docs/memcached_version.pod +56 -0
- data/ext/libmemcached-0.32/docs/memcat.pod +37 -0
- data/ext/libmemcached-0.32/docs/memcp.pod +40 -0
- data/ext/libmemcached-0.32/docs/memdump.pod +31 -0
- data/ext/libmemcached-0.32/docs/memerror.pod +30 -0
- data/ext/libmemcached-0.32/docs/memflush.pod +35 -0
- data/ext/libmemcached-0.32/docs/memrm.pod +34 -0
- data/ext/libmemcached-0.32/docs/memslap.pod +33 -0
- data/ext/libmemcached-0.32/docs/memstat.pod +35 -0
- data/ext/libmemcached-0.32/libmemcached/Makefile.am +107 -0
- data/ext/libmemcached-0.32/libmemcached/Makefile.in +1050 -0
- data/ext/libmemcached-0.32/libmemcached/byteorder.c +31 -0
- data/ext/libmemcached-0.32/libmemcached/common.h +183 -0
- data/ext/libmemcached-0.32/libmemcached/crc.c +86 -0
- data/ext/libmemcached-0.32/libmemcached/hsieh_hash.c +68 -0
- data/ext/libmemcached-0.32/libmemcached/jenkins_hash.c +213 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached.ver +1 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.d +28 -0
- data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.h +78 -0
- data/ext/libmemcached-0.32/libmemcached/md5.c +354 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.c +152 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.h +302 -0
- data/ext/libmemcached-0.32/libmemcached/memcached.hpp +799 -0
- data/ext/libmemcached-0.32/libmemcached/memcached/README.txt +7 -0
- data/ext/libmemcached-0.32/libmemcached/memcached/protocol_binary.h +366 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_allocators.c +72 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_analyze.c +100 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_auto.c +207 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_behavior.c +285 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_callback.c +175 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_configure.h.in +23 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_connect.c +361 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_constants.h +145 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_delete.c +0 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_do.c +34 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_dump.c +79 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_fetch.c +102 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_flush.c +89 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_flush_buffers.c +22 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_get.c +495 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_get.h +87 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_hash.c +252 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_hosts.c +510 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_internal.h +31 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_io.c +547 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_io.h +59 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_key.c +28 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_parse.c +74 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_pool.h +38 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +76 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_quit.c +75 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_response.c +528 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_result.c +57 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_result.h +59 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_sasl.c +225 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_sasl.h +44 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_server.c +159 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_server.h +93 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_stats.c +454 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_storage.c +514 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_storage.h +107 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_strerror.c +92 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_string.c +138 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_string.h +53 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_types.h +44 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_util.h +15 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_verbosity.c +36 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_version.c +112 -0
- data/ext/libmemcached-0.32/libmemcached/memcached_watchpoint.h +38 -0
- data/ext/libmemcached-0.32/libmemcached/murmur_hash.c +76 -0
- data/ext/libmemcached-0.32/libmemcached/visibility.h +51 -0
- data/ext/libmemcached-0.32/libmemcachedutil/Makefile.am +11 -0
- data/ext/libmemcached-0.32/libmemcachedutil/Makefile.in +602 -0
- data/ext/libmemcached-0.32/libmemcachedutil/libmemcachedutil.ver +1 -0
- data/ext/libmemcached-0.32/libmemcachedutil/memcached_pool.c +170 -0
- data/ext/libmemcached-0.32/m4/ac_cxx_compile_stdcxx_0x.m4 +103 -0
- data/ext/libmemcached-0.32/m4/ac_cxx_header_stdcxx_98.m4 +67 -0
- data/ext/libmemcached-0.32/m4/acx_pthread.m4 +276 -0
- data/ext/libmemcached-0.32/m4/byteorder.m4 +40 -0
- data/ext/libmemcached-0.32/m4/deprecated.m4 +17 -0
- data/ext/libmemcached-0.32/m4/enable_utillib.m4 +16 -0
- data/ext/libmemcached-0.32/m4/extensions.m4 +94 -0
- data/ext/libmemcached-0.32/m4/hsieh.m4 +18 -0
- data/ext/libmemcached-0.32/m4/lib-prefix.m4 +221 -0
- data/ext/libmemcached-0.32/m4/libtool.m4 +7360 -0
- data/ext/libmemcached-0.32/m4/ltoptions.m4 +368 -0
- data/ext/libmemcached-0.32/m4/ltsugar.m4 +123 -0
- data/ext/libmemcached-0.32/m4/ltversion.m4 +23 -0
- data/ext/libmemcached-0.32/m4/lt~obsolete.m4 +92 -0
- data/ext/libmemcached-0.32/m4/memcached.m4 +30 -0
- data/ext/libmemcached-0.32/m4/pandora_64bit.m4 +55 -0
- data/ext/libmemcached-0.32/m4/pandora_canonical.m4 +151 -0
- data/ext/libmemcached-0.32/m4/pandora_check_compiler_version.m4 +37 -0
- data/ext/libmemcached-0.32/m4/pandora_check_cxx_standard.m4 +16 -0
- data/ext/libmemcached-0.32/m4/pandora_enable_dtrace.m4 +41 -0
- data/ext/libmemcached-0.32/m4/pandora_ensure_gcc_version.m4 +36 -0
- data/ext/libmemcached-0.32/m4/pandora_have_better_malloc.m4 +54 -0
- data/ext/libmemcached-0.32/m4/pandora_have_sasl.m4 +133 -0
- data/ext/libmemcached-0.32/m4/pandora_header_assert.m4 +23 -0
- data/ext/libmemcached-0.32/m4/pandora_libtool.m4 +15 -0
- data/ext/libmemcached-0.32/m4/pandora_optimize.m4 +79 -0
- data/ext/libmemcached-0.32/m4/pandora_shared_ptr.m4 +56 -0
- data/ext/libmemcached-0.32/m4/pandora_vc_build.m4 +32 -0
- data/ext/libmemcached-0.32/m4/pandora_warnings.m4 +262 -0
- data/ext/libmemcached-0.32/m4/pod2man.m4 +7 -0
- data/ext/libmemcached-0.32/m4/protocol_binary.m4 +23 -0
- data/ext/libmemcached-0.32/m4/setsockopt.m4 +57 -0
- data/ext/libmemcached-0.32/m4/visibility.m4 +52 -0
- data/ext/libmemcached-0.32/support/Makefile.am +4 -0
- data/ext/libmemcached-0.32/support/Makefile.in +485 -0
- data/ext/libmemcached-0.32/support/libmemcached-fc.spec.in +105 -0
- data/ext/libmemcached-0.32/support/libmemcached.pc.in +10 -0
- data/ext/libmemcached-0.32/support/libmemcached.spec +105 -0
- data/ext/libmemcached-0.32/support/libmemcached.spec.in +105 -0
- data/ext/libmemcached-0.32/support/set_benchmark.sh +5 -0
- data/ext/libmemcached-0.32/tests/Makefile.am +105 -0
- data/ext/libmemcached-0.32/tests/Makefile.in +748 -0
- data/ext/libmemcached-0.32/tests/atomsmasher.c +245 -0
- data/ext/libmemcached-0.32/tests/function.c +4781 -0
- data/ext/libmemcached-0.32/tests/ketama_test_cases.h +108 -0
- data/ext/libmemcached-0.32/tests/output.cmp +7 -0
- data/ext/libmemcached-0.32/tests/output.res +7 -0
- data/ext/libmemcached-0.32/tests/output2.res +46 -0
- data/ext/libmemcached-0.32/tests/plus.cpp +293 -0
- data/ext/libmemcached-0.32/tests/r/memcat.res +19 -0
- data/ext/libmemcached-0.32/tests/r/memcp.res +27 -0
- data/ext/libmemcached-0.32/tests/r/memrm.res +19 -0
- data/ext/libmemcached-0.32/tests/r/memslap.res +33 -0
- data/ext/libmemcached-0.32/tests/r/memstat.res +33 -0
- data/ext/libmemcached-0.32/tests/server.c +118 -0
- data/ext/libmemcached-0.32/tests/server.h +25 -0
- data/ext/libmemcached-0.32/tests/start.c +16 -0
- data/ext/libmemcached-0.32/tests/t/memcat.test +4 -0
- data/ext/libmemcached-0.32/tests/t/memcp.test +3 -0
- data/ext/libmemcached-0.32/tests/t/memrm.test +3 -0
- data/ext/libmemcached-0.32/tests/t/memslap.test +5 -0
- data/ext/libmemcached-0.32/tests/t/memstat.test +3 -0
- data/ext/libmemcached-0.32/tests/test.c +137 -0
- data/ext/libmemcached-0.32/tests/test.h +46 -0
- data/ext/libmemcached-0.32/tests/udp.c +76 -0
- data/memcached.gemspec +4 -4
- data/test/unit/memcached_test.rb +30 -0
- metadata +213 -16
- data/ext/libmemcached-0.32.tar.gz +0 -0
- data/ext/libmemcached-1.patch +0 -270
- data/ext/libmemcached-10.patch +0 -12
- data/ext/libmemcached-2.patch +0 -116
- data/ext/libmemcached-3.patch +0 -8
- data/ext/libmemcached-4.patch +0 -40
- data/ext/libmemcached-5.patch +0 -832
- data/ext/libmemcached-6.patch +0 -20
- data/ext/libmemcached-7.patch +0 -2989
- data/ext/libmemcached-8.patch +0 -137
- data/ext/libmemcached-9.patch +0 -13
- data/ext/sasl.patch +0 -29283
@@ -0,0 +1,302 @@
|
|
1
|
+
Installation Instructions
|
2
|
+
*************************
|
3
|
+
|
4
|
+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
5
|
+
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
6
|
+
|
7
|
+
This file is free documentation; the Free Software Foundation gives
|
8
|
+
unlimited permission to copy, distribute and modify it.
|
9
|
+
|
10
|
+
Basic Installation
|
11
|
+
==================
|
12
|
+
|
13
|
+
Briefly, the shell commands `./configure; make; make install' should
|
14
|
+
configure, build, and install this package. The following
|
15
|
+
more-detailed instructions are generic; see the `README' file for
|
16
|
+
instructions specific to this package.
|
17
|
+
|
18
|
+
The `configure' shell script attempts to guess correct values for
|
19
|
+
various system-dependent variables used during compilation. It uses
|
20
|
+
those values to create a `Makefile' in each directory of the package.
|
21
|
+
It may also create one or more `.h' files containing system-dependent
|
22
|
+
definitions. Finally, it creates a shell script `config.status' that
|
23
|
+
you can run in the future to recreate the current configuration, and a
|
24
|
+
file `config.log' containing compiler output (useful mainly for
|
25
|
+
debugging `configure').
|
26
|
+
|
27
|
+
It can also use an optional file (typically called `config.cache'
|
28
|
+
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
29
|
+
the results of its tests to speed up reconfiguring. Caching is
|
30
|
+
disabled by default to prevent problems with accidental use of stale
|
31
|
+
cache files.
|
32
|
+
|
33
|
+
If you need to do unusual things to compile the package, please try
|
34
|
+
to figure out how `configure' could check whether to do them, and mail
|
35
|
+
diffs or instructions to the address given in the `README' so they can
|
36
|
+
be considered for the next release. If you are using the cache, and at
|
37
|
+
some point `config.cache' contains results you don't want to keep, you
|
38
|
+
may remove or edit it.
|
39
|
+
|
40
|
+
The file `configure.ac' (or `configure.in') is used to create
|
41
|
+
`configure' by a program called `autoconf'. You need `configure.ac' if
|
42
|
+
you want to change it or regenerate `configure' using a newer version
|
43
|
+
of `autoconf'.
|
44
|
+
|
45
|
+
The simplest way to compile this package is:
|
46
|
+
|
47
|
+
1. `cd' to the directory containing the package's source code and type
|
48
|
+
`./configure' to configure the package for your system.
|
49
|
+
|
50
|
+
Running `configure' might take a while. While running, it prints
|
51
|
+
some messages telling which features it is checking for.
|
52
|
+
|
53
|
+
2. Type `make' to compile the package.
|
54
|
+
|
55
|
+
3. Optionally, type `make check' to run any self-tests that come with
|
56
|
+
the package.
|
57
|
+
|
58
|
+
4. Type `make install' to install the programs and any data files and
|
59
|
+
documentation.
|
60
|
+
|
61
|
+
5. You can remove the program binaries and object files from the
|
62
|
+
source code directory by typing `make clean'. To also remove the
|
63
|
+
files that `configure' created (so you can compile the package for
|
64
|
+
a different kind of computer), type `make distclean'. There is
|
65
|
+
also a `make maintainer-clean' target, but that is intended mainly
|
66
|
+
for the package's developers. If you use it, you may have to get
|
67
|
+
all sorts of other programs in order to regenerate files that came
|
68
|
+
with the distribution.
|
69
|
+
|
70
|
+
6. Often, you can also type `make uninstall' to remove the installed
|
71
|
+
files again.
|
72
|
+
|
73
|
+
Compilers and Options
|
74
|
+
=====================
|
75
|
+
|
76
|
+
Some systems require unusual options for compilation or linking that
|
77
|
+
the `configure' script does not know about. Run `./configure --help'
|
78
|
+
for details on some of the pertinent environment variables.
|
79
|
+
|
80
|
+
You can give `configure' initial values for configuration parameters
|
81
|
+
by setting variables in the command line or in the environment. Here
|
82
|
+
is an example:
|
83
|
+
|
84
|
+
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
85
|
+
|
86
|
+
*Note Defining Variables::, for more details.
|
87
|
+
|
88
|
+
Compiling For Multiple Architectures
|
89
|
+
====================================
|
90
|
+
|
91
|
+
You can compile the package for more than one kind of computer at the
|
92
|
+
same time, by placing the object files for each architecture in their
|
93
|
+
own directory. To do this, you can use GNU `make'. `cd' to the
|
94
|
+
directory where you want the object files and executables to go and run
|
95
|
+
the `configure' script. `configure' automatically checks for the
|
96
|
+
source code in the directory that `configure' is in and in `..'.
|
97
|
+
|
98
|
+
With a non-GNU `make', it is safer to compile the package for one
|
99
|
+
architecture at a time in the source code directory. After you have
|
100
|
+
installed the package for one architecture, use `make distclean' before
|
101
|
+
reconfiguring for another architecture.
|
102
|
+
|
103
|
+
On MacOS X 10.5 and later systems, you can create libraries and
|
104
|
+
executables that work on multiple system types--known as "fat" or
|
105
|
+
"universal" binaries--by specifying multiple `-arch' options to the
|
106
|
+
compiler but only a single `-arch' option to the preprocessor. Like
|
107
|
+
this:
|
108
|
+
|
109
|
+
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
110
|
+
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
111
|
+
CPP="gcc -E" CXXCPP="g++ -E"
|
112
|
+
|
113
|
+
This is not guaranteed to produce working output in all cases, you
|
114
|
+
may have to build one architecture at a time and combine the results
|
115
|
+
using the `lipo' tool if you have problems.
|
116
|
+
|
117
|
+
Installation Names
|
118
|
+
==================
|
119
|
+
|
120
|
+
By default, `make install' installs the package's commands under
|
121
|
+
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
122
|
+
can specify an installation prefix other than `/usr/local' by giving
|
123
|
+
`configure' the option `--prefix=PREFIX'.
|
124
|
+
|
125
|
+
You can specify separate installation prefixes for
|
126
|
+
architecture-specific files and architecture-independent files. If you
|
127
|
+
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
128
|
+
PREFIX as the prefix for installing programs and libraries.
|
129
|
+
Documentation and other data files still use the regular prefix.
|
130
|
+
|
131
|
+
In addition, if you use an unusual directory layout you can give
|
132
|
+
options like `--bindir=DIR' to specify different values for particular
|
133
|
+
kinds of files. Run `configure --help' for a list of the directories
|
134
|
+
you can set and what kinds of files go in them.
|
135
|
+
|
136
|
+
If the package supports it, you can cause programs to be installed
|
137
|
+
with an extra prefix or suffix on their names by giving `configure' the
|
138
|
+
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
139
|
+
|
140
|
+
Optional Features
|
141
|
+
=================
|
142
|
+
|
143
|
+
Some packages pay attention to `--enable-FEATURE' options to
|
144
|
+
`configure', where FEATURE indicates an optional part of the package.
|
145
|
+
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
146
|
+
is something like `gnu-as' or `x' (for the X Window System). The
|
147
|
+
`README' should mention any `--enable-' and `--with-' options that the
|
148
|
+
package recognizes.
|
149
|
+
|
150
|
+
For packages that use the X Window System, `configure' can usually
|
151
|
+
find the X include and library files automatically, but if it doesn't,
|
152
|
+
you can use the `configure' options `--x-includes=DIR' and
|
153
|
+
`--x-libraries=DIR' to specify their locations.
|
154
|
+
|
155
|
+
Particular systems
|
156
|
+
==================
|
157
|
+
|
158
|
+
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
159
|
+
CC is not installed, it is recommended to use the following options in
|
160
|
+
order to use an ANSI C compiler:
|
161
|
+
|
162
|
+
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
|
163
|
+
|
164
|
+
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
|
165
|
+
|
166
|
+
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
167
|
+
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
168
|
+
a workaround. If GNU CC is not installed, it is therefore recommended
|
169
|
+
to try
|
170
|
+
|
171
|
+
./configure CC="cc"
|
172
|
+
|
173
|
+
and if that doesn't work, try
|
174
|
+
|
175
|
+
./configure CC="cc -nodtk"
|
176
|
+
|
177
|
+
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
|
178
|
+
directory contains several dysfunctional programs; working variants of
|
179
|
+
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
|
180
|
+
in your `PATH', put it _after_ `/usr/bin'.
|
181
|
+
|
182
|
+
On Haiku, software installed for all users goes in `/boot/common',
|
183
|
+
not `/usr/local'. It is recommended to use the following options:
|
184
|
+
|
185
|
+
./configure --prefix=/boot/common
|
186
|
+
|
187
|
+
Specifying the System Type
|
188
|
+
==========================
|
189
|
+
|
190
|
+
There may be some features `configure' cannot figure out
|
191
|
+
automatically, but needs to determine by the type of machine the package
|
192
|
+
will run on. Usually, assuming the package is built to be run on the
|
193
|
+
_same_ architectures, `configure' can figure that out, but if it prints
|
194
|
+
a message saying it cannot guess the machine type, give it the
|
195
|
+
`--build=TYPE' option. TYPE can either be a short name for the system
|
196
|
+
type, such as `sun4', or a canonical name which has the form:
|
197
|
+
|
198
|
+
CPU-COMPANY-SYSTEM
|
199
|
+
|
200
|
+
where SYSTEM can have one of these forms:
|
201
|
+
|
202
|
+
OS
|
203
|
+
KERNEL-OS
|
204
|
+
|
205
|
+
See the file `config.sub' for the possible values of each field. If
|
206
|
+
`config.sub' isn't included in this package, then this package doesn't
|
207
|
+
need to know the machine type.
|
208
|
+
|
209
|
+
If you are _building_ compiler tools for cross-compiling, you should
|
210
|
+
use the option `--target=TYPE' to select the type of system they will
|
211
|
+
produce code for.
|
212
|
+
|
213
|
+
If you want to _use_ a cross compiler, that generates code for a
|
214
|
+
platform different from the build platform, you should specify the
|
215
|
+
"host" platform (i.e., that on which the generated programs will
|
216
|
+
eventually be run) with `--host=TYPE'.
|
217
|
+
|
218
|
+
Sharing Defaults
|
219
|
+
================
|
220
|
+
|
221
|
+
If you want to set default values for `configure' scripts to share,
|
222
|
+
you can create a site shell script called `config.site' that gives
|
223
|
+
default values for variables like `CC', `cache_file', and `prefix'.
|
224
|
+
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
225
|
+
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
226
|
+
`CONFIG_SITE' environment variable to the location of the site script.
|
227
|
+
A warning: not all `configure' scripts look for a site script.
|
228
|
+
|
229
|
+
Defining Variables
|
230
|
+
==================
|
231
|
+
|
232
|
+
Variables not defined in a site shell script can be set in the
|
233
|
+
environment passed to `configure'. However, some packages may run
|
234
|
+
configure again during the build, and the customized values of these
|
235
|
+
variables may be lost. In order to avoid this problem, you should set
|
236
|
+
them in the `configure' command line, using `VAR=value'. For example:
|
237
|
+
|
238
|
+
./configure CC=/usr/local2/bin/gcc
|
239
|
+
|
240
|
+
causes the specified `gcc' to be used as the C compiler (unless it is
|
241
|
+
overridden in the site shell script).
|
242
|
+
|
243
|
+
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
244
|
+
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
245
|
+
|
246
|
+
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
247
|
+
|
248
|
+
`configure' Invocation
|
249
|
+
======================
|
250
|
+
|
251
|
+
`configure' recognizes the following options to control how it
|
252
|
+
operates.
|
253
|
+
|
254
|
+
`--help'
|
255
|
+
`-h'
|
256
|
+
Print a summary of all of the options to `configure', and exit.
|
257
|
+
|
258
|
+
`--help=short'
|
259
|
+
`--help=recursive'
|
260
|
+
Print a summary of the options unique to this package's
|
261
|
+
`configure', and exit. The `short' variant lists options used
|
262
|
+
only in the top level, while the `recursive' variant lists options
|
263
|
+
also present in any nested packages.
|
264
|
+
|
265
|
+
`--version'
|
266
|
+
`-V'
|
267
|
+
Print the version of Autoconf used to generate the `configure'
|
268
|
+
script, and exit.
|
269
|
+
|
270
|
+
`--cache-file=FILE'
|
271
|
+
Enable the cache: use and save the results of the tests in FILE,
|
272
|
+
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
273
|
+
disable caching.
|
274
|
+
|
275
|
+
`--config-cache'
|
276
|
+
`-C'
|
277
|
+
Alias for `--cache-file=config.cache'.
|
278
|
+
|
279
|
+
`--quiet'
|
280
|
+
`--silent'
|
281
|
+
`-q'
|
282
|
+
Do not print messages saying which checks are being made. To
|
283
|
+
suppress all normal output, redirect it to `/dev/null' (any error
|
284
|
+
messages will still be shown).
|
285
|
+
|
286
|
+
`--srcdir=DIR'
|
287
|
+
Look for the package's source code in directory DIR. Usually
|
288
|
+
`configure' can determine that directory automatically.
|
289
|
+
|
290
|
+
`--prefix=DIR'
|
291
|
+
Use DIR as the installation prefix. *Note Installation Names::
|
292
|
+
for more details, including other options available for fine-tuning
|
293
|
+
the installation locations.
|
294
|
+
|
295
|
+
`--no-create'
|
296
|
+
`-n'
|
297
|
+
Run the configure checks, but stop before creating any output
|
298
|
+
files.
|
299
|
+
|
300
|
+
`configure' also accepts some other, not widely useful, options. Run
|
301
|
+
`configure --help' for more details.
|
302
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
ACLOCAL_AMFLAGS = -I m4
|
2
|
+
|
3
|
+
SUBDIRS = docs libmemcached libmemcachedutil support clients tests
|
4
|
+
EXTRA_dist = README.FIRST
|
5
|
+
|
6
|
+
check-local: test-no-outputdiff
|
7
|
+
|
8
|
+
test: all
|
9
|
+
@(cd tests; ${MAKE} test)
|
10
|
+
|
11
|
+
test-extended: all
|
12
|
+
@(cd tests; ${MAKE} test-extended)
|
13
|
+
|
14
|
+
valgrind:
|
15
|
+
@(cd tests; ${MAKE} valgrind)
|
16
|
+
|
17
|
+
test-no-outputdiff:
|
18
|
+
@(cd tests; ${MAKE} test-no-outputdiff)
|
19
|
+
|
20
|
+
fedora:
|
21
|
+
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
22
|
+
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
23
|
+
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
24
|
+
rpmbuild -ba support/libmemcached.spec
|
25
|
+
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
26
|
+
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
27
|
+
|
28
|
+
generic:
|
29
|
+
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
30
|
+
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
31
|
+
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
32
|
+
rpmbuild -ba support/libmemcached.spec
|
33
|
+
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
34
|
+
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
35
|
+
|
36
|
+
rpm: all dist generic fedora
|
@@ -0,0 +1,828 @@
|
|
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
|
+
VPATH = @srcdir@
|
18
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
19
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
20
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
21
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
22
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
23
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
24
|
+
install_sh_PROGRAM = $(install_sh) -c
|
25
|
+
install_sh_SCRIPT = $(install_sh) -c
|
26
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
27
|
+
transform = $(program_transform_name)
|
28
|
+
NORMAL_INSTALL = :
|
29
|
+
PRE_INSTALL = :
|
30
|
+
POST_INSTALL = :
|
31
|
+
NORMAL_UNINSTALL = :
|
32
|
+
PRE_UNINSTALL = :
|
33
|
+
POST_UNINSTALL = :
|
34
|
+
build_triplet = @build@
|
35
|
+
host_triplet = @host@
|
36
|
+
target_triplet = @target@
|
37
|
+
subdir = .
|
38
|
+
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
39
|
+
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
40
|
+
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
41
|
+
THANKS TODO config/compile config/config.guess \
|
42
|
+
config/config.rpath config/config.sub config/depcomp \
|
43
|
+
config/install-sh config/ltmain.sh config/missing
|
44
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
45
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
46
|
+
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
47
|
+
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
48
|
+
$(top_srcdir)/m4/deprecated.m4 \
|
49
|
+
$(top_srcdir)/m4/enable_utillib.m4 \
|
50
|
+
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
51
|
+
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
|
52
|
+
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
53
|
+
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
54
|
+
$(top_srcdir)/m4/memcached.m4 \
|
55
|
+
$(top_srcdir)/m4/pandora_64bit.m4 \
|
56
|
+
$(top_srcdir)/m4/pandora_canonical.m4 \
|
57
|
+
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
58
|
+
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
59
|
+
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
60
|
+
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
61
|
+
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
62
|
+
$(top_srcdir)/m4/pandora_have_sasl.m4 \
|
63
|
+
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
64
|
+
$(top_srcdir)/m4/pandora_libtool.m4 \
|
65
|
+
$(top_srcdir)/m4/pandora_optimize.m4 \
|
66
|
+
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
67
|
+
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
68
|
+
$(top_srcdir)/m4/pandora_warnings.m4 \
|
69
|
+
$(top_srcdir)/m4/pod2man.m4 \
|
70
|
+
$(top_srcdir)/m4/protocol_binary.m4 \
|
71
|
+
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
72
|
+
$(top_srcdir)/configure.ac
|
73
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
74
|
+
$(ACLOCAL_M4)
|
75
|
+
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
76
|
+
configure.lineno config.status.lineno
|
77
|
+
mkinstalldirs = $(install_sh) -d
|
78
|
+
CONFIG_HEADER = config.h
|
79
|
+
CONFIG_CLEAN_FILES =
|
80
|
+
CONFIG_CLEAN_VPATH_FILES =
|
81
|
+
SOURCES =
|
82
|
+
DIST_SOURCES =
|
83
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
84
|
+
html-recursive info-recursive install-data-recursive \
|
85
|
+
install-dvi-recursive install-exec-recursive \
|
86
|
+
install-html-recursive install-info-recursive \
|
87
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
88
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
89
|
+
ps-recursive uninstall-recursive
|
90
|
+
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
91
|
+
distclean-recursive maintainer-clean-recursive
|
92
|
+
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
93
|
+
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
94
|
+
distdir dist dist-all distcheck
|
95
|
+
ETAGS = etags
|
96
|
+
CTAGS = ctags
|
97
|
+
DIST_SUBDIRS = $(SUBDIRS)
|
98
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
99
|
+
distdir = $(PACKAGE)-$(VERSION)
|
100
|
+
top_distdir = $(distdir)
|
101
|
+
am__remove_distdir = \
|
102
|
+
{ test ! -d "$(distdir)" \
|
103
|
+
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
104
|
+
&& rm -fr "$(distdir)"; }; }
|
105
|
+
am__relativize = \
|
106
|
+
dir0=`pwd`; \
|
107
|
+
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
108
|
+
sed_rest='s,^[^/]*/*,,'; \
|
109
|
+
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
110
|
+
sed_butlast='s,/*[^/]*$$,,'; \
|
111
|
+
while test -n "$$dir1"; do \
|
112
|
+
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
113
|
+
if test "$$first" != "."; then \
|
114
|
+
if test "$$first" = ".."; then \
|
115
|
+
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
116
|
+
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
117
|
+
else \
|
118
|
+
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
119
|
+
if test "$$first2" = "$$first"; then \
|
120
|
+
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
121
|
+
else \
|
122
|
+
dir2="../$$dir2"; \
|
123
|
+
fi; \
|
124
|
+
dir0="$$dir0"/"$$first"; \
|
125
|
+
fi; \
|
126
|
+
fi; \
|
127
|
+
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
128
|
+
done; \
|
129
|
+
reldir="$$dir2"
|
130
|
+
DIST_ARCHIVES = $(distdir).tar.gz
|
131
|
+
GZIP_ENV = --best
|
132
|
+
distuninstallcheck_listfiles = find . -type f -print
|
133
|
+
distcleancheck_listfiles = find . -type f -print
|
134
|
+
ACLOCAL = @ACLOCAL@
|
135
|
+
AMTAR = @AMTAR@
|
136
|
+
AM_CFLAGS = @AM_CFLAGS@
|
137
|
+
AM_CPPFLAGS = @AM_CPPFLAGS@
|
138
|
+
AM_CXXFLAGS = @AM_CXXFLAGS@
|
139
|
+
AR = @AR@
|
140
|
+
AUTOCONF = @AUTOCONF@
|
141
|
+
AUTOHEADER = @AUTOHEADER@
|
142
|
+
AUTOMAKE = @AUTOMAKE@
|
143
|
+
AWK = @AWK@
|
144
|
+
BETTER_MALLOC_LIBS = @BETTER_MALLOC_LIBS@
|
145
|
+
CC = @CC@
|
146
|
+
CCDEPMODE = @CCDEPMODE@
|
147
|
+
CC_VERSION = @CC_VERSION@
|
148
|
+
CFLAGS = @CFLAGS@
|
149
|
+
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
|
150
|
+
CPP = @CPP@
|
151
|
+
CPPFLAGS = @CPPFLAGS@
|
152
|
+
CXX = @CXX@
|
153
|
+
CXXCPP = @CXXCPP@
|
154
|
+
CXXDEPMODE = @CXXDEPMODE@
|
155
|
+
CXXFLAGS = @CXXFLAGS@
|
156
|
+
CXX_VERSION = @CXX_VERSION@
|
157
|
+
CYGPATH_W = @CYGPATH_W@
|
158
|
+
DEFS = @DEFS@
|
159
|
+
DEPDIR = @DEPDIR@
|
160
|
+
DEPRECATED = @DEPRECATED@
|
161
|
+
DOXYGEN = @DOXYGEN@
|
162
|
+
DSYMUTIL = @DSYMUTIL@
|
163
|
+
DTRACE = @DTRACE@
|
164
|
+
DTRACEFLAGS = @DTRACEFLAGS@
|
165
|
+
DUMPBIN = @DUMPBIN@
|
166
|
+
ECHO_C = @ECHO_C@
|
167
|
+
ECHO_N = @ECHO_N@
|
168
|
+
ECHO_T = @ECHO_T@
|
169
|
+
EGREP = @EGREP@
|
170
|
+
EXEEXT = @EXEEXT@
|
171
|
+
FGREP = @FGREP@
|
172
|
+
GREP = @GREP@
|
173
|
+
HAVE_LIBSASL = @HAVE_LIBSASL@
|
174
|
+
HAVE_LIBSASL2 = @HAVE_LIBSASL2@
|
175
|
+
HAVE_VISIBILITY = @HAVE_VISIBILITY@
|
176
|
+
INSTALL = @INSTALL@
|
177
|
+
INSTALL_DATA = @INSTALL_DATA@
|
178
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
179
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
180
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
181
|
+
ISAINFO = @ISAINFO@
|
182
|
+
LD = @LD@
|
183
|
+
LDFLAGS = @LDFLAGS@
|
184
|
+
LD_UTIL_VERSION_SCRIPT = @LD_UTIL_VERSION_SCRIPT@
|
185
|
+
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
|
186
|
+
LIBC_P = @LIBC_P@
|
187
|
+
LIBM = @LIBM@
|
188
|
+
LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@
|
189
|
+
LIBOBJS = @LIBOBJS@
|
190
|
+
LIBS = @LIBS@
|
191
|
+
LIBSASL = @LIBSASL@
|
192
|
+
LIBSASL2 = @LIBSASL2@
|
193
|
+
LIBSASL2_PREFIX = @LIBSASL2_PREFIX@
|
194
|
+
LIBSASL_PREFIX = @LIBSASL_PREFIX@
|
195
|
+
LIBTOOL = @LIBTOOL@
|
196
|
+
LIPO = @LIPO@
|
197
|
+
LN_S = @LN_S@
|
198
|
+
LTLIBOBJS = @LTLIBOBJS@
|
199
|
+
LTLIBSASL = @LTLIBSASL@
|
200
|
+
LTLIBSASL2 = @LTLIBSASL2@
|
201
|
+
MAKEINFO = @MAKEINFO@
|
202
|
+
MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@
|
203
|
+
MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@
|
204
|
+
MEMC_BINARY = @MEMC_BINARY@
|
205
|
+
MKDIR_P = @MKDIR_P@
|
206
|
+
NM = @NM@
|
207
|
+
NMEDIT = @NMEDIT@
|
208
|
+
NO_CONVERSION = @NO_CONVERSION@
|
209
|
+
NO_REDUNDANT_DECLS = @NO_REDUNDANT_DECLS@
|
210
|
+
NO_SHADOW = @NO_SHADOW@
|
211
|
+
NO_STRICT_ALIASING = @NO_STRICT_ALIASING@
|
212
|
+
NO_UNREACHED = @NO_UNREACHED@
|
213
|
+
OBJDUMP = @OBJDUMP@
|
214
|
+
OBJEXT = @OBJEXT@
|
215
|
+
OTOOL = @OTOOL@
|
216
|
+
OTOOL64 = @OTOOL64@
|
217
|
+
PACKAGE = @PACKAGE@
|
218
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
219
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
220
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
221
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
222
|
+
PACKAGE_URL = @PACKAGE_URL@
|
223
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
224
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
225
|
+
PERL = @PERL@
|
226
|
+
POD2MAN = @POD2MAN@
|
227
|
+
PROTOSKIP_WARNINGS = @PROTOSKIP_WARNINGS@
|
228
|
+
PTHREAD_CC = @PTHREAD_CC@
|
229
|
+
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
230
|
+
PTHREAD_LIBS = @PTHREAD_LIBS@
|
231
|
+
RANLIB = @RANLIB@
|
232
|
+
SED = @SED@
|
233
|
+
SET_MAKE = @SET_MAKE@
|
234
|
+
SHELL = @SHELL@
|
235
|
+
STRIP = @STRIP@
|
236
|
+
VERSION = @VERSION@
|
237
|
+
abs_builddir = @abs_builddir@
|
238
|
+
abs_srcdir = @abs_srcdir@
|
239
|
+
abs_top_builddir = @abs_top_builddir@
|
240
|
+
abs_top_srcdir = @abs_top_srcdir@
|
241
|
+
ac_ct_CC = @ac_ct_CC@
|
242
|
+
ac_ct_CXX = @ac_ct_CXX@
|
243
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
244
|
+
acx_pthread_config = @acx_pthread_config@
|
245
|
+
am__include = @am__include@
|
246
|
+
am__leading_dot = @am__leading_dot@
|
247
|
+
am__quote = @am__quote@
|
248
|
+
am__tar = @am__tar@
|
249
|
+
am__untar = @am__untar@
|
250
|
+
bindir = @bindir@
|
251
|
+
build = @build@
|
252
|
+
build_alias = @build_alias@
|
253
|
+
build_cpu = @build_cpu@
|
254
|
+
build_os = @build_os@
|
255
|
+
build_vendor = @build_vendor@
|
256
|
+
builddir = @builddir@
|
257
|
+
datadir = @datadir@
|
258
|
+
datarootdir = @datarootdir@
|
259
|
+
docdir = @docdir@
|
260
|
+
dvidir = @dvidir@
|
261
|
+
exec_prefix = @exec_prefix@
|
262
|
+
host = @host@
|
263
|
+
host_alias = @host_alias@
|
264
|
+
host_cpu = @host_cpu@
|
265
|
+
host_os = @host_os@
|
266
|
+
host_vendor = @host_vendor@
|
267
|
+
htmldir = @htmldir@
|
268
|
+
includedir = @includedir@
|
269
|
+
infodir = @infodir@
|
270
|
+
install_sh = @install_sh@
|
271
|
+
libdir = @libdir@
|
272
|
+
libexecdir = @libexecdir@
|
273
|
+
localedir = @localedir@
|
274
|
+
localstatedir = @localstatedir@
|
275
|
+
lt_ECHO = @lt_ECHO@
|
276
|
+
mandir = @mandir@
|
277
|
+
mkdir_p = @mkdir_p@
|
278
|
+
oldincludedir = @oldincludedir@
|
279
|
+
pdfdir = @pdfdir@
|
280
|
+
prefix = @prefix@
|
281
|
+
program_transform_name = @program_transform_name@
|
282
|
+
psdir = @psdir@
|
283
|
+
sbindir = @sbindir@
|
284
|
+
sharedstatedir = @sharedstatedir@
|
285
|
+
srcdir = @srcdir@
|
286
|
+
sysconfdir = @sysconfdir@
|
287
|
+
target = @target@
|
288
|
+
target_alias = @target_alias@
|
289
|
+
target_cpu = @target_cpu@
|
290
|
+
target_os = @target_os@
|
291
|
+
target_vendor = @target_vendor@
|
292
|
+
top_build_prefix = @top_build_prefix@
|
293
|
+
top_builddir = @top_builddir@
|
294
|
+
top_srcdir = @top_srcdir@
|
295
|
+
ACLOCAL_AMFLAGS = -I m4
|
296
|
+
SUBDIRS = docs libmemcached libmemcachedutil support clients tests
|
297
|
+
EXTRA_dist = README.FIRST
|
298
|
+
all: config.h
|
299
|
+
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
300
|
+
|
301
|
+
.SUFFIXES:
|
302
|
+
am--refresh:
|
303
|
+
@:
|
304
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
305
|
+
@for dep in $?; do \
|
306
|
+
case '$(am__configure_deps)' in \
|
307
|
+
*$$dep*) \
|
308
|
+
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
309
|
+
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
310
|
+
&& exit 0; \
|
311
|
+
exit 1;; \
|
312
|
+
esac; \
|
313
|
+
done; \
|
314
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
315
|
+
$(am__cd) $(top_srcdir) && \
|
316
|
+
$(AUTOMAKE) --gnu Makefile
|
317
|
+
.PRECIOUS: Makefile
|
318
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
319
|
+
@case '$?' in \
|
320
|
+
*config.status*) \
|
321
|
+
echo ' $(SHELL) ./config.status'; \
|
322
|
+
$(SHELL) ./config.status;; \
|
323
|
+
*) \
|
324
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
325
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
326
|
+
esac;
|
327
|
+
|
328
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
329
|
+
$(SHELL) ./config.status --recheck
|
330
|
+
|
331
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
332
|
+
$(am__cd) $(srcdir) && $(AUTOCONF)
|
333
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
334
|
+
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
335
|
+
$(am__aclocal_m4_deps):
|
336
|
+
|
337
|
+
config.h: stamp-h1
|
338
|
+
@if test ! -f $@; then \
|
339
|
+
rm -f stamp-h1; \
|
340
|
+
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
341
|
+
else :; fi
|
342
|
+
|
343
|
+
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
344
|
+
@rm -f stamp-h1
|
345
|
+
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
346
|
+
$(srcdir)/config.h.in: $(am__configure_deps)
|
347
|
+
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
348
|
+
rm -f stamp-h1
|
349
|
+
touch $@
|
350
|
+
|
351
|
+
distclean-hdr:
|
352
|
+
-rm -f config.h stamp-h1
|
353
|
+
|
354
|
+
mostlyclean-libtool:
|
355
|
+
-rm -f *.lo
|
356
|
+
|
357
|
+
clean-libtool:
|
358
|
+
-rm -rf .libs _libs
|
359
|
+
|
360
|
+
distclean-libtool:
|
361
|
+
-rm -f libtool config.lt
|
362
|
+
|
363
|
+
# This directory's subdirectories are mostly independent; you can cd
|
364
|
+
# into them and run `make' without going through this Makefile.
|
365
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
366
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
367
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
368
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
369
|
+
$(RECURSIVE_TARGETS):
|
370
|
+
@failcom='exit 1'; \
|
371
|
+
for f in x $$MAKEFLAGS; do \
|
372
|
+
case $$f in \
|
373
|
+
*=* | --[!k]*);; \
|
374
|
+
*k*) failcom='fail=yes';; \
|
375
|
+
esac; \
|
376
|
+
done; \
|
377
|
+
dot_seen=no; \
|
378
|
+
target=`echo $@ | sed s/-recursive//`; \
|
379
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
380
|
+
echo "Making $$target in $$subdir"; \
|
381
|
+
if test "$$subdir" = "."; then \
|
382
|
+
dot_seen=yes; \
|
383
|
+
local_target="$$target-am"; \
|
384
|
+
else \
|
385
|
+
local_target="$$target"; \
|
386
|
+
fi; \
|
387
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
388
|
+
|| eval $$failcom; \
|
389
|
+
done; \
|
390
|
+
if test "$$dot_seen" = "no"; then \
|
391
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
392
|
+
fi; test -z "$$fail"
|
393
|
+
|
394
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
395
|
+
@failcom='exit 1'; \
|
396
|
+
for f in x $$MAKEFLAGS; do \
|
397
|
+
case $$f in \
|
398
|
+
*=* | --[!k]*);; \
|
399
|
+
*k*) failcom='fail=yes';; \
|
400
|
+
esac; \
|
401
|
+
done; \
|
402
|
+
dot_seen=no; \
|
403
|
+
case "$@" in \
|
404
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
405
|
+
*) list='$(SUBDIRS)' ;; \
|
406
|
+
esac; \
|
407
|
+
rev=''; for subdir in $$list; do \
|
408
|
+
if test "$$subdir" = "."; then :; else \
|
409
|
+
rev="$$subdir $$rev"; \
|
410
|
+
fi; \
|
411
|
+
done; \
|
412
|
+
rev="$$rev ."; \
|
413
|
+
target=`echo $@ | sed s/-recursive//`; \
|
414
|
+
for subdir in $$rev; do \
|
415
|
+
echo "Making $$target in $$subdir"; \
|
416
|
+
if test "$$subdir" = "."; then \
|
417
|
+
local_target="$$target-am"; \
|
418
|
+
else \
|
419
|
+
local_target="$$target"; \
|
420
|
+
fi; \
|
421
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
422
|
+
|| eval $$failcom; \
|
423
|
+
done && test -z "$$fail"
|
424
|
+
tags-recursive:
|
425
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
426
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
427
|
+
done
|
428
|
+
ctags-recursive:
|
429
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
430
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
431
|
+
done
|
432
|
+
|
433
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
434
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
435
|
+
unique=`for i in $$list; do \
|
436
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
437
|
+
done | \
|
438
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
439
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
440
|
+
mkid -fID $$unique
|
441
|
+
tags: TAGS
|
442
|
+
|
443
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
444
|
+
$(TAGS_FILES) $(LISP)
|
445
|
+
set x; \
|
446
|
+
here=`pwd`; \
|
447
|
+
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
448
|
+
include_option=--etags-include; \
|
449
|
+
empty_fix=.; \
|
450
|
+
else \
|
451
|
+
include_option=--include; \
|
452
|
+
empty_fix=; \
|
453
|
+
fi; \
|
454
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
455
|
+
if test "$$subdir" = .; then :; else \
|
456
|
+
test ! -f $$subdir/TAGS || \
|
457
|
+
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
458
|
+
fi; \
|
459
|
+
done; \
|
460
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
461
|
+
unique=`for i in $$list; do \
|
462
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
463
|
+
done | \
|
464
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
465
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
466
|
+
shift; \
|
467
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
468
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
469
|
+
if test $$# -gt 0; then \
|
470
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
471
|
+
"$$@" $$unique; \
|
472
|
+
else \
|
473
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
474
|
+
$$unique; \
|
475
|
+
fi; \
|
476
|
+
fi
|
477
|
+
ctags: CTAGS
|
478
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
479
|
+
$(TAGS_FILES) $(LISP)
|
480
|
+
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
481
|
+
unique=`for i in $$list; do \
|
482
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
483
|
+
done | \
|
484
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
485
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
486
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
487
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
488
|
+
$$unique
|
489
|
+
|
490
|
+
GTAGS:
|
491
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
492
|
+
&& $(am__cd) $(top_srcdir) \
|
493
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
494
|
+
|
495
|
+
distclean-tags:
|
496
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
497
|
+
|
498
|
+
distdir: $(DISTFILES)
|
499
|
+
$(am__remove_distdir)
|
500
|
+
test -d "$(distdir)" || mkdir "$(distdir)"
|
501
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
502
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
503
|
+
list='$(DISTFILES)'; \
|
504
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
505
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
506
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
507
|
+
case $$dist_files in \
|
508
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
509
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
510
|
+
sort -u` ;; \
|
511
|
+
esac; \
|
512
|
+
for file in $$dist_files; do \
|
513
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
514
|
+
if test -d $$d/$$file; then \
|
515
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
516
|
+
if test -d "$(distdir)/$$file"; then \
|
517
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
518
|
+
fi; \
|
519
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
520
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
521
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
522
|
+
fi; \
|
523
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
524
|
+
else \
|
525
|
+
test -f "$(distdir)/$$file" \
|
526
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
527
|
+
|| exit 1; \
|
528
|
+
fi; \
|
529
|
+
done
|
530
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
531
|
+
if test "$$subdir" = .; then :; else \
|
532
|
+
test -d "$(distdir)/$$subdir" \
|
533
|
+
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
534
|
+
|| exit 1; \
|
535
|
+
fi; \
|
536
|
+
done
|
537
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
538
|
+
if test "$$subdir" = .; then :; else \
|
539
|
+
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
540
|
+
$(am__relativize); \
|
541
|
+
new_distdir=$$reldir; \
|
542
|
+
dir1=$$subdir; dir2="$(top_distdir)"; \
|
543
|
+
$(am__relativize); \
|
544
|
+
new_top_distdir=$$reldir; \
|
545
|
+
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
546
|
+
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
547
|
+
($(am__cd) $$subdir && \
|
548
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
549
|
+
top_distdir="$$new_top_distdir" \
|
550
|
+
distdir="$$new_distdir" \
|
551
|
+
am__remove_distdir=: \
|
552
|
+
am__skip_length_check=: \
|
553
|
+
am__skip_mode_fix=: \
|
554
|
+
distdir) \
|
555
|
+
|| exit 1; \
|
556
|
+
fi; \
|
557
|
+
done
|
558
|
+
-test -n "$(am__skip_mode_fix)" \
|
559
|
+
|| find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
560
|
+
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
561
|
+
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
562
|
+
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
563
|
+
|| chmod -R a+r "$(distdir)"
|
564
|
+
dist-gzip: distdir
|
565
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
566
|
+
$(am__remove_distdir)
|
567
|
+
|
568
|
+
dist-bzip2: distdir
|
569
|
+
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
570
|
+
$(am__remove_distdir)
|
571
|
+
|
572
|
+
dist-lzma: distdir
|
573
|
+
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
574
|
+
$(am__remove_distdir)
|
575
|
+
|
576
|
+
dist-xz: distdir
|
577
|
+
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
578
|
+
$(am__remove_distdir)
|
579
|
+
|
580
|
+
dist-tarZ: distdir
|
581
|
+
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
582
|
+
$(am__remove_distdir)
|
583
|
+
|
584
|
+
dist-shar: distdir
|
585
|
+
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
586
|
+
$(am__remove_distdir)
|
587
|
+
|
588
|
+
dist-zip: distdir
|
589
|
+
-rm -f $(distdir).zip
|
590
|
+
zip -rq $(distdir).zip $(distdir)
|
591
|
+
$(am__remove_distdir)
|
592
|
+
|
593
|
+
dist dist-all: distdir
|
594
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
595
|
+
$(am__remove_distdir)
|
596
|
+
|
597
|
+
# This target untars the dist file and tries a VPATH configuration. Then
|
598
|
+
# it guarantees that the distribution is self-contained by making another
|
599
|
+
# tarfile.
|
600
|
+
distcheck: dist
|
601
|
+
case '$(DIST_ARCHIVES)' in \
|
602
|
+
*.tar.gz*) \
|
603
|
+
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
604
|
+
*.tar.bz2*) \
|
605
|
+
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
606
|
+
*.tar.lzma*) \
|
607
|
+
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
608
|
+
*.tar.xz*) \
|
609
|
+
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
610
|
+
*.tar.Z*) \
|
611
|
+
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
612
|
+
*.shar.gz*) \
|
613
|
+
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
614
|
+
*.zip*) \
|
615
|
+
unzip $(distdir).zip ;;\
|
616
|
+
esac
|
617
|
+
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
618
|
+
mkdir $(distdir)/_build
|
619
|
+
mkdir $(distdir)/_inst
|
620
|
+
chmod a-w $(distdir)
|
621
|
+
test -d $(distdir)/_build || exit 0; \
|
622
|
+
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
623
|
+
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
624
|
+
&& am__cwd=`pwd` \
|
625
|
+
&& $(am__cd) $(distdir)/_build \
|
626
|
+
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
627
|
+
$(DISTCHECK_CONFIGURE_FLAGS) \
|
628
|
+
&& $(MAKE) $(AM_MAKEFLAGS) \
|
629
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
630
|
+
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
631
|
+
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
632
|
+
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
633
|
+
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
634
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
635
|
+
distuninstallcheck \
|
636
|
+
&& chmod -R a-w "$$dc_install_base" \
|
637
|
+
&& ({ \
|
638
|
+
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
639
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
640
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
641
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
642
|
+
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
643
|
+
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
644
|
+
&& rm -rf "$$dc_destdir" \
|
645
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
646
|
+
&& rm -rf $(DIST_ARCHIVES) \
|
647
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
648
|
+
&& cd "$$am__cwd" \
|
649
|
+
|| exit 1
|
650
|
+
$(am__remove_distdir)
|
651
|
+
@(echo "$(distdir) archives ready for distribution: "; \
|
652
|
+
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
653
|
+
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
654
|
+
distuninstallcheck:
|
655
|
+
@$(am__cd) '$(distuninstallcheck_dir)' \
|
656
|
+
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
657
|
+
|| { echo "ERROR: files left after uninstall:" ; \
|
658
|
+
if test -n "$(DESTDIR)"; then \
|
659
|
+
echo " (check DESTDIR support)"; \
|
660
|
+
fi ; \
|
661
|
+
$(distuninstallcheck_listfiles) ; \
|
662
|
+
exit 1; } >&2
|
663
|
+
distcleancheck: distclean
|
664
|
+
@if test '$(srcdir)' = . ; then \
|
665
|
+
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
666
|
+
exit 1 ; \
|
667
|
+
fi
|
668
|
+
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
669
|
+
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
670
|
+
$(distcleancheck_listfiles) ; \
|
671
|
+
exit 1; } >&2
|
672
|
+
check-am: all-am
|
673
|
+
$(MAKE) $(AM_MAKEFLAGS) check-local
|
674
|
+
check: check-recursive
|
675
|
+
all-am: Makefile config.h
|
676
|
+
installdirs: installdirs-recursive
|
677
|
+
installdirs-am:
|
678
|
+
install: install-recursive
|
679
|
+
install-exec: install-exec-recursive
|
680
|
+
install-data: install-data-recursive
|
681
|
+
uninstall: uninstall-recursive
|
682
|
+
|
683
|
+
install-am: all-am
|
684
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
685
|
+
|
686
|
+
installcheck: installcheck-recursive
|
687
|
+
install-strip:
|
688
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
689
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
690
|
+
`test -z '$(STRIP)' || \
|
691
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
692
|
+
mostlyclean-generic:
|
693
|
+
|
694
|
+
clean-generic:
|
695
|
+
|
696
|
+
distclean-generic:
|
697
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
698
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
699
|
+
|
700
|
+
maintainer-clean-generic:
|
701
|
+
@echo "This command is intended for maintainers to use"
|
702
|
+
@echo "it deletes files that may require special tools to rebuild."
|
703
|
+
clean: clean-recursive
|
704
|
+
|
705
|
+
clean-am: clean-generic clean-libtool mostlyclean-am
|
706
|
+
|
707
|
+
distclean: distclean-recursive
|
708
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
709
|
+
-rm -f Makefile
|
710
|
+
distclean-am: clean-am distclean-generic distclean-hdr \
|
711
|
+
distclean-libtool distclean-tags
|
712
|
+
|
713
|
+
dvi: dvi-recursive
|
714
|
+
|
715
|
+
dvi-am:
|
716
|
+
|
717
|
+
html: html-recursive
|
718
|
+
|
719
|
+
html-am:
|
720
|
+
|
721
|
+
info: info-recursive
|
722
|
+
|
723
|
+
info-am:
|
724
|
+
|
725
|
+
install-data-am:
|
726
|
+
|
727
|
+
install-dvi: install-dvi-recursive
|
728
|
+
|
729
|
+
install-dvi-am:
|
730
|
+
|
731
|
+
install-exec-am:
|
732
|
+
|
733
|
+
install-html: install-html-recursive
|
734
|
+
|
735
|
+
install-html-am:
|
736
|
+
|
737
|
+
install-info: install-info-recursive
|
738
|
+
|
739
|
+
install-info-am:
|
740
|
+
|
741
|
+
install-man:
|
742
|
+
|
743
|
+
install-pdf: install-pdf-recursive
|
744
|
+
|
745
|
+
install-pdf-am:
|
746
|
+
|
747
|
+
install-ps: install-ps-recursive
|
748
|
+
|
749
|
+
install-ps-am:
|
750
|
+
|
751
|
+
installcheck-am:
|
752
|
+
|
753
|
+
maintainer-clean: maintainer-clean-recursive
|
754
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
755
|
+
-rm -rf $(top_srcdir)/autom4te.cache
|
756
|
+
-rm -f Makefile
|
757
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
758
|
+
|
759
|
+
mostlyclean: mostlyclean-recursive
|
760
|
+
|
761
|
+
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
762
|
+
|
763
|
+
pdf: pdf-recursive
|
764
|
+
|
765
|
+
pdf-am:
|
766
|
+
|
767
|
+
ps: ps-recursive
|
768
|
+
|
769
|
+
ps-am:
|
770
|
+
|
771
|
+
uninstall-am:
|
772
|
+
|
773
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
|
774
|
+
ctags-recursive install-am install-strip tags-recursive
|
775
|
+
|
776
|
+
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
777
|
+
all all-am am--refresh check check-am check-local clean \
|
778
|
+
clean-generic clean-libtool ctags ctags-recursive dist \
|
779
|
+
dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
|
780
|
+
dist-xz dist-zip distcheck distclean distclean-generic \
|
781
|
+
distclean-hdr distclean-libtool distclean-tags distcleancheck \
|
782
|
+
distdir distuninstallcheck dvi dvi-am html html-am info \
|
783
|
+
info-am install install-am install-data install-data-am \
|
784
|
+
install-dvi install-dvi-am install-exec install-exec-am \
|
785
|
+
install-html install-html-am install-info install-info-am \
|
786
|
+
install-man install-pdf install-pdf-am install-ps \
|
787
|
+
install-ps-am install-strip installcheck installcheck-am \
|
788
|
+
installdirs installdirs-am maintainer-clean \
|
789
|
+
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
790
|
+
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
791
|
+
uninstall uninstall-am
|
792
|
+
|
793
|
+
|
794
|
+
check-local: test-no-outputdiff
|
795
|
+
|
796
|
+
test: all
|
797
|
+
@(cd tests; ${MAKE} test)
|
798
|
+
|
799
|
+
test-extended: all
|
800
|
+
@(cd tests; ${MAKE} test-extended)
|
801
|
+
|
802
|
+
valgrind:
|
803
|
+
@(cd tests; ${MAKE} valgrind)
|
804
|
+
|
805
|
+
test-no-outputdiff:
|
806
|
+
@(cd tests; ${MAKE} test-no-outputdiff)
|
807
|
+
|
808
|
+
fedora:
|
809
|
+
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
810
|
+
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
811
|
+
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
812
|
+
rpmbuild -ba support/libmemcached.spec
|
813
|
+
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
814
|
+
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
815
|
+
|
816
|
+
generic:
|
817
|
+
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
818
|
+
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
819
|
+
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
820
|
+
rpmbuild -ba support/libmemcached.spec
|
821
|
+
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
822
|
+
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
823
|
+
|
824
|
+
rpm: all dist generic fedora
|
825
|
+
|
826
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
827
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
828
|
+
.NOEXPORT:
|