зеркало из https://github.com/github/memcached.git
Merge branch 'master' of git://github.com/antifuchs/memcached into antifuchs/master
Conflicts: ext/extconf.rb
This commit is contained in:
Коммит
d4f60f2b0b
|
@ -0,0 +1,3 @@
|
|||
pkg/*
|
||||
ext/libmemcache.*
|
||||
ext/libmemcache/*
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "ext/memcache"]
|
||||
path = ext/memcache
|
||||
url = http://consoleninja.net/code/memcached/memcached.git
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
v0.15. Update to libmemcached 0.32. UDP support. Domain socket support (hellvinz). Bugfixes.
|
||||
v0.15. Update to bundled libmemcached 0.32. UDP support. Domain socket support (hellvinz). Bugfixes.
|
||||
|
||||
v0.14.4. Re-SWIG.
|
||||
|
||||
|
|
148
Manifest
148
Manifest
|
@ -1,7 +1,155 @@
|
|||
BENCHMARKS
|
||||
CHANGELOG
|
||||
COMPATIBILITY
|
||||
ext/build-libmemcached.sh
|
||||
ext/extconf.rb
|
||||
ext/libmemcached-src
|
||||
ext/libmemcached-src/AUTHORS
|
||||
ext/libmemcached-src/ChangeLog
|
||||
ext/libmemcached-src/clients
|
||||
ext/libmemcached-src/clients/client_options.h
|
||||
ext/libmemcached-src/clients/execute.c
|
||||
ext/libmemcached-src/clients/execute.h
|
||||
ext/libmemcached-src/clients/generator.c
|
||||
ext/libmemcached-src/clients/generator.h
|
||||
ext/libmemcached-src/clients/Makefile.am
|
||||
ext/libmemcached-src/clients/memcat.c
|
||||
ext/libmemcached-src/clients/memcp.c
|
||||
ext/libmemcached-src/clients/memerror.c
|
||||
ext/libmemcached-src/clients/memflush.c
|
||||
ext/libmemcached-src/clients/memrm.c
|
||||
ext/libmemcached-src/clients/memslap.c
|
||||
ext/libmemcached-src/clients/memstat.c
|
||||
ext/libmemcached-src/clients/utilities.c
|
||||
ext/libmemcached-src/clients/utilities.h
|
||||
ext/libmemcached-src/config
|
||||
ext/libmemcached-src/config/64bit.m4
|
||||
ext/libmemcached-src/config/bootstrap
|
||||
ext/libmemcached-src/config/byteorder.m4
|
||||
ext/libmemcached-src/config/debug.m4
|
||||
ext/libmemcached-src/config/dtrace.m4
|
||||
ext/libmemcached-src/config/pod2man.m4
|
||||
ext/libmemcached-src/config/protocol_binary.m4
|
||||
ext/libmemcached-src/configure.ac
|
||||
ext/libmemcached-src/COPYING
|
||||
ext/libmemcached-src/docs
|
||||
ext/libmemcached-src/docs/libmemcached.pod
|
||||
ext/libmemcached-src/docs/libmemcached_examples.pod
|
||||
ext/libmemcached-src/docs/Makefile.am
|
||||
ext/libmemcached-src/docs/memcached_auto.pod
|
||||
ext/libmemcached-src/docs/memcached_behavior.pod
|
||||
ext/libmemcached-src/docs/memcached_callback.pod
|
||||
ext/libmemcached-src/docs/memcached_create.pod
|
||||
ext/libmemcached-src/docs/memcached_delete.pod
|
||||
ext/libmemcached-src/docs/memcached_flush.pod
|
||||
ext/libmemcached-src/docs/memcached_get.pod
|
||||
ext/libmemcached-src/docs/memcached_quit.pod
|
||||
ext/libmemcached-src/docs/memcached_result_st.pod
|
||||
ext/libmemcached-src/docs/memcached_server_st.pod
|
||||
ext/libmemcached-src/docs/memcached_servers.pod
|
||||
ext/libmemcached-src/docs/memcached_set.pod
|
||||
ext/libmemcached-src/docs/memcached_stats.pod
|
||||
ext/libmemcached-src/docs/memcached_strerror.pod
|
||||
ext/libmemcached-src/docs/memcached_verbosity.pod
|
||||
ext/libmemcached-src/docs/memcached_version.pod
|
||||
ext/libmemcached-src/docs/memcat.pod
|
||||
ext/libmemcached-src/docs/memcp.pod
|
||||
ext/libmemcached-src/docs/memerror.pod
|
||||
ext/libmemcached-src/docs/memflush.pod
|
||||
ext/libmemcached-src/docs/memrm.pod
|
||||
ext/libmemcached-src/docs/memslap.pod
|
||||
ext/libmemcached-src/docs/memstat.pod
|
||||
ext/libmemcached-src/libmemcached
|
||||
ext/libmemcached-src/libmemcached/byteorder.c
|
||||
ext/libmemcached-src/libmemcached/common.h
|
||||
ext/libmemcached-src/libmemcached/crc.c
|
||||
ext/libmemcached-src/libmemcached/hsieh_hash.c
|
||||
ext/libmemcached-src/libmemcached/jenkins_hash.c
|
||||
ext/libmemcached-src/libmemcached/libmemcached_probes.d
|
||||
ext/libmemcached-src/libmemcached/libmemcached_probes.h
|
||||
ext/libmemcached-src/libmemcached/Makefile.am
|
||||
ext/libmemcached-src/libmemcached/md5.c
|
||||
ext/libmemcached-src/libmemcached/memcached
|
||||
ext/libmemcached-src/libmemcached/memcached/protocol_binary.h
|
||||
ext/libmemcached-src/libmemcached/memcached/README.txt
|
||||
ext/libmemcached-src/libmemcached/memcached.c
|
||||
ext/libmemcached-src/libmemcached/memcached.h
|
||||
ext/libmemcached-src/libmemcached/memcached.hh
|
||||
ext/libmemcached-src/libmemcached/memcached_auto.c
|
||||
ext/libmemcached-src/libmemcached/memcached_behavior.c
|
||||
ext/libmemcached-src/libmemcached/memcached_callback.c
|
||||
ext/libmemcached-src/libmemcached/memcached_connect.c
|
||||
ext/libmemcached-src/libmemcached/memcached_constants.h
|
||||
ext/libmemcached-src/libmemcached/memcached_delete.c
|
||||
ext/libmemcached-src/libmemcached/memcached_do.c
|
||||
ext/libmemcached-src/libmemcached/memcached_fetch.c
|
||||
ext/libmemcached-src/libmemcached/memcached_fetch_execute.c
|
||||
ext/libmemcached-src/libmemcached/memcached_flush.c
|
||||
ext/libmemcached-src/libmemcached/memcached_get.c
|
||||
ext/libmemcached-src/libmemcached/memcached_get.h
|
||||
ext/libmemcached-src/libmemcached/memcached_hash.c
|
||||
ext/libmemcached-src/libmemcached/memcached_hosts.c
|
||||
ext/libmemcached-src/libmemcached/memcached_io.c
|
||||
ext/libmemcached-src/libmemcached/memcached_io.h
|
||||
ext/libmemcached-src/libmemcached/memcached_key.c
|
||||
ext/libmemcached-src/libmemcached/memcached_parse.c
|
||||
ext/libmemcached-src/libmemcached/memcached_purge.c
|
||||
ext/libmemcached-src/libmemcached/memcached_quit.c
|
||||
ext/libmemcached-src/libmemcached/memcached_response.c
|
||||
ext/libmemcached-src/libmemcached/memcached_result.c
|
||||
ext/libmemcached-src/libmemcached/memcached_result.h
|
||||
ext/libmemcached-src/libmemcached/memcached_server.c
|
||||
ext/libmemcached-src/libmemcached/memcached_server.h
|
||||
ext/libmemcached-src/libmemcached/memcached_stats.c
|
||||
ext/libmemcached-src/libmemcached/memcached_storage.c
|
||||
ext/libmemcached-src/libmemcached/memcached_storage.h
|
||||
ext/libmemcached-src/libmemcached/memcached_strerror.c
|
||||
ext/libmemcached-src/libmemcached/memcached_string.c
|
||||
ext/libmemcached-src/libmemcached/memcached_string.h
|
||||
ext/libmemcached-src/libmemcached/memcached_types.h
|
||||
ext/libmemcached-src/libmemcached/memcached_verbosity.c
|
||||
ext/libmemcached-src/libmemcached/memcached_version.c
|
||||
ext/libmemcached-src/libmemcached/memcached_watchpoint.h
|
||||
ext/libmemcached-src/libmemcached/murmur_hash.c
|
||||
ext/libmemcached-src/Makefile.am
|
||||
ext/libmemcached-src/NEWS
|
||||
ext/libmemcached-src/README
|
||||
ext/libmemcached-src/README.FIRST
|
||||
ext/libmemcached-src/support
|
||||
ext/libmemcached-src/support/libmemcached.pc.in
|
||||
ext/libmemcached-src/support/libmemcached.spec.in
|
||||
ext/libmemcached-src/support/Makefile.am
|
||||
ext/libmemcached-src/support/set_benchmark.sh
|
||||
ext/libmemcached-src/tests
|
||||
ext/libmemcached-src/tests/atomsmasher.c
|
||||
ext/libmemcached-src/tests/function.c
|
||||
ext/libmemcached-src/tests/ketama_test_cases.h
|
||||
ext/libmemcached-src/tests/Makefile.am
|
||||
ext/libmemcached-src/tests/output.res
|
||||
ext/libmemcached-src/tests/output2.res
|
||||
ext/libmemcached-src/tests/plus.cpp
|
||||
ext/libmemcached-src/tests/r
|
||||
ext/libmemcached-src/tests/r/memcat.res
|
||||
ext/libmemcached-src/tests/r/memcp.res
|
||||
ext/libmemcached-src/tests/r/memrm.res
|
||||
ext/libmemcached-src/tests/r/memslap.res
|
||||
ext/libmemcached-src/tests/r/memstat.res
|
||||
ext/libmemcached-src/tests/server.c
|
||||
ext/libmemcached-src/tests/server.h
|
||||
ext/libmemcached-src/tests/start.c
|
||||
ext/libmemcached-src/tests/t
|
||||
ext/libmemcached-src/tests/t/memcat.test
|
||||
ext/libmemcached-src/tests/t/memcp.test
|
||||
ext/libmemcached-src/tests/t/memrm.test
|
||||
ext/libmemcached-src/tests/t/memslap.test
|
||||
ext/libmemcached-src/tests/t/memstat.test
|
||||
ext/libmemcached-src/tests/test.c
|
||||
ext/libmemcached-src/tests/test.h
|
||||
ext/libmemcached-src/tests/udp.c
|
||||
ext/libmemcached-src/THANKS
|
||||
ext/libmemcached-src/TODO
|
||||
ext/pkgconfig
|
||||
ext/pkgconfig/libmemcached.pc
|
||||
ext/rlibmemcached.i
|
||||
ext/rlibmemcached_wrap.c
|
||||
lib/memcached/behaviors.rb
|
||||
|
|
|
@ -1,14 +1,28 @@
|
|||
|
||||
require 'mkmf'
|
||||
|
||||
HERE = File.expand_path(File.dirname(__FILE__))
|
||||
|
||||
INCLUDES = ENV['INCLUDE_PATH'].to_s.split(':').map{|s| " -I#{s}"}.uniq.join
|
||||
|
||||
unless ENV['EXTERNAL_LIB']
|
||||
puts "building memcache"
|
||||
Dir.chdir(HERE) do
|
||||
cmd = "cd libmemcached-src && ./configure --prefix=#{HERE}/unused --libdir=#{HERE}/.. --includedir=#{HERE}/..
|
||||
make && make install"
|
||||
puts cmd
|
||||
res = `#{cmd}`
|
||||
$stdout.write res
|
||||
end
|
||||
INCLUDES += " -I./libmemcache-include -L./libmemcache-lib"
|
||||
end
|
||||
|
||||
if ENV['SWIG']
|
||||
puts "running SWIG"
|
||||
cmd = "swig #{INCLUDES} -ruby -autorename rlibmemcached.i"
|
||||
puts cmd
|
||||
res = `#{cmd}`
|
||||
raise "SWIG fail!" if res.match(/rlibmemcached.i:\d+: Error:/)
|
||||
res = `#{cmd}`
|
||||
raise "SWIG failure" if res.match(/rlibmemcached.i:\d+: Error:/)
|
||||
$stdout.write res
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
This is a Bazaar control directory.
|
||||
Do not change any files in this directory.
|
||||
See http://bazaar-vcs.org/ for more information about Bazaar.
|
|
@ -0,0 +1 @@
|
|||
Bazaar-NG meta directory, format 1
|
|
@ -0,0 +1 @@
|
|||
parent_location = bzr+ssh://bazaar.launchpad.net/%7Emattknox/libmemcached/auto-eject-on-random/
|
|
@ -0,0 +1 @@
|
|||
Bazaar Branch Format 7 (needs bzr 1.6)
|
|
@ -0,0 +1 @@
|
|||
568 matthewknox@gmail.com-20090730001916-8etff4uzj1s0onx8
|
|
@ -0,0 +1 @@
|
|||
d4:0.1049:brian@tangent.org-20071121023111-aiasr1wivc5k8y744:0.1349:brian@tangent.org-20080113145208-nctgccup2zbsidnr4:0.1449:brian@tangent.org-20080122173547-alarp4oemy5xx0ln4:0.1549:brian@tangent.org-20080129222055-mc07dpmzybq1yrrx3:0.249:brian@tangent.org-20070927110826-7tr4tpn8kal2q5jh4:0.2149:brian@tangent.org-20080524014722-a99skzqc7yz0y2044:0.2249:brian@tangent.org-20080714162630-c8fwvof0mmj7wkke4:0.2549:brian@tangent.org-20081128180814-hoyd2m8qxpdyov0u4:0.2649:brian@tangent.org-20090129211558-gdso2jrl6wwtdf1m4:0.2749:brian@tangent.org-20090330060549-rx33zbw1bkbjz6ug4:0.2859:brian@localhost.localdomain-20090415020819-c3rwlanoh40p6q2q4:0.2959:brian@localhost.localdomain-20090513150624-spekqz4jwodst9z76:0.29-259:brian@localhost.localdomain-20090519154215-0qoi5teta14n9aod3:0.349:brian@tangent.org-20071001134527-f52ninh0lvs5aciy4:0.3041:brian@gaz-20090601013223-jkj9iklb437xmybj4:0.3141:brian@gaz-20090710162242-sxeko3id77d4ow5a3:0.449:brian@tangent.org-20071003173240-5orxjgglwdmsetmv3:0.549:brian@tangent.org-20071009072454-15xlsrntlnz8k4w33:0.849:brian@tangent.org-20071105193650-83yjinff7lpgzqcz3:0_749:brian@tangent.org-20071030170432-aiwbjpptl4vkowds3:_1149:brian@tangent.org-20071126091241-60wsxdvthtnhutl53:_2049:brian@tangent.org-20080505153442-jt1fql4w1wz4qj4o3:_2349:brian@tangent.org-20080907151845-ldopxxyxidijiewae
|
|
@ -0,0 +1 @@
|
|||
BZR conflict list format 1
|
Двоичный файл не отображается.
|
@ -0,0 +1 @@
|
|||
Bazaar Working Tree Format 4 (bzr 0.15)
|
|
@ -0,0 +1 @@
|
|||
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
|
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.iix
Normal file
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.iix
Normal file
Двоичный файл не отображается.
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.rix
Normal file
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.rix
Normal file
Двоичный файл не отображается.
|
@ -0,0 +1,5 @@
|
|||
B+Tree Graph Index 2
|
||||
node_ref_lists=0
|
||||
key_elements=1
|
||||
len=0
|
||||
row_lengths=
|
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.tix
Normal file
Двоичные данные
ext/libmemcached-src/.bzr/repository/indices/0cc6dfda3f05b2bcf3e71a38b36e8c34.tix
Normal file
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
ext/libmemcached-src/.bzr/repository/packs/0cc6dfda3f05b2bcf3e71a38b36e8c34.pack
Normal file
Двоичные данные
ext/libmemcached-src/.bzr/repository/packs/0cc6dfda3f05b2bcf3e71a38b36e8c34.pack
Normal file
Двоичный файл не отображается.
|
@ -0,0 +1,173 @@
|
|||
INSTALL
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
libtool
|
||||
clients/.deps
|
||||
clients/.libs
|
||||
clients/Makefile
|
||||
clients/Makefile.in
|
||||
clients/memcat
|
||||
clients/memcp
|
||||
clients/memdump
|
||||
clients/memerror
|
||||
clients/memflush
|
||||
clients/memrm
|
||||
clients/memslap
|
||||
clients/memstat
|
||||
config/config.guess
|
||||
config/config.sub
|
||||
config/depcomp
|
||||
config/install-sh
|
||||
config/ltmain.sh
|
||||
config/missing
|
||||
docs/Makefile
|
||||
docs/Makefile.in
|
||||
docs/libmemcached.3
|
||||
docs/libmemcached_examples.3
|
||||
docs/libmemcachedutil.3
|
||||
docs/memcached_add.3
|
||||
docs/memcached_add_by_key.3
|
||||
docs/memcached_analyze.3
|
||||
docs/memcached_append.3
|
||||
docs/memcached_append_by_key.3
|
||||
docs/memcached_behavior_get.3
|
||||
docs/memcached_behavior_set.3
|
||||
docs/memcached_callback_get.3
|
||||
docs/memcached_callback_set.3
|
||||
docs/memcached_cas.3
|
||||
docs/memcached_cas_by_key.3
|
||||
docs/memcached_clone.3
|
||||
docs/memcached_create.3
|
||||
docs/memcached_decrement.3
|
||||
docs/memcached_decrement_with_initial.3
|
||||
docs/memcached_delete.3
|
||||
docs/memcached_delete_by_key.3
|
||||
docs/memcached_dump.3
|
||||
docs/memcached_fetch.3
|
||||
docs/memcached_fetch_execute.3
|
||||
docs/memcached_fetch_result.3
|
||||
docs/memcached_flush_buffers.3
|
||||
docs/memcached_free.3
|
||||
docs/memcached_generate_hash_value.3
|
||||
docs/memcached_get.3
|
||||
docs/memcached_get_by_key.3
|
||||
docs/memcached_increment.3
|
||||
docs/memcached_increment_with_initial.3
|
||||
docs/memcached_lib_version.3
|
||||
docs/memcached_mget.3
|
||||
docs/memcached_mget_by_key.3
|
||||
docs/memcached_pool_create.3
|
||||
docs/memcached_pool_destroy.3
|
||||
docs/memcached_pool_pop.3
|
||||
docs/memcached_pool_push.3
|
||||
docs/memcached_prepend.3
|
||||
docs/memcached_prepend_by_key.3
|
||||
docs/memcached_quit.3
|
||||
docs/memcached_replace.3
|
||||
docs/memcached_replace_by_key.3
|
||||
docs/memcached_server_add.3
|
||||
docs/memcached_server_count.3
|
||||
docs/memcached_server_list.3
|
||||
docs/memcached_server_list_append.3
|
||||
docs/memcached_server_list_count.3
|
||||
docs/memcached_server_list_free.3
|
||||
docs/memcached_server_push.3
|
||||
docs/memcached_servers_parse.3
|
||||
docs/memcached_set.3
|
||||
docs/memcached_set_by_key.3
|
||||
docs/memcached_stat.3
|
||||
docs/memcached_stat_get_keys.3
|
||||
docs/memcached_stat_get_value.3
|
||||
docs/memcached_stat_servername.3
|
||||
docs/memcached_strerror.3
|
||||
docs/memcached_verbosity.3
|
||||
docs/memcached_version.3
|
||||
docs/memcat.1
|
||||
docs/memcp.1
|
||||
docs/memdump.1
|
||||
docs/memerror.1
|
||||
docs/memflush.1
|
||||
docs/memrm.1
|
||||
docs/memslap.1
|
||||
docs/memstat.1
|
||||
docs/memcached_set_memory_allocators.3
|
||||
docs/memcached_get_memory_allocators.3
|
||||
docs/memcached_set_user_data.3
|
||||
docs/memcached_get_user_data.3
|
||||
libmemcached/.deps
|
||||
libmemcached/.libs
|
||||
libmemcached/Makefile
|
||||
libmemcached/Makefile.in
|
||||
libmemcached/byteorder.lo
|
||||
libmemcached/crc.lo
|
||||
libmemcached/jenkins_hash.lo
|
||||
libmemcached/libmemcached.la
|
||||
libmemcached/libmemcached_config.h
|
||||
libmemcached/libmemcached_config.h.in
|
||||
libmemcached/memcached_configure.h
|
||||
libmemcached/md5.lo
|
||||
libmemcached/memcached.lo
|
||||
libmemcached/memcached_analyze.lo
|
||||
libmemcached/memcached_auto.lo
|
||||
libmemcached/memcached_behavior.lo
|
||||
libmemcached/memcached_callback.lo
|
||||
libmemcached/memcached_connect.lo
|
||||
libmemcached/memcached_delete.lo
|
||||
libmemcached/memcached_do.lo
|
||||
libmemcached/memcached_dump.lo
|
||||
libmemcached/memcached_fetch.lo
|
||||
libmemcached/memcached_flush.lo
|
||||
libmemcached/memcached_flush_buffers.lo
|
||||
libmemcached/memcached_get.lo
|
||||
libmemcached/memcached_hash.lo
|
||||
libmemcached/memcached_hosts.lo
|
||||
libmemcached/memcached_io.lo
|
||||
libmemcached/memcached_key.lo
|
||||
libmemcached/memcached_parse.lo
|
||||
libmemcached/memcached_purge.lo
|
||||
libmemcached/memcached_quit.lo
|
||||
libmemcached/memcached_response.lo
|
||||
libmemcached/memcached_result.lo
|
||||
libmemcached/memcached_server.lo
|
||||
libmemcached/memcached_stats.lo
|
||||
libmemcached/memcached_storage.lo
|
||||
libmemcached/memcached_strerror.lo
|
||||
libmemcached/memcached_string.lo
|
||||
libmemcached/memcached_verbosity.lo
|
||||
libmemcached/memcached_version.lo
|
||||
libmemcached/murmur_hash.lo
|
||||
libmemcached/stamp-h1
|
||||
libmemcachedutil/.deps
|
||||
libmemcachedutil/.libs
|
||||
libmemcachedutil/Makefile
|
||||
libmemcachedutil/Makefile.in
|
||||
libmemcachedutil/libmemcachedutil.la
|
||||
libmemcachedutil/memcached_pool.lo
|
||||
support/Makefile
|
||||
support/Makefile.in
|
||||
support/libmemcached-fc.spec
|
||||
support/libmemcached.pc
|
||||
support/libmemcached.spec
|
||||
tests/.deps
|
||||
tests/.libs
|
||||
tests/Makefile
|
||||
tests/Makefile.in
|
||||
tests/atomsmasher
|
||||
tests/output.cmp
|
||||
tests/startservers
|
||||
tests/testapp
|
||||
tests/testplus
|
||||
tests/udptest
|
||||
lt~obsolete.m4
|
||||
ltoptions.m4
|
||||
ltsugar.m4
|
||||
ltversion.m4
|
||||
libtool.m4
|
||||
TAGS
|
||||
*TAGS
|
||||
*.lo
|
|
@ -0,0 +1,87 @@
|
|||
# Exact paths to config junk
|
||||
^INSTALL$
|
||||
^aclocal.m4$
|
||||
^configure$
|
||||
^config/(config.guess|config.sub|depcomp|install-sh|ltmain.sh|missing)$
|
||||
^config.(log|status)$
|
||||
^libtool$
|
||||
^autom4te.cache$
|
||||
^libmemcached/(libmemcached_config.h(.in)?|stamp-h1)$
|
||||
^libmemcached/libmemcached_config.h.in$
|
||||
^stamp-h1$
|
||||
^lib/libmemcachedPlus.la$
|
||||
^tests/testplus$
|
||||
|
||||
# Don't bother with TAGS files
|
||||
TAGS
|
||||
clients/TAGS
|
||||
clients/memdump
|
||||
libmemcached/TAGS
|
||||
libmemcachedutil/TAGS
|
||||
tests/TAGS
|
||||
|
||||
|
||||
|
||||
# Build artifacts
|
||||
^libmemcached/libmemcached.la$
|
||||
^libmemcachedutil/libmemcachedutil.la$
|
||||
^clients/mem(cat|cp|flush|rm|slap|stat|error)$
|
||||
^tests/testapp$
|
||||
.(deps|libs)/*$
|
||||
.cmp$
|
||||
autom4te.cache/*$
|
||||
.(gz|cmp|tar|rpm|srpm)$
|
||||
support/libmemcached.pc$
|
||||
support/libmemcached.spec$
|
||||
support/libmemcached-fc.spec$
|
||||
docs/pod2htmd.tmp
|
||||
docs/pod2htmi.tmp
|
||||
libmemcached/memcachedplus.loT
|
||||
tests/atomsmasher
|
||||
tests/startservers
|
||||
tests/stopservers
|
||||
tests/udptest
|
||||
^libmemcached/dtrace_probes.h$
|
||||
^tests/core$
|
||||
|
||||
Makefile(.in)?$
|
||||
.(deps|libs)$
|
||||
\.l?o$
|
||||
|
||||
# Generated man files
|
||||
\.1$
|
||||
\.3$
|
||||
|
||||
# Merged files
|
||||
\.orig$
|
||||
|
||||
#HTML files
|
||||
docs/libmemcached/default.css
|
||||
docs/libmemcached/memcached.html
|
||||
docs/libmemcached/memcached_auto.html
|
||||
docs/libmemcached/memcached_behavior.html
|
||||
docs/libmemcached/memcached_callback.html
|
||||
docs/libmemcached/memcached_create.html
|
||||
docs/libmemcached/memcached_delete.html
|
||||
docs/libmemcached/memcached_examples.html
|
||||
docs/libmemcached/memcached_flush.html
|
||||
docs/libmemcached/memcached_get.html
|
||||
docs/libmemcached/memcached_quit.html
|
||||
docs/libmemcached/memcached_result_st.html
|
||||
docs/libmemcached/memcached_server_st.html
|
||||
docs/libmemcached/memcached_servers.html
|
||||
docs/libmemcached/memcached_set.html
|
||||
docs/libmemcached/memcached_stats.html
|
||||
docs/libmemcached/memcached_strerror.html
|
||||
docs/libmemcached/memcached_verbosity.html
|
||||
docs/libmemcached/memcached_version.html
|
||||
docs/libmemcached/memcat.html
|
||||
docs/libmemcached/memcp.html
|
||||
docs/libmemcached/memerror.html
|
||||
docs/libmemcached/memflush.html
|
||||
docs/libmemcached/memrm.html
|
||||
docs/libmemcached/memslap.html
|
||||
docs/libmemcached/memstat.html
|
||||
|
||||
# Backup files created by emacs
|
||||
.*~$
|
|
@ -0,0 +1,7 @@
|
|||
Brian Aker, brian@tangent.org -- Client Library, Tools
|
||||
Mark Atwood, -- Tools, Docs
|
||||
Patrick Galbraith, -- C++ Interface
|
||||
Tim Bunce, -- Docs
|
||||
Trond Norbye, trond.norbye@sun.com -- Binary protocol, Misc
|
||||
Yin Chen, -- Ketama Work
|
||||
Toru Maesaka, dev@torum.net -- Stats analysis
|
|
@ -0,0 +1,32 @@
|
|||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2007, TangentOrg (Brian Aker)
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
* Neither the name of TangentOrg nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,300 @@
|
|||
* Added Twitter's memcached_server_error() functions.
|
||||
* Fix for OSX compiles in development builds.
|
||||
* Updated C++ interface.
|
||||
* Updated memcached_mget and memcached_mget_by_key to take a size_t
|
||||
as a parameter instead of an unsigned int for number_of_keys.
|
||||
|
||||
0.31 Fri Jul 10 09:02:50 PDT 2009
|
||||
* Added support or HA via replication.
|
||||
* malloc() removed for server key usage.
|
||||
* Update build system.
|
||||
* Added support for memcached_set_memory_allocators().
|
||||
* Fixed bug in configure.ac for have_htoll.
|
||||
|
||||
0.30 Sun May 31 17:31:52 PDT 2009
|
||||
* Added memcachd_dump command (and framework for memdump tool).
|
||||
* Realigned all structures to remove padding (and line up important bits for 64bit caches.
|
||||
* Remove some of sprintf() in storage calls().
|
||||
* Removed printf() in stat call for unknown stat member.
|
||||
* memcached_generate_hash() function added.
|
||||
* Added tests to make sure all hash functions are stable.
|
||||
|
||||
0.29 Tue May 19 08:26:48 PDT 2009
|
||||
* Fixed malloc usage to calloc for spots where we need zero filled memory.
|
||||
* All code warnings now treated as errors.
|
||||
* Fixes for debian packaging.
|
||||
* Added new pooling mechanism.
|
||||
* MEMCACHED_BEHAVIOR_NO_BLOCK no longer also sets MEMCACHED_BEHAVIOR_BUFFER_REQUESTS.
|
||||
* Updated generic rpm.
|
||||
|
||||
0.28 Tue Apr 14 18:56:28 PDT 2009
|
||||
* Fixed bug in init sructure (reapplied)
|
||||
* Fixed bug in get/set by key (nikkhils@gmail.com)
|
||||
|
||||
0.27 Sun Mar 29 22:33:01 PDT 2009
|
||||
* Added new UDP fire-forget mode.
|
||||
* Reworked performance for mget() to better make use of async protocol
|
||||
* Cleaned up execution of fetch (just one set of code now)
|
||||
* Fixed Jenkin's for big endian hosts.
|
||||
* Updates for memstat to determine network latency.
|
||||
* Updates for binary protocol.
|
||||
* Many updates to documentation.
|
||||
|
||||
0.26 Thu Jan 29 13:05:50 PST 2009
|
||||
* Fix for decrement on hash key
|
||||
* Fixed assert that was catching bad memset() call in host_reset()
|
||||
* Fix purge issue for blocked IO which has been stacked.
|
||||
|
||||
0.25 Fri Nov 28 09:59:35 PST 2008
|
||||
* Jenkins HASH added.
|
||||
* Update of Murmur hash code
|
||||
* Support explicit weights (Robey Pointer, Evan Weaver)
|
||||
* Bugfix for ketama continuum (Robey Pointer)
|
||||
* New behavior MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY (Robey Pointer)
|
||||
* Don't ever call stats for weighting servers, because it is unstable.
|
||||
|
||||
0.24 Tue Sep 16 02:59:03 PDT 2008 (never released)
|
||||
* Cleanup compile warnings.
|
||||
* Fix issues in partitioning by keys.
|
||||
* Fixed "fail case" to make sure when calling memcached_clone() no
|
||||
memcached_st is over written.
|
||||
* New memcached_server_by_key() method for finding a server from
|
||||
a key.
|
||||
* memcached_server_free() was added for freeing server structures.
|
||||
|
||||
|
||||
0.23 Sun Sep 7 08:13:59 PDT 2008
|
||||
* Added strings.h header for Solaris 9
|
||||
* Solaris 64bit fix.
|
||||
* Support for weighted Ketama from Yin Chen.
|
||||
* Fix for Chinese
|
||||
* Fix for 0 length key to trigger bad key.
|
||||
* Added behaviors MEMCACHED_BEHAVIOR_SND_TIMEOUT, MEMCACHED_BEHAVIOR_RCV_TIMEOUT
|
||||
* Support for Binary Protocol added
|
||||
|
||||
0.22 Mon Jul 14 09:24:11 PDT 2008
|
||||
* Fix where master key was no being checked for "bad key"
|
||||
* Fixed bugs in stats output (thread output was wrong)
|
||||
* Clarified MEMCACHED_BAD_KEY_PROVIDED is return for bad prefix key.
|
||||
* Found a bug in Flags return (Jacek Ostrowski)
|
||||
* Fixed issue with compiling on Visual Studio
|
||||
|
||||
0.21 Fri May 23 18:34:09 PDT 2008
|
||||
* Change of char * to const char * for all key based functions.
|
||||
* New MEMCACHED_CALLBACK_PREFIX_KEY added. You can now create domains for
|
||||
values.
|
||||
* Fixed bug introducd in last version on memcp
|
||||
* Fix for death of file io to call shutdown()
|
||||
|
||||
0.20 Mon May 5 08:34:26 PDT 2008
|
||||
* New consistent distribution tests.
|
||||
* Found a memory leak when a server constantly fails.
|
||||
* Fix in watchpoint macro
|
||||
* Changed default timeout to 1 second for poll timeouts
|
||||
* Wheel uses less memory/dynamic allocation for size (no longer limited to
|
||||
512 hosts by default.
|
||||
* memslap memory leak fix
|
||||
* Added Ketama distribution
|
||||
* Fix assert.h compile problem on CentOS
|
||||
|
||||
0.19 Wed Apr 9 09:30:53 PDT 2008
|
||||
* Documentation fix in libmemcached.
|
||||
* Fixed bug where sort was always occuring on hosts
|
||||
* Logic fix in branch prediction (thanks Jay!)
|
||||
* Read through cached support.
|
||||
* Fixed for cas by key operation.
|
||||
* Fix for memcached_server_st list structures to have correct count.
|
||||
* Added callback MEMCACHED_CALLBACK_DELETE_TRIGGER
|
||||
* Removed function call in favor of macro (aka cut out some instructions)
|
||||
|
||||
|
||||
0.18 Sun Mar 16 21:57:55 PDT 2008
|
||||
* Fix plus tests for non-zero value objects and flags.
|
||||
* MEMCACHED_HASH_MURMUR added for murmur algorithm provided.
|
||||
* MEMCACHED_BEHAVIOR_RETRY_TIMEOUT added to keep connecting from looping
|
||||
on timeout.
|
||||
* gcc branch prediction optimizations
|
||||
* Refactored entire tree to make include files cleaner
|
||||
* Fixed leaked socket.
|
||||
|
||||
0.17 Wed Feb 27 03:33:29 PST 2008
|
||||
* MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT added for connect timeout in
|
||||
non-block mode.
|
||||
* Incompatible change in memcached_behavior_set() api. We now use a
|
||||
uint64_t, instead of a pointer.
|
||||
* Fix for storage of values for zero.
|
||||
* memcached_server_cursor() function added to API for cycling through servers.
|
||||
|
||||
0.16 Mon Feb 18 00:30:25 PST 2008
|
||||
* Work on the UDP protocol
|
||||
* Added get_by_key, set_by_key tests for C++ API
|
||||
* Fix for limit_maxbytes to be 64bit in stats
|
||||
* Added Atom Smasher test (scale baby, scale!)
|
||||
* Servers are now sorted, meaning that servers are now ordered so that
|
||||
clients with the same lists, will have same distribution. (Idea from
|
||||
Ross McFarland). MEMCACHED_BEHAVIOR_SORT_HOSTS was added to enable
|
||||
this support.
|
||||
* Added MEMCACHED_BAD_KEY_PROVIDED error for auto, set, and get operations.
|
||||
MEMCACHED_BEHAVIOR_VERIFY_KEY was added to enable this feature.
|
||||
* More error messages on command line tools.
|
||||
* Fixed bugs in memcached_cas() operator.
|
||||
* Fix to loop through interfaces
|
||||
|
||||
0.15 Tue Jan 29 14:55:44 PST 2008
|
||||
* More work on the C++ API.
|
||||
* Bug fixes around block corner cases.
|
||||
* Slight performance increase in both read() and write().
|
||||
|
||||
0.14 Tue Jan 22 06:21:49 PST 2008
|
||||
* For for bug found by Evan Weaver where increment() was not returning
|
||||
propper error of value was not found.
|
||||
* Fix for bad null pointer on flag by Toru Maesaka.
|
||||
* Refactor of all IO to just pass in the active server
|
||||
* Problem configuring (PKG_CHECK_MODULES) fixed by removal of "rpath" in
|
||||
support/libmemcached.pc.in (Thanks to Ross McFarland).
|
||||
* Added memcached_callback_get()/set()
|
||||
* First prototype of C++ interface
|
||||
* Updated docs for uint16_t changes in previous release
|
||||
|
||||
0.13 Sun Jan 13 06:51:50 PST 2008
|
||||
* MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
|
||||
* Fix for failure to connect to invalidate socket.
|
||||
* Patch from Marc Rossi to add --hash option for memcp, memrm, and memcat.
|
||||
* Kevin's patch for fixing EOF issues during a read.
|
||||
* Toru Maesaka patch for stats mismatch
|
||||
* Fix for when CRC return 0
|
||||
* Fixed uint16_t issues around flags. Turns out the documentation on the
|
||||
protocol was wrong.
|
||||
* Lingering socket fixes for FreeBSD.
|
||||
* Patches from Kevin Dalley for FreeBSD 4.0
|
||||
* Added multi delete functions.
|
||||
* All get key returns have C style null termination
|
||||
* If memcached_server_list_append is passed NULLs instead of pointers it
|
||||
returns NULL.
|
||||
* Added memcached_fetch_execute() method
|
||||
* Found a bug where memcached_fetch() was not null terminating the result
|
||||
value.
|
||||
* memcached_behavior() now has the ability to set "buffering" so that
|
||||
data is not automatically flushed.
|
||||
* Behavior change, buffered commands now return MEMCACHED_BUFFERED
|
||||
|
||||
0.12 Tue Dec 11 15:20:55 PST 2007
|
||||
* Updates for consistent hashing
|
||||
* IPV6 support
|
||||
* Static allocation for hostname (performance)
|
||||
* Fixed bug where in non-block mode all data might not have been sent on
|
||||
close().
|
||||
* Refactor of memcached_get() to use common code.
|
||||
* Change in value fetch, MEMCACHED_END is now returned when keys are no
|
||||
longer in the pipe.
|
||||
* Fixed bug where key could be out of range of characters
|
||||
* Added _by_key() methods to allow partitioning of values to particular
|
||||
servers.
|
||||
* MEMCACHED_DEFAILT_TIMEOUT is now set to a non -1 value.
|
||||
* Performance improvements in get operations.
|
||||
|
||||
0.11 Mon Nov 26 01:05:52 PST 2007
|
||||
* Added option to memcache_behavior_set() so that poll() can be timed out.
|
||||
* Fixed memory leak in case of using memcached_fetch_result() where no
|
||||
value was returned.
|
||||
* Bug fixed in memcached_connect() which would cause servers that
|
||||
did not need to be enabled to be enabled (performance issue).
|
||||
* Rewrote bounds checking code for get calls.
|
||||
* "make test" now starts its own memcached servers.
|
||||
* Added Hseih hash (MEMCACHED_HASH_HSIEH), which is showing about 7%
|
||||
performance over standard hash.
|
||||
|
||||
0.10 Tue Nov 20 23:22:31 PST 2007
|
||||
* Added append binary test.
|
||||
* Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS behavior so that you can save on
|
||||
multiple DNS lookups.
|
||||
* Added CAS support, though this is optional and must be enabled during
|
||||
runtime.
|
||||
* Added the utility memerror to create human readable error strings
|
||||
from memcached errors (aka convert ints to strings)
|
||||
* Fixed type in MEMCACHED_HOST_LOOKUP_FAILURE
|
||||
* Fixed bug where hostname might not be null terminated
|
||||
* Moved to using gethostbyname_r() on Linux to solve thread safety issue
|
||||
* Added -rpath support for pkg-config
|
||||
* Documentation fix for hash setting using memcached_behavior_set()
|
||||
|
||||
0.9 Thu Nov 15 07:44:00 PST 2007
|
||||
* fix for when no servers are definied.
|
||||
* different buffers are now kept for different connections to
|
||||
speed up async efforts
|
||||
* Modified increment/decrement functions to return uint64_t values
|
||||
* Fixed bug in cases where zero length keys were provided
|
||||
* Thread cleanup issue in memslap
|
||||
* No hostname lookup on reconnect
|
||||
* Fix for flag settings (was doing hex by accident!)
|
||||
* Support for 1.2.4 server additions "prepend" and "append" added.
|
||||
* Added memcached_version()... not sure if I will make this public
|
||||
or not.
|
||||
|
||||
0.8 Mon Nov 5 10:40:41 PST 2007
|
||||
* Adding support for CRC hash method
|
||||
* Adding support for UNIX sockets
|
||||
* Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
|
||||
* Added pkgconfig support (PKG_CHECK_MODULES)
|
||||
* Fixed conflict with defined type in MySQL
|
||||
* Added memcached_result_st structure and functions to manipulate it.
|
||||
|
||||
0.7 Tue Oct 30 09:24:05 PDT 2007
|
||||
* Poved to poll() from select()
|
||||
* Fixes in internal string class for allocation of large numbers of
|
||||
strings.
|
||||
* memcached_mget() function now sends keys as it parses them instead of
|
||||
building strings as it goes.
|
||||
* Propper flush now for making sure we get all IO sent even when in
|
||||
non-block mode.
|
||||
* Added --enable-debug rule for configure
|
||||
* All asserts() removed (hey this is going into production!)
|
||||
|
||||
|
||||
0.6 Wed Oct 17 08:41:35 PDT 2007
|
||||
* get value returns are now null terminated (request by Cal Heldenbrand)
|
||||
* Fixed connections for more hosts then two.
|
||||
* Rewrite of the read/write IO systems to handle different sorts of host
|
||||
failures.
|
||||
* Added man pages for all functions and tools
|
||||
* Raised buffer size for readinng/writing to 16K
|
||||
* You can now optionally set the socket size for recv/send via
|
||||
memached_behavior_set/get.
|
||||
|
||||
0.5 Tue Oct 9 00:22:25 PDT 2007
|
||||
* Ruby maintainer mentioned TCP_NODELAY patch he had added. Added this to C
|
||||
library as well. (Eric Hodel drbrain@segment7.net)
|
||||
* Added support script for set_benchmark
|
||||
* Updated memslap to allow testing of TCP_NODELAY
|
||||
* Updated memslap to support --flush (aka dump memcache servers before
|
||||
testing)
|
||||
* Fixed bug in multiple hosts not being activated
|
||||
* Added environmental variable MEMCACHED_SERVERS which can be used to
|
||||
set the servers list.
|
||||
* fixed memcached_stat method (and now memstat works)
|
||||
* server connect now happens on demand.
|
||||
* Help for all command line applications
|
||||
|
||||
0.4 Wed Oct 3 10:28:50 PDT 2007
|
||||
* Added buffered IO to write calls for keys
|
||||
* Added buffered IO for reads
|
||||
* memstat was broken (bad if/else on connect)
|
||||
* New non-blocking IO (not default yet). Mucho faster
|
||||
* Refactor of test system.
|
||||
* memslap crash solved
|
||||
|
||||
0.3 Mon Oct 1 06:37:52 PDT 2007
|
||||
* Jeff Fisher <guppy@techmonkeys.org> provided a spec file
|
||||
* Added "make rpm" around dist file
|
||||
* Added support for Solaris
|
||||
* Added support for DTrace
|
||||
* Fixed read to be recv and write to be send
|
||||
* Bug fix where memstat would core if no server was found
|
||||
* Added memslap tool (load generator)
|
||||
* Numerous bug fixes in library
|
||||
* Added calls to library for creating host lists (see
|
||||
text cases to understand how to use this).
|
||||
|
||||
0.2 Thu Sep 27 03:46:57 PDT 2007
|
||||
* First public version
|
||||
|
|
@ -0,0 +1,237 @@
|
|||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||
2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
6. Often, you can also type `make uninstall' to remove the installed
|
||||
files again.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that the
|
||||
`configure' script does not know about. Run `./configure --help' for
|
||||
details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out automatically,
|
||||
but needs to determine by the type of machine the package will run on.
|
||||
Usually, assuming the package is built to be run on the _same_
|
||||
architectures, `configure' can figure that out, but if it prints a
|
||||
message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share, you
|
||||
can create a site shell script called `config.site' that gives default
|
||||
values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
|
|
@ -0,0 +1,730 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/libmemcached
|
||||
pkglibdir = $(libdir)/libmemcached
|
||||
pkgincludedir = $(includedir)/libmemcached
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = i386-apple-darwin9.7.0
|
||||
host_triplet = i386-apple-darwin9.7.0
|
||||
target_triplet = i386-apple-darwin9.7.0
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
||||
THANKS TODO config/compile config/config.guess \
|
||||
config/config.sub config/depcomp config/install-sh \
|
||||
config/ltmain.sh config/missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run aclocal-1.10
|
||||
AMTAR = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run tar
|
||||
AM_CFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings
|
||||
AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -ggdb3
|
||||
AM_CXXFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Weffc++ -Wold-style-cast -Wno-redundant-decls
|
||||
AR = ar
|
||||
AUTOCONF = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run automake-1.10
|
||||
AWK = gawk
|
||||
BETTER_MALLOC_LIBS =
|
||||
CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CC_VERSION = i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CFLAGS = -D_THREAD_SAFE
|
||||
CFLAG_VISIBILITY = -fvisibility=hidden
|
||||
CPP = /usr/bin/gcc-4.2 -E
|
||||
CPPFLAGS = -I/opt/local/include
|
||||
CXX = /usr/bin/g++-4.2
|
||||
CXXCPP = /usr/bin/g++-4.2 -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -std=gnu++98
|
||||
CXX_VERSION = i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DEPRECATED =
|
||||
DOXYGEN =
|
||||
DSYMUTIL = dsymutil
|
||||
DTRACE =
|
||||
DTRACEFLAGS =
|
||||
ECHO = /bin/echo
|
||||
ECHO_C = \c
|
||||
ECHO_N =
|
||||
ECHO_T =
|
||||
EGREP = /usr/bin/grep -E
|
||||
EXEEXT =
|
||||
F77 =
|
||||
FFLAGS =
|
||||
GREP = /usr/bin/grep
|
||||
HAVE_VISIBILITY = 1
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
ISAINFO = no
|
||||
LDFLAGS = -L/opt/local/lib
|
||||
LD_UTIL_VERSION_SCRIPT =
|
||||
LD_VERSION_SCRIPT =
|
||||
LIBC_P =
|
||||
LIBM =
|
||||
LIBOBJS =
|
||||
LIBS =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run makeinfo
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = 0:0:0
|
||||
MEMCACHED_LIBRARY_VERSION = 2:0:0
|
||||
MEMC_BINARY = /opt/local/bin/memcached
|
||||
MKDIR_P = config/install-sh -c -d
|
||||
NMEDIT = nmedit
|
||||
NO_CONVERSION =
|
||||
NO_REDUNDANT_DECLS = -Wno-redundant-decls
|
||||
NO_SHADOW = -Wno-shadow
|
||||
NO_STRICT_ALIASING = -fno-strict-aliasing -Wno-strict-aliasing
|
||||
NO_UNREACHED =
|
||||
OBJEXT = o
|
||||
PACKAGE = libmemcached
|
||||
PACKAGE_BUGREPORT = http://tangent.org/552/libmemcached.html
|
||||
PACKAGE_NAME = libmemcached
|
||||
PACKAGE_STRING = libmemcached 0.31
|
||||
PACKAGE_TARNAME = libmemcached
|
||||
PACKAGE_VERSION = 0.31
|
||||
PATH_SEPARATOR = :
|
||||
PERL = perl
|
||||
POD2MAN = /opt/local/bin/pod2man
|
||||
PROTOSKIP_WARNINGS = -Wno-effc++ -Wno-shadow
|
||||
PTHREAD_CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
PTHREAD_CFLAGS = -D_THREAD_SAFE
|
||||
PTHREAD_LIBS =
|
||||
RANLIB = ranlib
|
||||
SED = /opt/local/bin/gsed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
VERSION = 0.31
|
||||
abs_builddir = /Users/eweaver/p/fauna/libmemcached
|
||||
abs_srcdir = /Users/eweaver/p/fauna/libmemcached
|
||||
abs_top_builddir = /Users/eweaver/p/fauna/libmemcached
|
||||
abs_top_srcdir = /Users/eweaver/p/fauna/libmemcached
|
||||
ac_ct_CC = gcc
|
||||
ac_ct_CXX =
|
||||
ac_ct_F77 =
|
||||
acx_pthread_config =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i386-apple-darwin9.7.0
|
||||
build_alias =
|
||||
build_cpu = i386
|
||||
build_os = darwin9.7.0
|
||||
build_vendor = apple
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host = i386-apple-darwin9.7.0
|
||||
host_alias =
|
||||
host_cpu = i386
|
||||
host_os = darwin9.7.0
|
||||
host_vendor = apple
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = $(SHELL) /Users/eweaver/p/fauna/libmemcached/config/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = $(top_builddir)/config/install-sh -c -d
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix = /opt/local
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
sysconfdir = ${prefix}/etc
|
||||
target = i386-apple-darwin9.7.0
|
||||
target_alias =
|
||||
target_cpu = i386
|
||||
target_os = darwin9.7.0
|
||||
target_vendor = apple
|
||||
top_build_prefix =
|
||||
top_builddir = .
|
||||
top_srcdir = .
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = docs libmemcached libmemcachedutil support clients tests
|
||||
EXTRA_dist = README.FIRST
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d $(distdir) || mkdir $(distdir)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$top_distdir" \
|
||||
distdir="$$distdir/$$subdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
||||
install-strip
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am check-local clean \
|
||||
clean-generic clean-libtool ctags ctags-recursive dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
|
||||
dist-zip distcheck distclean distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-recursive uninstall uninstall-am
|
||||
|
||||
|
||||
check-local: test-no-outputdiff
|
||||
|
||||
test: all
|
||||
@(cd tests; ${MAKE} test)
|
||||
|
||||
test-extended: all
|
||||
@(cd tests; ${MAKE} test-extended)
|
||||
|
||||
valgrind:
|
||||
@(cd tests; ${MAKE} valgrind)
|
||||
|
||||
test-no-outputdiff:
|
||||
@(cd tests; ${MAKE} test-no-outputdiff)
|
||||
|
||||
fedora:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
generic:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
rpm: all dist generic fedora
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,36 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = docs libmemcached libmemcachedutil support clients tests
|
||||
EXTRA_dist = README.FIRST
|
||||
|
||||
check-local: test-no-outputdiff
|
||||
|
||||
test: all
|
||||
@(cd tests; ${MAKE} test)
|
||||
|
||||
test-extended: all
|
||||
@(cd tests; ${MAKE} test-extended)
|
||||
|
||||
valgrind:
|
||||
@(cd tests; ${MAKE} valgrind)
|
||||
|
||||
test-no-outputdiff:
|
||||
@(cd tests; ${MAKE} test-no-outputdiff)
|
||||
|
||||
fedora:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
generic:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
rpm: all dist generic fedora
|
|
@ -0,0 +1,730 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
||||
THANKS TODO config/compile config/config.guess \
|
||||
config/config.sub config/depcomp config/install-sh \
|
||||
config/ltmain.sh config/missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_CFLAGS = @AM_CFLAGS@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@
|
||||
AM_CXXFLAGS = @AM_CXXFLAGS@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BETTER_MALLOC_LIBS = @BETTER_MALLOC_LIBS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CC_VERSION = @CC_VERSION@
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXX_VERSION = @CXX_VERSION@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DEPRECATED = @DEPRECATED@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DTRACE = @DTRACE@
|
||||
DTRACEFLAGS = @DTRACEFLAGS@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
HAVE_VISIBILITY = @HAVE_VISIBILITY@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
ISAINFO = @ISAINFO@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LD_UTIL_VERSION_SCRIPT = @LD_UTIL_VERSION_SCRIPT@
|
||||
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
|
||||
LIBC_P = @LIBC_P@
|
||||
LIBM = @LIBM@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@
|
||||
MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@
|
||||
MEMC_BINARY = @MEMC_BINARY@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NMEDIT = @NMEDIT@
|
||||
NO_CONVERSION = @NO_CONVERSION@
|
||||
NO_REDUNDANT_DECLS = @NO_REDUNDANT_DECLS@
|
||||
NO_SHADOW = @NO_SHADOW@
|
||||
NO_STRICT_ALIASING = @NO_STRICT_ALIASING@
|
||||
NO_UNREACHED = @NO_UNREACHED@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
POD2MAN = @POD2MAN@
|
||||
PROTOSKIP_WARNINGS = @PROTOSKIP_WARNINGS@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
acx_pthread_config = @acx_pthread_config@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = docs libmemcached libmemcachedutil support clients tests
|
||||
EXTRA_dist = README.FIRST
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d $(distdir) || mkdir $(distdir)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
distdir=`$(am__cd) $(distdir) && pwd`; \
|
||||
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$top_distdir" \
|
||||
distdir="$$distdir/$$subdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
||||
install-strip
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am check-local clean \
|
||||
clean-generic clean-libtool ctags ctags-recursive dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
|
||||
dist-zip distcheck distclean distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-recursive uninstall uninstall-am
|
||||
|
||||
|
||||
check-local: test-no-outputdiff
|
||||
|
||||
test: all
|
||||
@(cd tests; ${MAKE} test)
|
||||
|
||||
test-extended: all
|
||||
@(cd tests; ${MAKE} test-extended)
|
||||
|
||||
valgrind:
|
||||
@(cd tests; ${MAKE} valgrind)
|
||||
|
||||
test-no-outputdiff:
|
||||
@(cd tests; ${MAKE} test-no-outputdiff)
|
||||
|
||||
fedora:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
generic:
|
||||
rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
|
||||
rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
|
||||
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
|
||||
rpmbuild -ba support/libmemcached.spec
|
||||
cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
|
||||
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
|
||||
|
||||
rpm: all dist generic fedora
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1 @@
|
|||
See Changelog
|
|
@ -0,0 +1,33 @@
|
|||
Hi!
|
||||
|
||||
So what is this? It is a library in C for connecting to memcached servers
|
||||
(http://danga.com/memcached/). It is also a collection of utilities designed
|
||||
to work with memcached.
|
||||
|
||||
memcat - Copy the value of a key to standard output
|
||||
memflush - Flush the contents of your servers.
|
||||
memrm - Remove a key(s) from the server.
|
||||
memstat - Dump the stats of your servers to standard output
|
||||
memslap - Load generation utility (benchmark!)
|
||||
|
||||
The utilities are beta quality at this point. The library is in production
|
||||
in many locations (upwards to 1000+ nodes).
|
||||
|
||||
Want to contribute? If you write more then three good patches, then I will
|
||||
just ask you to commit directly to the tree. I am happy to have additional
|
||||
people work on this project. Please checkout README.FIRST.
|
||||
|
||||
You will need a C99 compiler in order to compile this library. Currently we
|
||||
actively support Linux, MacOSX, FreeBSD, and Solaris. A Windows port is
|
||||
currently not supported, but one is listed on the homepage that is supported
|
||||
by someone in the community.
|
||||
|
||||
If you are looking for answers to your questions please check out the
|
||||
mailing list at:
|
||||
http://lists.tangent.org/
|
||||
|
||||
Subscription information for the libmemcached mailing list can be found there.
|
||||
|
||||
Cheers,
|
||||
-Brian Aker
|
||||
Seattle, WA.
|
|
@ -0,0 +1,31 @@
|
|||
Hi!
|
||||
|
||||
If you are getting this code from http://launchpad.net/libmemcached then
|
||||
continue reading. Otherwise these directions are not for you (well maybe...).
|
||||
|
||||
To obtain code from http://bazaar.launchpad.net/libmemcached you will need to
|
||||
issue the following command:
|
||||
|
||||
bzr branch lp:libmemcached
|
||||
|
||||
Once the tree is cloned you will need to build the "configure" script. You
|
||||
can do this by running the script:
|
||||
|
||||
./config/autogen.sh
|
||||
|
||||
It will set up all of the files you need to build libmemcached. At that
|
||||
point it is just the typical "./configure; make; make test; make install"
|
||||
|
||||
For a tarball release do a "make dist" and for an RPM type "make rpm".
|
||||
|
||||
For patches, we prefer you push a branch to launchpad and then submit that
|
||||
branch to be merged. For more information, see:
|
||||
|
||||
https://help.launchpad.net/Code/UploadingABranch
|
||||
https://help.launchpad.net/Code/Review
|
||||
|
||||
Thanks and keep hacking!
|
||||
|
||||
Cheers,
|
||||
-Brian
|
||||
Seattle, WA.
|
|
@ -0,0 +1,14 @@
|
|||
(This is not complete, please send email if I have missed someone.)
|
||||
Eirik A. Nygaard - IO Patch
|
||||
Cal Heldenbrand - Awesome feedback on performance
|
||||
Dustin Sallings - Insight into protocol
|
||||
Tobias Luetke - Performance Feedback
|
||||
Andre Cruz - Help with getting the CRC Hash function to match other connectors
|
||||
Brian Pontz - Hsieh hash
|
||||
Tim Bunce - Perl Driver work and feedback on API
|
||||
Kevin Dalley - Bug Fixes
|
||||
Patrick Galbraith - work on C++ interface
|
||||
Ross McFarland - Idea for sorting servers.
|
||||
Marcelo Fernandez - TCP/IP timeout pieces
|
||||
Yin Chen - Ketama support/weighted support
|
||||
Monty Taylor - Debian Packages, Cleanup work for configure
|
|
@ -0,0 +1,11 @@
|
|||
- Write a shell application (?)
|
||||
- Fix version in command line tools
|
||||
- Write (more) test cases for all command line tools (!!!)
|
||||
- Write some sort of "default" options bit for tools
|
||||
- More examples using libraries
|
||||
- Doxygen?
|
||||
- implement more connection/hash algo
|
||||
- implement compression
|
||||
- Revisit get() code (look for performance enhancements)
|
||||
- Add support for managing servers for clusters.
|
||||
- Build embedded version
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,293 @@
|
|||
# This file was generated.
|
||||
# It contains the lists of macros which have been traced.
|
||||
# It can be safely removed.
|
||||
|
||||
@request = (
|
||||
bless( [
|
||||
'0',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/opt/local/share/aclocal/libtool.m4',
|
||||
'/opt/local/share/aclocal-1.10/amversion.m4',
|
||||
'/opt/local/share/aclocal-1.10/auxdir.m4',
|
||||
'/opt/local/share/aclocal-1.10/cond.m4',
|
||||
'/opt/local/share/aclocal-1.10/depend.m4',
|
||||
'/opt/local/share/aclocal-1.10/depout.m4',
|
||||
'/opt/local/share/aclocal-1.10/header.m4',
|
||||
'/opt/local/share/aclocal-1.10/init.m4',
|
||||
'/opt/local/share/aclocal-1.10/install-sh.m4',
|
||||
'/opt/local/share/aclocal-1.10/lead-dot.m4',
|
||||
'/opt/local/share/aclocal-1.10/make.m4',
|
||||
'/opt/local/share/aclocal-1.10/minuso.m4',
|
||||
'/opt/local/share/aclocal-1.10/missing.m4',
|
||||
'/opt/local/share/aclocal-1.10/mkdirp.m4',
|
||||
'/opt/local/share/aclocal-1.10/options.m4',
|
||||
'/opt/local/share/aclocal-1.10/runlog.m4',
|
||||
'/opt/local/share/aclocal-1.10/sanity.m4',
|
||||
'/opt/local/share/aclocal-1.10/strip.m4',
|
||||
'/opt/local/share/aclocal-1.10/substnot.m4',
|
||||
'/opt/local/share/aclocal-1.10/tar.m4',
|
||||
'm4/ac_cxx_compile_stdcxx_0x.m4',
|
||||
'm4/ac_cxx_header_stdcxx_98.m4',
|
||||
'm4/acx_pthread.m4',
|
||||
'm4/byteorder.m4',
|
||||
'm4/deprecated.m4',
|
||||
'm4/enable_utillib.m4',
|
||||
'm4/extensions.m4',
|
||||
'm4/hsieh.m4',
|
||||
'm4/lib-ld.m4',
|
||||
'm4/lib-link.m4',
|
||||
'm4/lib-prefix.m4',
|
||||
'm4/memcached.m4',
|
||||
'm4/pandora_64bit.m4',
|
||||
'm4/pandora_canonical.m4',
|
||||
'm4/pandora_check_compiler_version.m4',
|
||||
'm4/pandora_check_cxx_standard.m4',
|
||||
'm4/pandora_enable_dtrace.m4',
|
||||
'm4/pandora_ensure_gcc_version.m4',
|
||||
'm4/pandora_have_better_malloc.m4',
|
||||
'm4/pandora_header_assert.m4',
|
||||
'm4/pandora_libtool.m4',
|
||||
'm4/pandora_optimize.m4',
|
||||
'm4/pandora_shared_ptr.m4',
|
||||
'm4/pandora_vc_build.m4',
|
||||
'm4/pandora_warnings.m4',
|
||||
'm4/pod2man.m4',
|
||||
'm4/protocol_binary.m4',
|
||||
'm4/setsockopt.m4',
|
||||
'm4/visibility.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'PANDORA_CANONICAL_VERSION' => 1,
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LIB_RPATH' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'PANDORA_BUILDING_FROM_VC' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'AC_LIB_ARG_WITH' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AC_USE_SYSTEM_EXTENSIONS' => 1,
|
||||
'PANDORA_LIBTOOL' => 1,
|
||||
'AC_LIB_PREPARE_MULTILIB' => 1,
|
||||
'PANDORA_CANONICAL_TARGET' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'SETSOCKOPT_SANITY' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'PANDORA_CHECK_C_VERSION' => 1,
|
||||
'AC_LIB_HAVE_LINKFLAGS' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'PANDORA_ENABLE_DTRACE' => 1,
|
||||
'AC_LIB_PREFIX' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'include' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'DETECT_BYTEORDER' => 1,
|
||||
'AC_LIB_APPENDTOVAR' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'AC_LIB_WITH_FINAL_PREFIX' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'm4_include' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'PANDORA_CHECK_CXX_VERSION' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'ENABLE_DEPRECATED' => 1,
|
||||
'AC_LIB_PREPARE_PREFIX' => 1,
|
||||
'PANDORA_OPTIMIZE' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'PANDORA_SHARED_PTR' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'PANDORA_HEADER_ASSERT' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'ENABLE_HSIEH_HASH' => 1,
|
||||
'AC_LIB_PROG_LD_GNU' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'PANDORA_WARNINGS' => 1,
|
||||
'PROTOCOL_BINARY_TEST' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'PANDORA_FORCE_DEPEND_TRACKING' => 1,
|
||||
'WITH_MEMCACHED' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'PANDORA_CHECK_CXX_STANDARD' => 1,
|
||||
'gl_USE_SYSTEM_EXTENSIONS' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'AM_CONFIG_HEADER' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'ENABLE_UTILLIB' => 1,
|
||||
'AC_LIB_LINKFLAGS' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'PANDORA_64BIT' => 1,
|
||||
'PANDORA_HAVE_BETTER_MALLOC' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'gl_VISIBILITY' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'AC_CXX_COMPILE_STDCXX_0X' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'PANDORA_ENSURE_GCC_VERSION' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'PANDORA_MAC_GCC42' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'AC_LIB_LINKFLAGS_FROM_LIBS' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'AC_CXX_HEADER_STDCXX_98' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_LIB_LINKFLAGS_BODY' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'ACX_PTHREAD' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'AC_LIB_FROMPACKAGE' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'REQUIRE_POD2MAN' => 1,
|
||||
'AC_LIB_PROG_LD' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'1',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'include' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'sinclude' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' )
|
||||
);
|
||||
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,206 @@
|
|||
execute.lo execute.o: execute.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h execute.h \
|
||||
../libmemcached/memcached.h generator.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
execute.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
generator.h:
|
|
@ -0,0 +1,201 @@
|
|||
generator.lo generator.o: generator.c ../libmemcached/common.h \
|
||||
../config.h /usr/include/stdio.h /usr/include/_types.h \
|
||||
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
||||
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
||||
/usr/include/stdlib.h /usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h generator.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
generator.h:
|
|
@ -0,0 +1,208 @@
|
|||
memcat.o memcat.o: memcat.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
../libmemcached/memcached.h utilities.h client_options.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
utilities.h:
|
||||
|
||||
client_options.h:
|
|
@ -0,0 +1,211 @@
|
|||
memcp.o memcp.o: memcp.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
/usr/include/sys/stat.h ../libmemcached/memcached.h client_options.h \
|
||||
utilities.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
/usr/include/sys/stat.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
|
@ -0,0 +1,211 @@
|
|||
memdump.o memdump.o: memdump.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
/usr/include/sys/stat.h ../libmemcached/memcached.h client_options.h \
|
||||
utilities.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
/usr/include/sys/stat.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
|
@ -0,0 +1,208 @@
|
|||
memerror.o memerror.o: memerror.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
../libmemcached/memcached.h utilities.h client_options.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
utilities.h:
|
||||
|
||||
client_options.h:
|
|
@ -0,0 +1,208 @@
|
|||
memflush.o memflush.o: memflush.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
../libmemcached/memcached.h client_options.h utilities.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
|
@ -0,0 +1,208 @@
|
|||
memrm.o memrm.o: memrm.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/getopt.h \
|
||||
../libmemcached/memcached.h client_options.h utilities.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
|
@ -0,0 +1,227 @@
|
|||
memslap-memslap.o memslap-memslap.o: memslap.c ../libmemcached/common.h \
|
||||
../config.h /usr/include/stdio.h /usr/include/_types.h \
|
||||
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
||||
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
||||
/usr/include/stdlib.h /usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/sys/stat.h \
|
||||
/usr/include/sys/mman.h /usr/include/getopt.h /usr/include/pthread.h \
|
||||
/usr/include/pthread_impl.h /usr/include/sched.h /usr/include/assert.h \
|
||||
../libmemcached/memcached.h client_options.h utilities.h generator.h \
|
||||
execute.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/sys/stat.h:
|
||||
|
||||
/usr/include/sys/mman.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
/usr/include/pthread.h:
|
||||
|
||||
/usr/include/pthread_impl.h:
|
||||
|
||||
/usr/include/sched.h:
|
||||
|
||||
/usr/include/assert.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
||||
|
||||
generator.h:
|
||||
|
||||
execute.h:
|
|
@ -0,0 +1,213 @@
|
|||
memstat.o memstat.o: memstat.c ../libmemcached/common.h ../config.h \
|
||||
/usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h \
|
||||
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
||||
/usr/include/i386/_types.h /usr/include/stdlib.h \
|
||||
/usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h /usr/include/sys/stat.h \
|
||||
/usr/include/sys/mman.h /usr/include/getopt.h \
|
||||
../libmemcached/memcached.h client_options.h utilities.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
/usr/include/sys/stat.h:
|
||||
|
||||
/usr/include/sys/mman.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
||||
|
||||
utilities.h:
|
|
@ -0,0 +1,208 @@
|
|||
utilities.lo utilities.o: utilities.c ../libmemcached/common.h \
|
||||
../config.h /usr/include/stdio.h /usr/include/_types.h \
|
||||
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
||||
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
||||
/usr/include/stdlib.h /usr/include/available.h /usr/include/sys/wait.h \
|
||||
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
||||
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
||||
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
||||
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
||||
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
||||
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
||||
/usr/include/libkern/_OSByteOrder.h \
|
||||
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
||||
/usr/include/machine/types.h /usr/include/i386/types.h \
|
||||
/usr/include/i386/_types.h /usr/include/string.h /usr/include/strings.h \
|
||||
/usr/include/ctype.h /usr/include/runetype.h /usr/include/sys/types.h \
|
||||
/usr/include/sys/socket.h /usr/include/machine/_param.h \
|
||||
/usr/include/i386/_param.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h \
|
||||
/usr/include/netinet6/in6.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/unistd.h /usr/include/sys/unistd.h \
|
||||
/usr/include/sys/select.h /usr/include/sys/_select.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h \
|
||||
/usr/include/limits.h /usr/include/machine/limits.h \
|
||||
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
|
||||
/usr/include/sys/syslimits.h /usr/include/errno.h \
|
||||
/usr/include/sys/errno.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \
|
||||
/usr/include/sys/un.h /usr/include/netinet/tcp.h \
|
||||
/usr/include/sys/time.h /usr/include/time.h /usr/include/_structs.h \
|
||||
../libmemcached/memcached.h /usr/include/inttypes.h \
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h \
|
||||
../libmemcached/visibility.h ../libmemcached/memcached_configure.h \
|
||||
../libmemcached/memcached_constants.h ../libmemcached/memcached_types.h \
|
||||
../libmemcached/memcached_get.h ../libmemcached/memcached_server.h \
|
||||
../libmemcached/memcached_string.h ../libmemcached/memcached_result.h \
|
||||
../libmemcached/memcached_storage.h \
|
||||
../libmemcached/memcached_watchpoint.h ../libmemcached/memcached_io.h \
|
||||
../libmemcached/memcached_internal.h \
|
||||
../libmemcached/libmemcached_probes.h \
|
||||
../libmemcached/memcached/protocol_binary.h utilities.h \
|
||||
/usr/include/getopt.h ../libmemcached/memcached.h client_options.h
|
||||
|
||||
../libmemcached/common.h:
|
||||
|
||||
../config.h:
|
||||
|
||||
/usr/include/stdio.h:
|
||||
|
||||
/usr/include/_types.h:
|
||||
|
||||
/usr/include/sys/_types.h:
|
||||
|
||||
/usr/include/sys/cdefs.h:
|
||||
|
||||
/usr/include/machine/_types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/stdlib.h:
|
||||
|
||||
/usr/include/available.h:
|
||||
|
||||
/usr/include/sys/wait.h:
|
||||
|
||||
/usr/include/sys/signal.h:
|
||||
|
||||
/usr/include/sys/appleapiopts.h:
|
||||
|
||||
/usr/include/machine/signal.h:
|
||||
|
||||
/usr/include/i386/signal.h:
|
||||
|
||||
/usr/include/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/_structs.h:
|
||||
|
||||
/usr/include/machine/_structs.h:
|
||||
|
||||
/usr/include/mach/i386/_structs.h:
|
||||
|
||||
/usr/include/sys/resource.h:
|
||||
|
||||
/usr/include/machine/endian.h:
|
||||
|
||||
/usr/include/i386/endian.h:
|
||||
|
||||
/usr/include/sys/_endian.h:
|
||||
|
||||
/usr/include/libkern/_OSByteOrder.h:
|
||||
|
||||
/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
|
||||
/usr/include/alloca.h:
|
||||
|
||||
/usr/include/machine/types.h:
|
||||
|
||||
/usr/include/i386/types.h:
|
||||
|
||||
/usr/include/i386/_types.h:
|
||||
|
||||
/usr/include/string.h:
|
||||
|
||||
/usr/include/strings.h:
|
||||
|
||||
/usr/include/ctype.h:
|
||||
|
||||
/usr/include/runetype.h:
|
||||
|
||||
/usr/include/sys/types.h:
|
||||
|
||||
/usr/include/sys/socket.h:
|
||||
|
||||
/usr/include/machine/_param.h:
|
||||
|
||||
/usr/include/i386/_param.h:
|
||||
|
||||
/usr/include/netinet/in.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdint.h:
|
||||
|
||||
/usr/include/netinet6/in6.h:
|
||||
|
||||
/usr/include/arpa/inet.h:
|
||||
|
||||
/usr/include/netdb.h:
|
||||
|
||||
/usr/include/unistd.h:
|
||||
|
||||
/usr/include/sys/unistd.h:
|
||||
|
||||
/usr/include/sys/select.h:
|
||||
|
||||
/usr/include/sys/_select.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/limits.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/syslimits.h:
|
||||
|
||||
/usr/include/limits.h:
|
||||
|
||||
/usr/include/machine/limits.h:
|
||||
|
||||
/usr/include/i386/limits.h:
|
||||
|
||||
/usr/include/i386/_limits.h:
|
||||
|
||||
/usr/include/sys/syslimits.h:
|
||||
|
||||
/usr/include/errno.h:
|
||||
|
||||
/usr/include/sys/errno.h:
|
||||
|
||||
/usr/include/fcntl.h:
|
||||
|
||||
/usr/include/sys/fcntl.h:
|
||||
|
||||
/usr/include/sys/un.h:
|
||||
|
||||
/usr/include/netinet/tcp.h:
|
||||
|
||||
/usr/include/sys/time.h:
|
||||
|
||||
/usr/include/time.h:
|
||||
|
||||
/usr/include/_structs.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
/usr/include/inttypes.h:
|
||||
|
||||
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/stdbool.h:
|
||||
|
||||
../libmemcached/visibility.h:
|
||||
|
||||
../libmemcached/memcached_configure.h:
|
||||
|
||||
../libmemcached/memcached_constants.h:
|
||||
|
||||
../libmemcached/memcached_types.h:
|
||||
|
||||
../libmemcached/memcached_get.h:
|
||||
|
||||
../libmemcached/memcached_server.h:
|
||||
|
||||
../libmemcached/memcached_string.h:
|
||||
|
||||
../libmemcached/memcached_result.h:
|
||||
|
||||
../libmemcached/memcached_storage.h:
|
||||
|
||||
../libmemcached/memcached_watchpoint.h:
|
||||
|
||||
../libmemcached/memcached_io.h:
|
||||
|
||||
../libmemcached/memcached_internal.h:
|
||||
|
||||
../libmemcached/libmemcached_probes.h:
|
||||
|
||||
../libmemcached/memcached/protocol_binary.h:
|
||||
|
||||
utilities.h:
|
||||
|
||||
/usr/include/getopt.h:
|
||||
|
||||
../libmemcached/memcached.h:
|
||||
|
||||
client_options.h:
|
|
@ -0,0 +1,701 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# clients/Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/libmemcached
|
||||
pkglibdir = $(libdir)/libmemcached
|
||||
pkgincludedir = $(includedir)/libmemcached
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = i386-apple-darwin9.7.0
|
||||
host_triplet = i386-apple-darwin9.7.0
|
||||
target_triplet = i386-apple-darwin9.7.0
|
||||
bin_PROGRAMS = memcat$(EXEEXT) memdump$(EXEEXT) memcp$(EXEEXT) \
|
||||
memstat$(EXEEXT) memrm$(EXEEXT) memflush$(EXEEXT) \
|
||||
memslap$(EXEEXT) memerror$(EXEEXT)
|
||||
subdir = clients
|
||||
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libgenexec_la_LIBADD =
|
||||
am_libgenexec_la_OBJECTS = generator.lo execute.lo
|
||||
libgenexec_la_OBJECTS = $(am_libgenexec_la_OBJECTS)
|
||||
libutilities_la_LIBADD =
|
||||
am_libutilities_la_OBJECTS = utilities.lo
|
||||
libutilities_la_OBJECTS = $(am_libutilities_la_OBJECTS)
|
||||
am__installdirs = "$(DESTDIR)$(bindir)"
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
am_memcat_OBJECTS = memcat.$(OBJEXT)
|
||||
memcat_OBJECTS = $(am_memcat_OBJECTS)
|
||||
memcat_DEPENDENCIES = $(LDADDS)
|
||||
memcat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcat_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memcp_OBJECTS = memcp.$(OBJEXT)
|
||||
memcp_OBJECTS = $(am_memcp_OBJECTS)
|
||||
memcp_DEPENDENCIES = $(LDADDS)
|
||||
memcp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcp_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memdump_OBJECTS = memdump.$(OBJEXT)
|
||||
memdump_OBJECTS = $(am_memdump_OBJECTS)
|
||||
memdump_DEPENDENCIES = $(LDADDS)
|
||||
memdump_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memdump_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memerror_OBJECTS = memerror.$(OBJEXT)
|
||||
memerror_OBJECTS = $(am_memerror_OBJECTS)
|
||||
memerror_DEPENDENCIES = $(LDADDS)
|
||||
memerror_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memerror_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memflush_OBJECTS = memflush.$(OBJEXT)
|
||||
memflush_OBJECTS = $(am_memflush_OBJECTS)
|
||||
memflush_DEPENDENCIES = $(LDADDS)
|
||||
memflush_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memflush_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memrm_OBJECTS = memrm.$(OBJEXT)
|
||||
memrm_OBJECTS = $(am_memrm_OBJECTS)
|
||||
memrm_DEPENDENCIES = $(LDADDS)
|
||||
memrm_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memrm_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memslap_OBJECTS = memslap-memslap.$(OBJEXT)
|
||||
memslap_OBJECTS = $(am_memslap_OBJECTS)
|
||||
am__DEPENDENCIES_1 =
|
||||
memslap_DEPENDENCIES = $(LDADDS) $(am__DEPENDENCIES_1) libgenexec.la
|
||||
memslap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(memslap_CFLAGS) $(CFLAGS) \
|
||||
$(memslap_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_memstat_OBJECTS = memstat.$(OBJEXT)
|
||||
memstat_OBJECTS = $(am_memstat_OBJECTS)
|
||||
memstat_DEPENDENCIES = $(LDADDS)
|
||||
memstat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memstat_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
DEFAULT_INCLUDES =
|
||||
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
SOURCES = $(libgenexec_la_SOURCES) $(libutilities_la_SOURCES) \
|
||||
$(memcat_SOURCES) $(memcp_SOURCES) $(memdump_SOURCES) \
|
||||
$(memerror_SOURCES) $(memflush_SOURCES) $(memrm_SOURCES) \
|
||||
$(memslap_SOURCES) $(memstat_SOURCES)
|
||||
DIST_SOURCES = $(libgenexec_la_SOURCES) $(libutilities_la_SOURCES) \
|
||||
$(memcat_SOURCES) $(memcp_SOURCES) $(memdump_SOURCES) \
|
||||
$(memerror_SOURCES) $(memflush_SOURCES) $(memrm_SOURCES) \
|
||||
$(memslap_SOURCES) $(memstat_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run aclocal-1.10
|
||||
AMTAR = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run tar
|
||||
AM_CFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings
|
||||
AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -ggdb3
|
||||
AM_CXXFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Weffc++ -Wold-style-cast -Wno-redundant-decls
|
||||
AR = ar
|
||||
AUTOCONF = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run automake-1.10
|
||||
AWK = gawk
|
||||
BETTER_MALLOC_LIBS =
|
||||
CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CC_VERSION = i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CFLAGS = -D_THREAD_SAFE
|
||||
CFLAG_VISIBILITY = -fvisibility=hidden
|
||||
CPP = /usr/bin/gcc-4.2 -E
|
||||
CPPFLAGS = -I/opt/local/include
|
||||
CXX = /usr/bin/g++-4.2
|
||||
CXXCPP = /usr/bin/g++-4.2 -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -std=gnu++98
|
||||
CXX_VERSION = i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DEPRECATED =
|
||||
DOXYGEN =
|
||||
DSYMUTIL = dsymutil
|
||||
DTRACE =
|
||||
DTRACEFLAGS =
|
||||
ECHO = /bin/echo
|
||||
ECHO_C = \c
|
||||
ECHO_N =
|
||||
ECHO_T =
|
||||
EGREP = /usr/bin/grep -E
|
||||
EXEEXT =
|
||||
F77 =
|
||||
FFLAGS =
|
||||
GREP = /usr/bin/grep
|
||||
HAVE_VISIBILITY = 1
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
ISAINFO = no
|
||||
LDFLAGS = -L/opt/local/lib
|
||||
LD_UTIL_VERSION_SCRIPT =
|
||||
LD_VERSION_SCRIPT =
|
||||
LIBC_P =
|
||||
LIBM =
|
||||
LIBOBJS =
|
||||
LIBS =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run makeinfo
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = 0:0:0
|
||||
MEMCACHED_LIBRARY_VERSION = 2:0:0
|
||||
MEMC_BINARY = /opt/local/bin/memcached
|
||||
MKDIR_P = ../config/install-sh -c -d
|
||||
NMEDIT = nmedit
|
||||
NO_CONVERSION =
|
||||
NO_REDUNDANT_DECLS = -Wno-redundant-decls
|
||||
NO_SHADOW = -Wno-shadow
|
||||
NO_STRICT_ALIASING = -fno-strict-aliasing -Wno-strict-aliasing
|
||||
NO_UNREACHED =
|
||||
OBJEXT = o
|
||||
PACKAGE = libmemcached
|
||||
PACKAGE_BUGREPORT = http://tangent.org/552/libmemcached.html
|
||||
PACKAGE_NAME = libmemcached
|
||||
PACKAGE_STRING = libmemcached 0.31
|
||||
PACKAGE_TARNAME = libmemcached
|
||||
PACKAGE_VERSION = 0.31
|
||||
PATH_SEPARATOR = :
|
||||
PERL = perl
|
||||
POD2MAN = /opt/local/bin/pod2man
|
||||
PROTOSKIP_WARNINGS = -Wno-effc++ -Wno-shadow
|
||||
PTHREAD_CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
PTHREAD_CFLAGS = -D_THREAD_SAFE
|
||||
PTHREAD_LIBS =
|
||||
RANLIB = ranlib
|
||||
SED = /opt/local/bin/gsed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
VERSION = 0.31
|
||||
abs_builddir = /Users/eweaver/p/fauna/libmemcached/clients
|
||||
abs_srcdir = /Users/eweaver/p/fauna/libmemcached/clients
|
||||
abs_top_builddir = /Users/eweaver/p/fauna/libmemcached
|
||||
abs_top_srcdir = /Users/eweaver/p/fauna/libmemcached
|
||||
ac_ct_CC = gcc
|
||||
ac_ct_CXX =
|
||||
ac_ct_F77 =
|
||||
acx_pthread_config =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i386-apple-darwin9.7.0
|
||||
build_alias =
|
||||
build_cpu = i386
|
||||
build_os = darwin9.7.0
|
||||
build_vendor = apple
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host = i386-apple-darwin9.7.0
|
||||
host_alias =
|
||||
host_cpu = i386
|
||||
host_os = darwin9.7.0
|
||||
host_vendor = apple
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = $(SHELL) /Users/eweaver/p/fauna/libmemcached/config/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = $(top_builddir)/config/install-sh -c -d
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix = /opt/local
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
sysconfdir = ${prefix}/etc
|
||||
target = i386-apple-darwin9.7.0
|
||||
target_alias =
|
||||
target_cpu = i386
|
||||
target_os = darwin9.7.0
|
||||
target_vendor = apple
|
||||
top_build_prefix = ../
|
||||
top_builddir = ..
|
||||
top_srcdir = ..
|
||||
LDADDS = $(top_builddir)/libmemcached/libmemcached.la libutilities.la
|
||||
noinst_HEADERS = client_options.h \
|
||||
utilities.h \
|
||||
generator.h \
|
||||
execute.h
|
||||
|
||||
noinst_LTLIBRARIES = libutilities.la libgenexec.la
|
||||
libutilities_la_SOURCES = utilities.c
|
||||
libgenexec_la_SOURCES = generator.c execute.c
|
||||
memcat_SOURCES = memcat.c
|
||||
memcat_LDADD = $(LDADDS)
|
||||
memcat_LDFLAGS = -rpath $(pkglibdir)
|
||||
memcp_SOURCES = memcp.c
|
||||
memcp_LDADD = $(LDADDS)
|
||||
memcp_LDFLAGS = -rpath $(pkglibdir)
|
||||
memdump_SOURCES = memdump.c
|
||||
memdump_LDADD = $(LDADDS)
|
||||
memdump_LDFLAGS = -rpath $(pkglibdir)
|
||||
memstat_SOURCES = memstat.c
|
||||
memstat_LDADD = $(LDADDS)
|
||||
memstat_LDFLAGS = -rpath $(pkglibdir)
|
||||
memrm_SOURCES = memrm.c
|
||||
memrm_LDADD = $(LDADDS)
|
||||
memrm_LDFLAGS = -rpath $(pkglibdir)
|
||||
memflush_SOURCES = memflush.c
|
||||
memflush_LDADD = $(LDADDS)
|
||||
memflush_LDFLAGS = -rpath $(pkglibdir)
|
||||
memerror_SOURCES = memerror.c
|
||||
memerror_LDADD = $(LDADDS)
|
||||
memerror_LDFLAGS = -rpath $(pkglibdir)
|
||||
memslap_SOURCES = memslap.c
|
||||
memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
memslap_LDADD = $(LDADDS) $(PTHREAD_LIBS) libgenexec.la
|
||||
memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu clients/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu clients/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test "$$dir" != "$$p" || dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libgenexec.la: $(libgenexec_la_OBJECTS) $(libgenexec_la_DEPENDENCIES)
|
||||
$(LINK) $(libgenexec_la_OBJECTS) $(libgenexec_la_LIBADD) $(LIBS)
|
||||
libutilities.la: $(libutilities_la_OBJECTS) $(libutilities_la_DEPENDENCIES)
|
||||
$(LINK) $(libutilities_la_OBJECTS) $(libutilities_la_LIBADD) $(LIBS)
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(bindir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
memcat$(EXEEXT): $(memcat_OBJECTS) $(memcat_DEPENDENCIES)
|
||||
@rm -f memcat$(EXEEXT)
|
||||
$(memcat_LINK) $(memcat_OBJECTS) $(memcat_LDADD) $(LIBS)
|
||||
memcp$(EXEEXT): $(memcp_OBJECTS) $(memcp_DEPENDENCIES)
|
||||
@rm -f memcp$(EXEEXT)
|
||||
$(memcp_LINK) $(memcp_OBJECTS) $(memcp_LDADD) $(LIBS)
|
||||
memdump$(EXEEXT): $(memdump_OBJECTS) $(memdump_DEPENDENCIES)
|
||||
@rm -f memdump$(EXEEXT)
|
||||
$(memdump_LINK) $(memdump_OBJECTS) $(memdump_LDADD) $(LIBS)
|
||||
memerror$(EXEEXT): $(memerror_OBJECTS) $(memerror_DEPENDENCIES)
|
||||
@rm -f memerror$(EXEEXT)
|
||||
$(memerror_LINK) $(memerror_OBJECTS) $(memerror_LDADD) $(LIBS)
|
||||
memflush$(EXEEXT): $(memflush_OBJECTS) $(memflush_DEPENDENCIES)
|
||||
@rm -f memflush$(EXEEXT)
|
||||
$(memflush_LINK) $(memflush_OBJECTS) $(memflush_LDADD) $(LIBS)
|
||||
memrm$(EXEEXT): $(memrm_OBJECTS) $(memrm_DEPENDENCIES)
|
||||
@rm -f memrm$(EXEEXT)
|
||||
$(memrm_LINK) $(memrm_OBJECTS) $(memrm_LDADD) $(LIBS)
|
||||
memslap$(EXEEXT): $(memslap_OBJECTS) $(memslap_DEPENDENCIES)
|
||||
@rm -f memslap$(EXEEXT)
|
||||
$(memslap_LINK) $(memslap_OBJECTS) $(memslap_LDADD) $(LIBS)
|
||||
memstat$(EXEEXT): $(memstat_OBJECTS) $(memstat_DEPENDENCIES)
|
||||
@rm -f memstat$(EXEEXT)
|
||||
$(memstat_LINK) $(memstat_OBJECTS) $(memstat_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
include ./$(DEPDIR)/execute.Plo
|
||||
include ./$(DEPDIR)/generator.Plo
|
||||
include ./$(DEPDIR)/memcat.Po
|
||||
include ./$(DEPDIR)/memcp.Po
|
||||
include ./$(DEPDIR)/memdump.Po
|
||||
include ./$(DEPDIR)/memerror.Po
|
||||
include ./$(DEPDIR)/memflush.Po
|
||||
include ./$(DEPDIR)/memrm.Po
|
||||
include ./$(DEPDIR)/memslap-memslap.Po
|
||||
include ./$(DEPDIR)/memstat.Po
|
||||
include ./$(DEPDIR)/utilities.Plo
|
||||
|
||||
.c.o:
|
||||
depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
||||
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
mv -f $$depbase.Tpo $$depbase.Po
|
||||
# source='$<' object='$@' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
||||
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
||||
mv -f $$depbase.Tpo $$depbase.Po
|
||||
# source='$<' object='$@' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
||||
$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
mv -f $$depbase.Tpo $$depbase.Plo
|
||||
# source='$<' object='$@' libtool=yes \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
memslap-memslap.o: memslap.c
|
||||
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -MT memslap-memslap.o -MD -MP -MF $(DEPDIR)/memslap-memslap.Tpo -c -o memslap-memslap.o `test -f 'memslap.c' || echo '$(srcdir)/'`memslap.c
|
||||
mv -f $(DEPDIR)/memslap-memslap.Tpo $(DEPDIR)/memslap-memslap.Po
|
||||
# source='memslap.c' object='memslap-memslap.o' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -c -o memslap-memslap.o `test -f 'memslap.c' || echo '$(srcdir)/'`memslap.c
|
||||
|
||||
memslap-memslap.obj: memslap.c
|
||||
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -MT memslap-memslap.obj -MD -MP -MF $(DEPDIR)/memslap-memslap.Tpo -c -o memslap-memslap.obj `if test -f 'memslap.c'; then $(CYGPATH_W) 'memslap.c'; else $(CYGPATH_W) '$(srcdir)/memslap.c'; fi`
|
||||
mv -f $(DEPDIR)/memslap-memslap.Tpo $(DEPDIR)/memslap-memslap.Po
|
||||
# source='memslap.c' object='memslap-memslap.obj' libtool=no \
|
||||
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
||||
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -c -o memslap-memslap.obj `if test -f 'memslap.c'; then $(CYGPATH_W) 'memslap.c'; else $(CYGPATH_W) '$(srcdir)/memslap.c'; fi`
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bindir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool \
|
||||
clean-noinstLTLIBRARIES mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \
|
||||
distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-pdf \
|
||||
install-pdf-am install-ps install-ps-am install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags uninstall uninstall-am uninstall-binPROGRAMS
|
||||
|
||||
|
||||
test-start-server:
|
||||
memflush --servers=localhost
|
||||
memcp --servers=localhost /etc/services
|
||||
memcat --servers=localhost /etc/services
|
||||
memrm --servers=localhost /etc/services
|
||||
memstat --servers=localhost
|
||||
memslap --servers=localhost
|
||||
memslap --servers=localhost --concurrency=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
||||
|
||||
valgrind:
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,69 @@
|
|||
LDADDS = $(top_builddir)/libmemcached/libmemcached.la libutilities.la
|
||||
|
||||
bin_PROGRAMS = memcat memdump memcp memstat memrm memflush memslap memerror
|
||||
|
||||
noinst_HEADERS = client_options.h \
|
||||
utilities.h \
|
||||
generator.h \
|
||||
execute.h
|
||||
|
||||
noinst_LTLIBRARIES= libutilities.la libgenexec.la
|
||||
|
||||
libutilities_la_SOURCES= utilities.c
|
||||
libgenexec_la_SOURCES= generator.c execute.c
|
||||
|
||||
memcat_SOURCES = memcat.c
|
||||
memcat_LDADD = $(LDADDS)
|
||||
memcat_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memcp_SOURCES = memcp.c
|
||||
memcp_LDADD = $(LDADDS)
|
||||
memcp_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memdump_SOURCES = memdump.c
|
||||
memdump_LDADD = $(LDADDS)
|
||||
memdump_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memstat_SOURCES = memstat.c
|
||||
memstat_LDADD = $(LDADDS)
|
||||
memstat_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memrm_SOURCES = memrm.c
|
||||
memrm_LDADD = $(LDADDS)
|
||||
memrm_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memflush_SOURCES = memflush.c
|
||||
memflush_LDADD = $(LDADDS)
|
||||
memflush_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memerror_SOURCES = memerror.c
|
||||
memerror_LDADD = $(LDADDS)
|
||||
memerror_LDFLAGS = -rpath $(pkglibdir)
|
||||
|
||||
memslap_SOURCES = memslap.c
|
||||
memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
memslap_LDADD = $(LDADDS) $(PTHREAD_LIBS) libgenexec.la
|
||||
memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir)
|
||||
|
||||
test-start-server:
|
||||
memflush --servers=localhost
|
||||
memcp --servers=localhost /etc/services
|
||||
memcat --servers=localhost /etc/services
|
||||
memrm --servers=localhost /etc/services
|
||||
memstat --servers=localhost
|
||||
memslap --servers=localhost
|
||||
memslap --servers=localhost --concurrency=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
||||
|
||||
valgrind:
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
|
@ -0,0 +1,701 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
bin_PROGRAMS = memcat$(EXEEXT) memdump$(EXEEXT) memcp$(EXEEXT) \
|
||||
memstat$(EXEEXT) memrm$(EXEEXT) memflush$(EXEEXT) \
|
||||
memslap$(EXEEXT) memerror$(EXEEXT)
|
||||
subdir = clients
|
||||
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libgenexec_la_LIBADD =
|
||||
am_libgenexec_la_OBJECTS = generator.lo execute.lo
|
||||
libgenexec_la_OBJECTS = $(am_libgenexec_la_OBJECTS)
|
||||
libutilities_la_LIBADD =
|
||||
am_libutilities_la_OBJECTS = utilities.lo
|
||||
libutilities_la_OBJECTS = $(am_libutilities_la_OBJECTS)
|
||||
am__installdirs = "$(DESTDIR)$(bindir)"
|
||||
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
am_memcat_OBJECTS = memcat.$(OBJEXT)
|
||||
memcat_OBJECTS = $(am_memcat_OBJECTS)
|
||||
memcat_DEPENDENCIES = $(LDADDS)
|
||||
memcat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcat_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memcp_OBJECTS = memcp.$(OBJEXT)
|
||||
memcp_OBJECTS = $(am_memcp_OBJECTS)
|
||||
memcp_DEPENDENCIES = $(LDADDS)
|
||||
memcp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcp_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memdump_OBJECTS = memdump.$(OBJEXT)
|
||||
memdump_OBJECTS = $(am_memdump_OBJECTS)
|
||||
memdump_DEPENDENCIES = $(LDADDS)
|
||||
memdump_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memdump_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memerror_OBJECTS = memerror.$(OBJEXT)
|
||||
memerror_OBJECTS = $(am_memerror_OBJECTS)
|
||||
memerror_DEPENDENCIES = $(LDADDS)
|
||||
memerror_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memerror_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memflush_OBJECTS = memflush.$(OBJEXT)
|
||||
memflush_OBJECTS = $(am_memflush_OBJECTS)
|
||||
memflush_DEPENDENCIES = $(LDADDS)
|
||||
memflush_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memflush_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memrm_OBJECTS = memrm.$(OBJEXT)
|
||||
memrm_OBJECTS = $(am_memrm_OBJECTS)
|
||||
memrm_DEPENDENCIES = $(LDADDS)
|
||||
memrm_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memrm_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
am_memslap_OBJECTS = memslap-memslap.$(OBJEXT)
|
||||
memslap_OBJECTS = $(am_memslap_OBJECTS)
|
||||
am__DEPENDENCIES_1 =
|
||||
memslap_DEPENDENCIES = $(LDADDS) $(am__DEPENDENCIES_1) libgenexec.la
|
||||
memslap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(memslap_CFLAGS) $(CFLAGS) \
|
||||
$(memslap_LDFLAGS) $(LDFLAGS) -o $@
|
||||
am_memstat_OBJECTS = memstat.$(OBJEXT)
|
||||
memstat_OBJECTS = $(am_memstat_OBJECTS)
|
||||
memstat_DEPENDENCIES = $(LDADDS)
|
||||
memstat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memstat_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
DEFAULT_INCLUDES =
|
||||
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
SOURCES = $(libgenexec_la_SOURCES) $(libutilities_la_SOURCES) \
|
||||
$(memcat_SOURCES) $(memcp_SOURCES) $(memdump_SOURCES) \
|
||||
$(memerror_SOURCES) $(memflush_SOURCES) $(memrm_SOURCES) \
|
||||
$(memslap_SOURCES) $(memstat_SOURCES)
|
||||
DIST_SOURCES = $(libgenexec_la_SOURCES) $(libutilities_la_SOURCES) \
|
||||
$(memcat_SOURCES) $(memcp_SOURCES) $(memdump_SOURCES) \
|
||||
$(memerror_SOURCES) $(memflush_SOURCES) $(memrm_SOURCES) \
|
||||
$(memslap_SOURCES) $(memstat_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_CFLAGS = @AM_CFLAGS@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@
|
||||
AM_CXXFLAGS = @AM_CXXFLAGS@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BETTER_MALLOC_LIBS = @BETTER_MALLOC_LIBS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CC_VERSION = @CC_VERSION@
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXX_VERSION = @CXX_VERSION@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DEPRECATED = @DEPRECATED@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DTRACE = @DTRACE@
|
||||
DTRACEFLAGS = @DTRACEFLAGS@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
HAVE_VISIBILITY = @HAVE_VISIBILITY@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
ISAINFO = @ISAINFO@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LD_UTIL_VERSION_SCRIPT = @LD_UTIL_VERSION_SCRIPT@
|
||||
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
|
||||
LIBC_P = @LIBC_P@
|
||||
LIBM = @LIBM@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@
|
||||
MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@
|
||||
MEMC_BINARY = @MEMC_BINARY@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NMEDIT = @NMEDIT@
|
||||
NO_CONVERSION = @NO_CONVERSION@
|
||||
NO_REDUNDANT_DECLS = @NO_REDUNDANT_DECLS@
|
||||
NO_SHADOW = @NO_SHADOW@
|
||||
NO_STRICT_ALIASING = @NO_STRICT_ALIASING@
|
||||
NO_UNREACHED = @NO_UNREACHED@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
POD2MAN = @POD2MAN@
|
||||
PROTOSKIP_WARNINGS = @PROTOSKIP_WARNINGS@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
acx_pthread_config = @acx_pthread_config@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
LDADDS = $(top_builddir)/libmemcached/libmemcached.la libutilities.la
|
||||
noinst_HEADERS = client_options.h \
|
||||
utilities.h \
|
||||
generator.h \
|
||||
execute.h
|
||||
|
||||
noinst_LTLIBRARIES = libutilities.la libgenexec.la
|
||||
libutilities_la_SOURCES = utilities.c
|
||||
libgenexec_la_SOURCES = generator.c execute.c
|
||||
memcat_SOURCES = memcat.c
|
||||
memcat_LDADD = $(LDADDS)
|
||||
memcat_LDFLAGS = -rpath $(pkglibdir)
|
||||
memcp_SOURCES = memcp.c
|
||||
memcp_LDADD = $(LDADDS)
|
||||
memcp_LDFLAGS = -rpath $(pkglibdir)
|
||||
memdump_SOURCES = memdump.c
|
||||
memdump_LDADD = $(LDADDS)
|
||||
memdump_LDFLAGS = -rpath $(pkglibdir)
|
||||
memstat_SOURCES = memstat.c
|
||||
memstat_LDADD = $(LDADDS)
|
||||
memstat_LDFLAGS = -rpath $(pkglibdir)
|
||||
memrm_SOURCES = memrm.c
|
||||
memrm_LDADD = $(LDADDS)
|
||||
memrm_LDFLAGS = -rpath $(pkglibdir)
|
||||
memflush_SOURCES = memflush.c
|
||||
memflush_LDADD = $(LDADDS)
|
||||
memflush_LDFLAGS = -rpath $(pkglibdir)
|
||||
memerror_SOURCES = memerror.c
|
||||
memerror_LDADD = $(LDADDS)
|
||||
memerror_LDFLAGS = -rpath $(pkglibdir)
|
||||
memslap_SOURCES = memslap.c
|
||||
memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
memslap_LDADD = $(LDADDS) $(PTHREAD_LIBS) libgenexec.la
|
||||
memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu clients/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu clients/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test "$$dir" != "$$p" || dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libgenexec.la: $(libgenexec_la_OBJECTS) $(libgenexec_la_DEPENDENCIES)
|
||||
$(LINK) $(libgenexec_la_OBJECTS) $(libgenexec_la_LIBADD) $(LIBS)
|
||||
libutilities.la: $(libutilities_la_OBJECTS) $(libutilities_la_DEPENDENCIES)
|
||||
$(LINK) $(libutilities_la_OBJECTS) $(libutilities_la_LIBADD) $(LIBS)
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-binPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(bindir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-binPROGRAMS:
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
memcat$(EXEEXT): $(memcat_OBJECTS) $(memcat_DEPENDENCIES)
|
||||
@rm -f memcat$(EXEEXT)
|
||||
$(memcat_LINK) $(memcat_OBJECTS) $(memcat_LDADD) $(LIBS)
|
||||
memcp$(EXEEXT): $(memcp_OBJECTS) $(memcp_DEPENDENCIES)
|
||||
@rm -f memcp$(EXEEXT)
|
||||
$(memcp_LINK) $(memcp_OBJECTS) $(memcp_LDADD) $(LIBS)
|
||||
memdump$(EXEEXT): $(memdump_OBJECTS) $(memdump_DEPENDENCIES)
|
||||
@rm -f memdump$(EXEEXT)
|
||||
$(memdump_LINK) $(memdump_OBJECTS) $(memdump_LDADD) $(LIBS)
|
||||
memerror$(EXEEXT): $(memerror_OBJECTS) $(memerror_DEPENDENCIES)
|
||||
@rm -f memerror$(EXEEXT)
|
||||
$(memerror_LINK) $(memerror_OBJECTS) $(memerror_LDADD) $(LIBS)
|
||||
memflush$(EXEEXT): $(memflush_OBJECTS) $(memflush_DEPENDENCIES)
|
||||
@rm -f memflush$(EXEEXT)
|
||||
$(memflush_LINK) $(memflush_OBJECTS) $(memflush_LDADD) $(LIBS)
|
||||
memrm$(EXEEXT): $(memrm_OBJECTS) $(memrm_DEPENDENCIES)
|
||||
@rm -f memrm$(EXEEXT)
|
||||
$(memrm_LINK) $(memrm_OBJECTS) $(memrm_LDADD) $(LIBS)
|
||||
memslap$(EXEEXT): $(memslap_OBJECTS) $(memslap_DEPENDENCIES)
|
||||
@rm -f memslap$(EXEEXT)
|
||||
$(memslap_LINK) $(memslap_OBJECTS) $(memslap_LDADD) $(LIBS)
|
||||
memstat$(EXEEXT): $(memstat_OBJECTS) $(memstat_DEPENDENCIES)
|
||||
@rm -f memstat$(EXEEXT)
|
||||
$(memstat_LINK) $(memstat_OBJECTS) $(memstat_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execute.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generator.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memcat.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memcp.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memdump.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memerror.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memflush.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memrm.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memslap-memslap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memstat.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utilities.Plo@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
||||
@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
||||
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
||||
@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
memslap-memslap.o: memslap.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -MT memslap-memslap.o -MD -MP -MF $(DEPDIR)/memslap-memslap.Tpo -c -o memslap-memslap.o `test -f 'memslap.c' || echo '$(srcdir)/'`memslap.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/memslap-memslap.Tpo $(DEPDIR)/memslap-memslap.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memslap.c' object='memslap-memslap.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -c -o memslap-memslap.o `test -f 'memslap.c' || echo '$(srcdir)/'`memslap.c
|
||||
|
||||
memslap-memslap.obj: memslap.c
|
||||
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -MT memslap-memslap.obj -MD -MP -MF $(DEPDIR)/memslap-memslap.Tpo -c -o memslap-memslap.obj `if test -f 'memslap.c'; then $(CYGPATH_W) 'memslap.c'; else $(CYGPATH_W) '$(srcdir)/memslap.c'; fi`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/memslap-memslap.Tpo $(DEPDIR)/memslap-memslap.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memslap.c' object='memslap-memslap.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(memslap_CFLAGS) $(CFLAGS) -c -o memslap-memslap.obj `if test -f 'memslap.c'; then $(CYGPATH_W) 'memslap.c'; else $(CYGPATH_W) '$(srcdir)/memslap.c'; fi`
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bindir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool \
|
||||
clean-noinstLTLIBRARIES mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am: install-binPROGRAMS
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||
clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \
|
||||
distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-binPROGRAMS \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-pdf \
|
||||
install-pdf-am install-ps install-ps-am install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags uninstall uninstall-am uninstall-binPROGRAMS
|
||||
|
||||
|
||||
test-start-server:
|
||||
memflush --servers=localhost
|
||||
memcp --servers=localhost /etc/services
|
||||
memcat --servers=localhost /etc/services
|
||||
memrm --servers=localhost /etc/services
|
||||
memstat --servers=localhost
|
||||
memslap --servers=localhost
|
||||
memslap --servers=localhost --concurrency=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
||||
|
||||
valgrind:
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
|
||||
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef __CLIENT_OPTIONS_H__
|
||||
#define __CLIENT_OPTIONS_H__
|
||||
|
||||
typedef struct memcached_help_text_st memcached_help_text_st;
|
||||
|
||||
typedef enum {
|
||||
OPT_SERVERS= 's',
|
||||
OPT_VERSION= 'V',
|
||||
OPT_HELP= 'h',
|
||||
OPT_VERBOSE= 'v',
|
||||
OPT_DEBUG= 'd',
|
||||
OPT_ANALYZE= 'a',
|
||||
OPT_FLAG= 257,
|
||||
OPT_EXPIRE,
|
||||
OPT_SET,
|
||||
OPT_REPLACE,
|
||||
OPT_ADD,
|
||||
OPT_SLAP_EXECUTE_NUMBER,
|
||||
OPT_SLAP_INITIAL_LOAD,
|
||||
OPT_SLAP_TEST,
|
||||
OPT_SLAP_CONCURRENCY,
|
||||
OPT_SLAP_NON_BLOCK,
|
||||
OPT_SLAP_TCP_NODELAY,
|
||||
OPT_FLUSH,
|
||||
OPT_HASH,
|
||||
OPT_BINARY,
|
||||
OPT_UDP
|
||||
} memcached_options;
|
||||
|
||||
#endif /* CLIENT_OPTIONS */
|
|
@ -0,0 +1,64 @@
|
|||
/*
|
||||
Execute a memcached_set() a set of pairs.
|
||||
Return the number of rows set.
|
||||
*/
|
||||
|
||||
#include "libmemcached/common.h"
|
||||
|
||||
#include "execute.h"
|
||||
|
||||
unsigned int execute_set(memcached_st *memc, pairs_st *pairs, unsigned int number_of)
|
||||
{
|
||||
memcached_return rc;
|
||||
unsigned int x;
|
||||
unsigned int pairs_sent;
|
||||
|
||||
for (x= 0, pairs_sent= 0; x < number_of; x++)
|
||||
{
|
||||
rc= memcached_set(memc, pairs[x].key, pairs[x].key_length,
|
||||
pairs[x].value, pairs[x].value_length,
|
||||
0, 0);
|
||||
if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED)
|
||||
fprintf(stderr, "Failured on insert of %.*s\n",
|
||||
(unsigned int)pairs[x].key_length, pairs[x].key);
|
||||
else
|
||||
pairs_sent++;
|
||||
}
|
||||
|
||||
return pairs_sent;
|
||||
}
|
||||
|
||||
/*
|
||||
Execute a memcached_get() on a set of pairs.
|
||||
Return the number of rows retrieved.
|
||||
*/
|
||||
unsigned int execute_get(memcached_st *memc, pairs_st *pairs, unsigned int number_of)
|
||||
{
|
||||
memcached_return rc;
|
||||
unsigned int x;
|
||||
unsigned int retrieved;
|
||||
|
||||
|
||||
for (retrieved= 0,x= 0; x < number_of; x++)
|
||||
{
|
||||
char *value;
|
||||
size_t value_length;
|
||||
uint32_t flags;
|
||||
unsigned int fetch_key;
|
||||
|
||||
fetch_key= (unsigned int)(random() % number_of);
|
||||
|
||||
value= memcached_get(memc, pairs[fetch_key].key, pairs[fetch_key].key_length,
|
||||
&value_length, &flags, &rc);
|
||||
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
fprintf(stderr, "Failured on read of %.*s\n",
|
||||
(unsigned int)pairs[fetch_key].key_length, pairs[fetch_key].key);
|
||||
else
|
||||
retrieved++;
|
||||
|
||||
free(value);
|
||||
}
|
||||
|
||||
return retrieved;
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
#include "libmemcached/memcached.h"
|
||||
#include "generator.h"
|
||||
|
||||
unsigned int execute_set(memcached_st *memc, pairs_st *pairs, unsigned int number_of);
|
||||
unsigned int execute_get(memcached_st *memc, pairs_st *pairs, unsigned int number_of);
|
|
@ -0,0 +1,76 @@
|
|||
#include "libmemcached/common.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "generator.h"
|
||||
|
||||
/* Use this for string generation */
|
||||
static const char ALPHANUMERICS[]=
|
||||
"0123456789ABCDEFGHIJKLMNOPQRSTWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
|
||||
#define ALPHANUMERICS_SIZE (sizeof(ALPHANUMERICS)-1)
|
||||
|
||||
static size_t get_alpha_num(void)
|
||||
{
|
||||
return (size_t)random() % ALPHANUMERICS_SIZE;
|
||||
}
|
||||
|
||||
static void get_random_string(char *buffer, size_t size)
|
||||
{
|
||||
char *buffer_ptr= buffer;
|
||||
|
||||
while (--size)
|
||||
*buffer_ptr++= ALPHANUMERICS[get_alpha_num()];
|
||||
*buffer_ptr++= ALPHANUMERICS[get_alpha_num()];
|
||||
}
|
||||
|
||||
void pairs_free(pairs_st *pairs)
|
||||
{
|
||||
uint32_t x;
|
||||
|
||||
if (!pairs)
|
||||
return;
|
||||
|
||||
/* We free until we hit the null pair we stores during creation */
|
||||
for (x= 0; pairs[x].key; x++)
|
||||
{
|
||||
free(pairs[x].key);
|
||||
free(pairs[x].value);
|
||||
}
|
||||
|
||||
free(pairs);
|
||||
}
|
||||
|
||||
pairs_st *pairs_generate(uint64_t number_of, size_t value_length)
|
||||
{
|
||||
unsigned int x;
|
||||
pairs_st *pairs;
|
||||
|
||||
pairs= (pairs_st*)calloc(number_of + 1, sizeof(pairs_st));
|
||||
|
||||
if (!pairs)
|
||||
goto error;
|
||||
|
||||
for (x= 0; x < number_of; x++)
|
||||
{
|
||||
pairs[x].key= (char *)calloc(100, sizeof(char));
|
||||
if (!pairs[x].key)
|
||||
goto error;
|
||||
get_random_string(pairs[x].key, 100);
|
||||
pairs[x].key_length= 100;
|
||||
|
||||
pairs[x].value= (char *)calloc(value_length, sizeof(char));
|
||||
if (!pairs[x].value)
|
||||
goto error;
|
||||
get_random_string(pairs[x].value, value_length);
|
||||
pairs[x].value_length= value_length;
|
||||
}
|
||||
|
||||
return pairs;
|
||||
error:
|
||||
fprintf(stderr, "Memory Allocation failure in pairs_generate.\n");
|
||||
exit(0);
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
Code to generate data to be pushed into memcached
|
||||
*/
|
||||
|
||||
#ifndef __GENERATOR_H__
|
||||
#define __GENERATOR_H__
|
||||
|
||||
typedef struct pairs_st pairs_st;
|
||||
|
||||
struct pairs_st {
|
||||
char *key;
|
||||
size_t key_length;
|
||||
char *value;
|
||||
size_t value_length;
|
||||
};
|
||||
|
||||
pairs_st *pairs_generate(uint64_t number_of, size_t value_length);
|
||||
void pairs_free(pairs_st *pairs);
|
||||
|
||||
#endif
|
|
@ -0,0 +1,160 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
#define PROGRAM_NAME "memcat"
|
||||
#define PROGRAM_DESCRIPTION "Cat a set of key values to stdout."
|
||||
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
static int opt_binary= 0;
|
||||
static int opt_verbose= 0;
|
||||
static int opt_displayflag= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static char *opt_hash= NULL;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_st *memc;
|
||||
char *string;
|
||||
size_t string_length;
|
||||
uint32_t flags;
|
||||
memcached_return rc;
|
||||
memcached_server_st *servers;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
process_hash_option(memc, opt_hash);
|
||||
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t)opt_binary);
|
||||
|
||||
while (optind < argc)
|
||||
{
|
||||
string= memcached_get(memc, argv[optind], strlen(argv[optind]),
|
||||
&string_length, &flags, &rc);
|
||||
if (rc == MEMCACHED_SUCCESS)
|
||||
{
|
||||
if (opt_displayflag)
|
||||
{
|
||||
if (opt_verbose)
|
||||
printf("key: %s\nflags: ", argv[optind]);
|
||||
printf("%x\n", flags);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (opt_verbose)
|
||||
printf("key: %s\nflags: %x\nlength: %zu\nvalue: ",
|
||||
argv[optind], flags, string_length);
|
||||
printf("%.*s\n", (int)string_length, string);
|
||||
free(string);
|
||||
}
|
||||
}
|
||||
else if (rc != MEMCACHED_NOTFOUND)
|
||||
{
|
||||
fprintf(stderr, "memcat: %s: memcache error %s",
|
||||
argv[optind], memcached_strerror(memc, rc));
|
||||
if (memc->cached_errno)
|
||||
fprintf(stderr, " system error %s", strerror(memc->cached_errno));
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
optind++;
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
if (opt_servers)
|
||||
free(opt_servers);
|
||||
if (opt_hash)
|
||||
free(opt_hash);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"flag", no_argument, &opt_displayflag, OPT_FLAG},
|
||||
{"hash", required_argument, NULL, OPT_HASH},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_HASH:
|
||||
opt_hash= strdup(optarg);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,235 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <strings.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#define PROGRAM_NAME "memcp"
|
||||
#define PROGRAM_DESCRIPTION "Copy a set of files to a memcached cluster."
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
static int opt_binary=0;
|
||||
static int opt_verbose= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static char *opt_hash= NULL;
|
||||
static int opt_method= OPT_SET;
|
||||
static uint32_t opt_flags= 0;
|
||||
static time_t opt_expires= 0;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_st *memc;
|
||||
memcached_return rc;
|
||||
memcached_server_st *servers;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
process_hash_option(memc, opt_hash);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_servers)
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
else
|
||||
servers= memcached_servers_parse(argv[--argc]);
|
||||
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t)opt_binary);
|
||||
|
||||
while (optind < argc)
|
||||
{
|
||||
struct stat sbuf;
|
||||
int fd;
|
||||
char *ptr;
|
||||
ssize_t read_length;
|
||||
char *file_buffer_ptr;
|
||||
|
||||
fd= open(argv[optind], O_RDONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
fprintf(stderr, "memcp: %s: %s\n", argv[optind], strerror(errno));
|
||||
optind++;
|
||||
continue;
|
||||
}
|
||||
|
||||
(void)fstat(fd, &sbuf);
|
||||
|
||||
ptr= rindex(argv[optind], '/');
|
||||
if (ptr)
|
||||
ptr++;
|
||||
else
|
||||
ptr= argv[optind];
|
||||
|
||||
if (opt_verbose)
|
||||
{
|
||||
static const char *opstr[] = { "set", "add", "replace" };
|
||||
printf("op: %s\nsource file: %s\nlength: %zu\n"
|
||||
"key: %s\nflags: %x\nexpires: %llu\n",
|
||||
opstr[opt_method - OPT_SET], argv[optind], (size_t)sbuf.st_size,
|
||||
ptr, opt_flags, (unsigned long long)opt_expires);
|
||||
}
|
||||
|
||||
if ((file_buffer_ptr= (char *)malloc(sizeof(char) * (size_t)sbuf.st_size)) == NULL)
|
||||
{
|
||||
fprintf(stderr, "malloc: %s\n", strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((read_length= read(fd, file_buffer_ptr, (size_t)sbuf.st_size)) == -1)
|
||||
{
|
||||
fprintf(stderr, "read: %s\n", strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (read_length != sbuf.st_size)
|
||||
{
|
||||
fprintf(stderr, "Failure reading from file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (opt_method == OPT_ADD)
|
||||
rc= memcached_add(memc, ptr, strlen(ptr),
|
||||
file_buffer_ptr, (size_t)sbuf.st_size,
|
||||
opt_expires, opt_flags);
|
||||
else if (opt_method == OPT_REPLACE)
|
||||
rc= memcached_replace(memc, ptr, strlen(ptr),
|
||||
file_buffer_ptr, (size_t)sbuf.st_size,
|
||||
opt_expires, opt_flags);
|
||||
else
|
||||
rc= memcached_set(memc, ptr, strlen(ptr),
|
||||
file_buffer_ptr, (size_t)sbuf.st_size,
|
||||
opt_expires, opt_flags);
|
||||
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "memcp: %s: memcache error %s",
|
||||
ptr, memcached_strerror(memc, rc));
|
||||
if (memc->cached_errno)
|
||||
fprintf(stderr, " system error %s", strerror(memc->cached_errno));
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
free(file_buffer_ptr);
|
||||
close(fd);
|
||||
optind++;
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
if (opt_servers)
|
||||
free(opt_servers);
|
||||
if (opt_hash)
|
||||
free(opt_hash);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"flag", required_argument, NULL, OPT_FLAG},
|
||||
{"expire", required_argument, NULL, OPT_EXPIRE},
|
||||
{"set", no_argument, NULL, OPT_SET},
|
||||
{"add", no_argument, NULL, OPT_ADD},
|
||||
{"replace", no_argument, NULL, OPT_REPLACE},
|
||||
{"hash", required_argument, NULL, OPT_HASH},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
|
||||
if (option_rv == -1) break;
|
||||
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_FLAG: /* --flag */
|
||||
opt_flags= (uint32_t)strtol(optarg, (char **)NULL, 16);
|
||||
break;
|
||||
case OPT_EXPIRE: /* --expire */
|
||||
opt_expires= (time_t)strtoll(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case OPT_SET:
|
||||
opt_method= OPT_SET;
|
||||
break;
|
||||
case OPT_REPLACE:
|
||||
opt_method= OPT_REPLACE;
|
||||
break;
|
||||
case OPT_ADD:
|
||||
opt_method= OPT_ADD;
|
||||
case OPT_HASH:
|
||||
opt_hash= strdup(optarg);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,153 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <strings.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#define PROGRAM_NAME "memdump"
|
||||
#define PROGRAM_DESCRIPTION "Dump all values from one or many servers."
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
static int opt_binary=0;
|
||||
static int opt_verbose= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static char *opt_hash= NULL;
|
||||
|
||||
/* Print the keys and counter how many were found */
|
||||
static memcached_return key_printer(memcached_st *ptr __attribute__((unused)),
|
||||
const char *key, size_t key_length,
|
||||
void *context __attribute__((unused)))
|
||||
{
|
||||
printf("%.*s\n", (uint32_t)key_length, key);
|
||||
|
||||
return MEMCACHED_SUCCESS;
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_st *memc;
|
||||
memcached_return rc;
|
||||
memcached_server_st *servers;
|
||||
memcached_dump_func callbacks[1];
|
||||
|
||||
callbacks[0]= &key_printer;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
process_hash_option(memc, opt_hash);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_servers)
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
else
|
||||
servers= memcached_servers_parse(argv[--argc]);
|
||||
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t)opt_binary);
|
||||
|
||||
rc= memcached_dump(memc, callbacks, NULL, 1);
|
||||
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "memdump: memcache error %s", memcached_strerror(memc, rc));
|
||||
if (memc->cached_errno)
|
||||
fprintf(stderr, " system error %s", strerror(memc->cached_errno));
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
if (opt_servers)
|
||||
free(opt_servers);
|
||||
if (opt_hash)
|
||||
free(opt_hash);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"hash", required_argument, NULL, OPT_HASH},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
|
||||
if (option_rv == -1) break;
|
||||
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, NULL);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_HASH:
|
||||
opt_hash= strdup(optarg);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
#define PROGRAM_NAME "memerror"
|
||||
#define PROGRAM_DESCRIPTION "Translate a memcached errror code into a string."
|
||||
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
static int opt_verbose= 0;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (argc != 2)
|
||||
return 1;
|
||||
|
||||
printf("%s\n", memcached_strerror(NULL, atoi(argv[1])));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,125 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <getopt.h>
|
||||
#include <libmemcached/memcached.h>
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
|
||||
static int opt_binary= 0;
|
||||
static int opt_verbose= 0;
|
||||
static time_t opt_expire= 0;
|
||||
static char *opt_servers= NULL;
|
||||
|
||||
#define PROGRAM_NAME "memflush"
|
||||
#define PROGRAM_DESCRIPTION "Erase all data in a server of memcached servers."
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_st *memc;
|
||||
memcached_return rc;
|
||||
memcached_server_st *servers;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t) opt_binary);
|
||||
|
||||
rc = memcached_flush(memc, opt_expire);
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "memflush: memcache error %s",
|
||||
memcached_strerror(memc, rc));
|
||||
if (memc->cached_errno)
|
||||
fprintf(stderr, " system error %s", strerror(memc->cached_errno));
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
free(opt_servers);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"expire", required_argument, NULL, OPT_EXPIRE},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_EXPIRE: /* --expire */
|
||||
opt_expire= (time_t)strtoll(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,142 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <libmemcached/memcached.h>
|
||||
#include <string.h>
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
|
||||
static int opt_binary= 0;
|
||||
static int opt_verbose= 0;
|
||||
static time_t opt_expire= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static char *opt_hash= NULL;
|
||||
|
||||
#define PROGRAM_NAME "memrm"
|
||||
#define PROGRAM_DESCRIPTION "Erase a key or set of keys from a memcached cluster."
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_st *memc;
|
||||
memcached_return rc;
|
||||
memcached_server_st *servers;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
process_hash_option(memc, opt_hash);
|
||||
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t) opt_binary);
|
||||
|
||||
while (optind < argc)
|
||||
{
|
||||
if (opt_verbose)
|
||||
printf("key: %s\nexpires: %llu\n", argv[optind], (unsigned long long)opt_expire);
|
||||
rc = memcached_delete(memc, argv[optind], strlen(argv[optind]), opt_expire);
|
||||
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "memrm: %s: memcache error %s",
|
||||
argv[optind], memcached_strerror(memc, rc));
|
||||
if (memc->cached_errno)
|
||||
fprintf(stderr, " system error %s", strerror(memc->cached_errno));
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
optind++;
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
if (opt_servers)
|
||||
free(opt_servers);
|
||||
if (opt_hash)
|
||||
free(opt_hash);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"expire", required_argument, NULL, OPT_EXPIRE},
|
||||
{"hash", required_argument, NULL, OPT_HASH},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_EXPIRE: /* --expire */
|
||||
opt_expire= (time_t)strtoll(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case OPT_HASH:
|
||||
opt_hash= strdup(optarg);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,423 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/time.h>
|
||||
#include <getopt.h>
|
||||
#include <pthread.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
#include "generator.h"
|
||||
#include "execute.h"
|
||||
|
||||
#define DEFAULT_INITIAL_LOAD 10000
|
||||
#define DEFAULT_EXECUTE_NUMBER 10000
|
||||
#define DEFAULT_CONCURRENCY 1
|
||||
|
||||
#define PROGRAM_NAME "memslap"
|
||||
#define PROGRAM_DESCRIPTION "Generates a load against a memcached custer of servers."
|
||||
|
||||
/* Global Thread counter */
|
||||
volatile unsigned int thread_counter;
|
||||
pthread_mutex_t counter_mutex;
|
||||
pthread_cond_t count_threshhold;
|
||||
volatile unsigned int master_wakeup;
|
||||
pthread_mutex_t sleeper_mutex;
|
||||
pthread_cond_t sleep_threshhold;
|
||||
|
||||
void *run_task(void *p);
|
||||
|
||||
/* Types */
|
||||
typedef struct conclusions_st conclusions_st;
|
||||
typedef struct thread_context_st thread_context_st;
|
||||
typedef enum {
|
||||
SET_TEST,
|
||||
GET_TEST,
|
||||
} test_type;
|
||||
|
||||
struct thread_context_st {
|
||||
unsigned int key_count;
|
||||
pairs_st *initial_pairs;
|
||||
unsigned int initial_number;
|
||||
pairs_st *execute_pairs;
|
||||
unsigned int execute_number;
|
||||
test_type test;
|
||||
memcached_st *memc;
|
||||
};
|
||||
|
||||
struct conclusions_st {
|
||||
long int load_time;
|
||||
long int read_time;
|
||||
unsigned int rows_loaded;
|
||||
unsigned int rows_read;
|
||||
};
|
||||
|
||||
/* Prototypes */
|
||||
void options_parse(int argc, char *argv[]);
|
||||
void conclusions_print(conclusions_st *conclusion);
|
||||
void scheduler(memcached_server_st *servers, conclusions_st *conclusion);
|
||||
pairs_st *load_create_data(memcached_st *memc, unsigned int number_of,
|
||||
unsigned int *actual_loaded);
|
||||
void flush_all(memcached_st *memc);
|
||||
|
||||
static int opt_binary= 0;
|
||||
static int opt_verbose= 0;
|
||||
static int opt_flush= 0;
|
||||
static int opt_non_blocking_io= 0;
|
||||
static int opt_tcp_nodelay= 0;
|
||||
static unsigned int opt_execute_number= 0;
|
||||
static unsigned int opt_createial_load= 0;
|
||||
static unsigned int opt_concurrency= 0;
|
||||
static int opt_displayflag= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static int opt_udp_io= 0;
|
||||
test_type opt_test= SET_TEST;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
conclusions_st conclusion;
|
||||
memcached_server_st *servers;
|
||||
|
||||
memset(&conclusion, 0, sizeof(conclusions_st));
|
||||
|
||||
srandom((unsigned int)time(NULL));
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
|
||||
pthread_mutex_init(&counter_mutex, NULL);
|
||||
pthread_cond_init(&count_threshhold, NULL);
|
||||
pthread_mutex_init(&sleeper_mutex, NULL);
|
||||
pthread_cond_init(&sleep_threshhold, NULL);
|
||||
|
||||
scheduler(servers, &conclusion);
|
||||
|
||||
free(opt_servers);
|
||||
|
||||
(void)pthread_mutex_destroy(&counter_mutex);
|
||||
(void)pthread_cond_destroy(&count_threshhold);
|
||||
(void)pthread_mutex_destroy(&sleeper_mutex);
|
||||
(void)pthread_cond_destroy(&sleep_threshhold);
|
||||
conclusions_print(&conclusion);
|
||||
memcached_server_list_free(servers);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void scheduler(memcached_server_st *servers, conclusions_st *conclusion)
|
||||
{
|
||||
unsigned int x;
|
||||
unsigned int actual_loaded= 0; /* Fix warning */
|
||||
memcached_st *memc;
|
||||
|
||||
struct timeval start_time, end_time;
|
||||
pthread_t mainthread; /* Thread descriptor */
|
||||
pthread_attr_t attr; /* Thread attributes */
|
||||
pairs_st *pairs= NULL;
|
||||
|
||||
pthread_attr_init(&attr);
|
||||
pthread_attr_setdetachstate(&attr,
|
||||
PTHREAD_CREATE_DETACHED);
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
|
||||
/* We need to set udp behavior before adding servers to the client */
|
||||
if (opt_udp_io)
|
||||
{
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_USE_UDP,
|
||||
(uint64_t)opt_udp_io);
|
||||
for(x= 0; x < servers[0].count; x++ )
|
||||
servers[x].type= MEMCACHED_CONNECTION_UDP;
|
||||
}
|
||||
memcached_server_push(memc, servers);
|
||||
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
|
||||
(uint64_t)opt_binary);
|
||||
|
||||
if (opt_flush)
|
||||
flush_all(memc);
|
||||
if (opt_createial_load)
|
||||
pairs= load_create_data(memc, opt_createial_load, &actual_loaded);
|
||||
|
||||
/* We set this after we have loaded */
|
||||
{
|
||||
if (opt_non_blocking_io)
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_NO_BLOCK, 1);
|
||||
if (opt_tcp_nodelay)
|
||||
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_TCP_NODELAY, 1);
|
||||
}
|
||||
|
||||
|
||||
pthread_mutex_lock(&counter_mutex);
|
||||
thread_counter= 0;
|
||||
|
||||
pthread_mutex_lock(&sleeper_mutex);
|
||||
master_wakeup= 1;
|
||||
pthread_mutex_unlock(&sleeper_mutex);
|
||||
|
||||
for (x= 0; x < opt_concurrency; x++)
|
||||
{
|
||||
thread_context_st *context;
|
||||
context= (thread_context_st *)calloc(1, sizeof(thread_context_st));
|
||||
|
||||
context->memc= memcached_clone(NULL, memc);
|
||||
context->test= opt_test;
|
||||
|
||||
context->initial_pairs= pairs;
|
||||
context->initial_number= actual_loaded;
|
||||
|
||||
if (opt_test == SET_TEST)
|
||||
{
|
||||
context->execute_pairs= pairs_generate(opt_execute_number, 400);
|
||||
context->execute_number= opt_execute_number;
|
||||
}
|
||||
|
||||
/* now you create the thread */
|
||||
if (pthread_create(&mainthread, &attr, run_task,
|
||||
(void *)context) != 0)
|
||||
{
|
||||
fprintf(stderr,"Could not create thread\n");
|
||||
exit(1);
|
||||
}
|
||||
thread_counter++;
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&counter_mutex);
|
||||
pthread_attr_destroy(&attr);
|
||||
|
||||
pthread_mutex_lock(&sleeper_mutex);
|
||||
master_wakeup= 0;
|
||||
pthread_mutex_unlock(&sleeper_mutex);
|
||||
pthread_cond_broadcast(&sleep_threshhold);
|
||||
|
||||
gettimeofday(&start_time, NULL);
|
||||
/*
|
||||
We loop until we know that all children have cleaned up.
|
||||
*/
|
||||
pthread_mutex_lock(&counter_mutex);
|
||||
while (thread_counter)
|
||||
pthread_cond_wait(&count_threshhold, &counter_mutex);
|
||||
pthread_mutex_unlock(&counter_mutex);
|
||||
|
||||
gettimeofday(&end_time, NULL);
|
||||
|
||||
conclusion->load_time= timedif(end_time, start_time);
|
||||
conclusion->read_time= timedif(end_time, start_time);
|
||||
pairs_free(pairs);
|
||||
memcached_free(memc);
|
||||
}
|
||||
|
||||
void options_parse(int argc, char *argv[])
|
||||
{
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"concurrency", required_argument, NULL, OPT_SLAP_CONCURRENCY},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"execute-number", required_argument, NULL, OPT_SLAP_EXECUTE_NUMBER},
|
||||
{"flag", no_argument, &opt_displayflag, OPT_FLAG},
|
||||
{"flush", no_argument, &opt_flush, OPT_FLUSH},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"initial-load", required_argument, NULL, OPT_SLAP_INITIAL_LOAD}, /* Number to load initially */
|
||||
{"non-blocking", no_argument, &opt_non_blocking_io, OPT_SLAP_NON_BLOCK},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"tcp-nodelay", no_argument, &opt_tcp_nodelay, OPT_SLAP_TCP_NODELAY},
|
||||
{"test", required_argument, NULL, OPT_SLAP_TEST},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"binary", no_argument, NULL, OPT_BINARY},
|
||||
{"udp", no_argument, NULL, OPT_UDP},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_UDP:
|
||||
if (opt_test == GET_TEST)
|
||||
{
|
||||
fprintf(stderr, "You can not run a get test in UDP mode. UDP mode "
|
||||
"does not currently support get ops.\n");
|
||||
exit(1);
|
||||
}
|
||||
opt_udp_io= 1;
|
||||
break;
|
||||
case OPT_BINARY:
|
||||
opt_binary = 1;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_SLAP_TEST:
|
||||
if (!strcmp(optarg, "get"))
|
||||
{
|
||||
if (opt_udp_io == 1)
|
||||
{
|
||||
fprintf(stderr, "You can not run a get test in UDP mode. UDP mode "
|
||||
"does not currently support get ops.\n");
|
||||
exit(1);
|
||||
}
|
||||
opt_test= GET_TEST ;
|
||||
}
|
||||
else if (!strcmp(optarg, "set"))
|
||||
opt_test= SET_TEST;
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "Your test, %s, is not a known test\n", optarg);
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
case OPT_SLAP_CONCURRENCY:
|
||||
opt_concurrency= (unsigned int)strtoul(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case OPT_SLAP_EXECUTE_NUMBER:
|
||||
opt_execute_number= (unsigned int)strtoul(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case OPT_SLAP_INITIAL_LOAD:
|
||||
opt_createial_load= (unsigned int)strtoul(optarg, (char **)NULL, 10);
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_test == GET_TEST && opt_createial_load == 0)
|
||||
opt_createial_load= DEFAULT_INITIAL_LOAD;
|
||||
|
||||
if (opt_execute_number == 0)
|
||||
opt_execute_number= DEFAULT_EXECUTE_NUMBER;
|
||||
|
||||
if (opt_concurrency == 0)
|
||||
opt_concurrency= DEFAULT_CONCURRENCY;
|
||||
}
|
||||
|
||||
void conclusions_print(conclusions_st *conclusion)
|
||||
{
|
||||
printf("\tThreads connecting to servers %u\n", opt_concurrency);
|
||||
#ifdef NOT_FINISHED
|
||||
printf("\tLoaded %u rows\n", conclusion->rows_loaded);
|
||||
printf("\tRead %u rows\n", conclusion->rows_read);
|
||||
#endif
|
||||
if (opt_test == SET_TEST)
|
||||
printf("\tTook %ld.%03ld seconds to load data\n", conclusion->load_time / 1000,
|
||||
conclusion->load_time % 1000);
|
||||
else
|
||||
printf("\tTook %ld.%03ld seconds to read data\n", conclusion->read_time / 1000,
|
||||
conclusion->read_time % 1000);
|
||||
}
|
||||
|
||||
void *run_task(void *p)
|
||||
{
|
||||
thread_context_st *context= (thread_context_st *)p;
|
||||
memcached_st *memc;
|
||||
|
||||
memc= context->memc;
|
||||
|
||||
pthread_mutex_lock(&sleeper_mutex);
|
||||
while (master_wakeup)
|
||||
{
|
||||
pthread_cond_wait(&sleep_threshhold, &sleeper_mutex);
|
||||
}
|
||||
pthread_mutex_unlock(&sleeper_mutex);
|
||||
|
||||
/* Do Stuff */
|
||||
switch (context->test)
|
||||
{
|
||||
case SET_TEST:
|
||||
assert(context->execute_pairs);
|
||||
execute_set(memc, context->execute_pairs, context->execute_number);
|
||||
break;
|
||||
case GET_TEST:
|
||||
execute_get(memc, context->initial_pairs, context->initial_number);
|
||||
break;
|
||||
default:
|
||||
WATCHPOINT_ASSERT(context->test);
|
||||
break;
|
||||
}
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
if (context->execute_pairs)
|
||||
pairs_free(context->execute_pairs);
|
||||
|
||||
free(context);
|
||||
|
||||
pthread_mutex_lock(&counter_mutex);
|
||||
thread_counter--;
|
||||
pthread_cond_signal(&count_threshhold);
|
||||
pthread_mutex_unlock(&counter_mutex);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void flush_all(memcached_st *memc)
|
||||
{
|
||||
memcached_flush(memc, 0);
|
||||
}
|
||||
|
||||
pairs_st *load_create_data(memcached_st *memc, unsigned int number_of,
|
||||
unsigned int *actual_loaded)
|
||||
{
|
||||
memcached_st *memc_clone;
|
||||
pairs_st *pairs;
|
||||
|
||||
memc_clone= memcached_clone(NULL, memc);
|
||||
/* We always used non-blocking IO for load since it is faster */
|
||||
memcached_behavior_set(memc_clone, MEMCACHED_BEHAVIOR_NO_BLOCK, 0);
|
||||
|
||||
pairs= pairs_generate(number_of, 400);
|
||||
*actual_loaded= execute_set(memc_clone, pairs, number_of);
|
||||
|
||||
memcached_free(memc_clone);
|
||||
|
||||
return pairs;
|
||||
}
|
|
@ -0,0 +1,326 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <libmemcached/memcached.h>
|
||||
|
||||
#include "client_options.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#define PROGRAM_NAME "memstat"
|
||||
#define PROGRAM_DESCRIPTION "Output the state of a memcached cluster."
|
||||
|
||||
/* Prototypes */
|
||||
static void options_parse(int argc, char *argv[]);
|
||||
static void run_analyzer(memcached_st *memc, memcached_stat_st *memc_stat,
|
||||
memcached_server_st *server_list);
|
||||
static void print_server_listing(memcached_st *memc, memcached_stat_st *memc_stat,
|
||||
memcached_server_st *server_list);
|
||||
static void print_analysis_report(memcached_st *memc,
|
||||
memcached_analysis_st *report,
|
||||
memcached_server_st *server_list);
|
||||
|
||||
static int opt_verbose= 0;
|
||||
static int opt_displayflag= 0;
|
||||
static int opt_analyze= 0;
|
||||
static char *opt_servers= NULL;
|
||||
static char *analyze_mode= NULL;
|
||||
|
||||
static struct option long_options[]=
|
||||
{
|
||||
{"version", no_argument, NULL, OPT_VERSION},
|
||||
{"help", no_argument, NULL, OPT_HELP},
|
||||
{"verbose", no_argument, &opt_verbose, OPT_VERBOSE},
|
||||
{"debug", no_argument, &opt_verbose, OPT_DEBUG},
|
||||
{"servers", required_argument, NULL, OPT_SERVERS},
|
||||
{"flag", no_argument, &opt_displayflag, OPT_FLAG},
|
||||
{"analyze", optional_argument, NULL, OPT_ANALYZE},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
memcached_return rc;
|
||||
memcached_st *memc;
|
||||
memcached_stat_st *memc_stat;
|
||||
memcached_server_st *servers;
|
||||
memcached_server_st *server_list;
|
||||
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
if ((temp= getenv("MEMCACHED_SERVERS")))
|
||||
opt_servers= strdup(temp);
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "No Servers provided\n\n");
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, 0);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
|
||||
servers= memcached_servers_parse(opt_servers);
|
||||
memcached_server_push(memc, servers);
|
||||
memcached_server_list_free(servers);
|
||||
|
||||
memc_stat= memcached_stat(memc, NULL, &rc);
|
||||
|
||||
if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_SOME_ERRORS)
|
||||
{
|
||||
printf("Failure to communicate with servers (%s)\n",
|
||||
memcached_strerror(memc, rc));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
server_list= memcached_server_list(memc);
|
||||
|
||||
if (opt_analyze)
|
||||
run_analyzer(memc, memc_stat, server_list);
|
||||
else
|
||||
print_server_listing(memc, memc_stat, server_list);
|
||||
|
||||
free(memc_stat);
|
||||
free(opt_servers);
|
||||
|
||||
memcached_free(memc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void run_analyzer(memcached_st *memc, memcached_stat_st *memc_stat,
|
||||
memcached_server_st *server_list)
|
||||
{
|
||||
memcached_return rc;
|
||||
|
||||
if (analyze_mode == NULL)
|
||||
{
|
||||
memcached_analysis_st *report;
|
||||
report= memcached_analyze(memc, memc_stat, &rc);
|
||||
if (rc != MEMCACHED_SUCCESS || report == NULL)
|
||||
{
|
||||
printf("Failure to analyze servers (%s)\n",
|
||||
memcached_strerror(memc, rc));
|
||||
exit(1);
|
||||
}
|
||||
print_analysis_report(memc, report, server_list);
|
||||
free(report);
|
||||
}
|
||||
else if (strcmp(analyze_mode, "latency") == 0)
|
||||
{
|
||||
memcached_st **servers;
|
||||
uint32_t x, y, flags, server_count= memcached_server_count(memc);
|
||||
uint32_t num_of_tests= 32;
|
||||
const char *test_key= "libmemcached_test_key";
|
||||
|
||||
servers= malloc(sizeof(memcached_st*) * server_count);
|
||||
if (!servers)
|
||||
{
|
||||
fprintf(stderr, "Failed to allocate memory\n");
|
||||
return;
|
||||
}
|
||||
|
||||
for (x= 0; x < server_count; x++)
|
||||
{
|
||||
if((servers[x]= memcached_create(NULL)) == NULL)
|
||||
{
|
||||
fprintf(stderr, "Failed to memcached_create()\n");
|
||||
if (x > 0)
|
||||
memcached_free(servers[0]);
|
||||
x--;
|
||||
for (; x > 0; x--)
|
||||
memcached_free(servers[x]);
|
||||
|
||||
free(servers);
|
||||
return;
|
||||
}
|
||||
memcached_server_add(servers[x],
|
||||
memcached_server_name(memc, server_list[x]),
|
||||
memcached_server_port(memc, server_list[x]));
|
||||
}
|
||||
|
||||
printf("Network Latency Test:\n\n");
|
||||
struct timeval start_time, end_time;
|
||||
long elapsed_time, slowest_time= 0, slowest_server= 0;
|
||||
|
||||
for (x= 0; x < server_count; x++)
|
||||
{
|
||||
gettimeofday(&start_time, NULL);
|
||||
for (y= 0; y < num_of_tests; y++)
|
||||
{
|
||||
size_t vlen;
|
||||
char *val= memcached_get(servers[x], test_key, strlen(test_key),
|
||||
&vlen, &flags, &rc);
|
||||
if (rc != MEMCACHED_NOTFOUND && rc != MEMCACHED_SUCCESS)
|
||||
break;
|
||||
free(val);
|
||||
}
|
||||
gettimeofday(&end_time, NULL);
|
||||
|
||||
elapsed_time= timedif(end_time, start_time);
|
||||
elapsed_time /= num_of_tests;
|
||||
|
||||
if (elapsed_time > slowest_time)
|
||||
{
|
||||
slowest_server= x;
|
||||
slowest_time= elapsed_time;
|
||||
}
|
||||
|
||||
if (rc != MEMCACHED_NOTFOUND && rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
printf("\t %s (%d) => failed to reach the server\n",
|
||||
memcached_server_name(memc, server_list[x]),
|
||||
memcached_server_port(memc, server_list[x]));
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\t %s (%d) => %ld.%ld seconds\n",
|
||||
memcached_server_name(memc, server_list[x]),
|
||||
memcached_server_port(memc, server_list[x]),
|
||||
elapsed_time / 1000, elapsed_time % 1000);
|
||||
}
|
||||
}
|
||||
|
||||
if (server_count > 1 && slowest_time > 0)
|
||||
{
|
||||
printf("---\n");
|
||||
printf("Slowest Server: %s (%d) => %ld.%ld seconds\n",
|
||||
memcached_server_name(memc, server_list[slowest_server]),
|
||||
memcached_server_port(memc, server_list[slowest_server]),
|
||||
slowest_time / 1000, slowest_time % 1000);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
for (x= 0; x < server_count; x++)
|
||||
memcached_free(servers[x]);
|
||||
|
||||
free(servers);
|
||||
free(analyze_mode);
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "Invalid Analyzer Option provided\n");
|
||||
free(analyze_mode);
|
||||
}
|
||||
}
|
||||
|
||||
static void print_server_listing(memcached_st *memc, memcached_stat_st *memc_stat,
|
||||
memcached_server_st *server_list)
|
||||
{
|
||||
unsigned int x;
|
||||
memcached_return rc;
|
||||
|
||||
printf("Listing %u Server\n\n", memcached_server_count(memc));
|
||||
for (x= 0; x < memcached_server_count(memc); x++)
|
||||
{
|
||||
char **list;
|
||||
char **ptr;
|
||||
|
||||
list= memcached_stat_get_keys(memc, &memc_stat[x], &rc);
|
||||
|
||||
printf("Server: %s (%u)\n", memcached_server_name(memc, server_list[x]),
|
||||
memcached_server_port(memc, server_list[x]));
|
||||
for (ptr= list; *ptr; ptr++)
|
||||
{
|
||||
char *value= memcached_stat_get_value(memc, &memc_stat[x], *ptr, &rc);
|
||||
|
||||
printf("\t %s: %s\n", *ptr, value);
|
||||
free(value);
|
||||
}
|
||||
|
||||
free(list);
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
static void print_analysis_report(memcached_st *memc,
|
||||
memcached_analysis_st *report,
|
||||
memcached_server_st *server_list)
|
||||
{
|
||||
uint32_t server_count= memcached_server_count(memc);
|
||||
|
||||
printf("Memcached Cluster Analysis Report\n\n");
|
||||
|
||||
printf("\tNumber of Servers Analyzed : %d\n", server_count);
|
||||
printf("\tAverage Item Size (incl/overhead) : %u bytes\n",
|
||||
report->average_item_size);
|
||||
|
||||
if (server_count == 1)
|
||||
{
|
||||
printf("\nFor a detailed report, you must supply multiple servers.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
printf("\tNode with most memory consumption : %s:%u (%llu bytes)\n",
|
||||
memcached_server_name(memc, server_list[report->most_consumed_server]),
|
||||
memcached_server_port(memc, server_list[report->most_consumed_server]),
|
||||
(unsigned long long)report->most_used_bytes);
|
||||
printf("\tNode with least free space : %s:%u (%llu bytes remaining)\n",
|
||||
memcached_server_name(memc, server_list[report->least_free_server]),
|
||||
memcached_server_port(memc, server_list[report->least_free_server]),
|
||||
(unsigned long long)report->least_remaining_bytes);
|
||||
printf("\tNode with longest uptime : %s:%u (%us)\n",
|
||||
memcached_server_name(memc, server_list[report->oldest_server]),
|
||||
memcached_server_port(memc, server_list[report->oldest_server]),
|
||||
report->longest_uptime);
|
||||
printf("\tPool-wide Hit Ratio : %1.f%%\n", report->pool_hit_ratio);
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
static void options_parse(int argc, char *argv[])
|
||||
{
|
||||
memcached_programs_help_st help_options[]=
|
||||
{
|
||||
{0},
|
||||
};
|
||||
|
||||
int option_index= 0;
|
||||
int option_rv;
|
||||
|
||||
while (1)
|
||||
{
|
||||
option_rv= getopt_long(argc, argv, "Vhvds:a", long_options, &option_index);
|
||||
if (option_rv == -1) break;
|
||||
switch (option_rv)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose or -v */
|
||||
opt_verbose = OPT_VERBOSE;
|
||||
break;
|
||||
case OPT_DEBUG: /* --debug or -d */
|
||||
opt_verbose = OPT_DEBUG;
|
||||
break;
|
||||
case OPT_VERSION: /* --version or -V */
|
||||
version_command(PROGRAM_NAME);
|
||||
break;
|
||||
case OPT_HELP: /* --help or -h */
|
||||
help_command(PROGRAM_NAME, PROGRAM_DESCRIPTION, long_options, help_options);
|
||||
break;
|
||||
case OPT_SERVERS: /* --servers or -s */
|
||||
opt_servers= strdup(optarg);
|
||||
break;
|
||||
case OPT_ANALYZE: /* --analyze or -a */
|
||||
opt_analyze= OPT_ANALYZE;
|
||||
analyze_mode= (optarg) ? strdup(optarg) : NULL;
|
||||
break;
|
||||
case '?':
|
||||
/* getopt_long already printed an error message. */
|
||||
exit(1);
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
#include "libmemcached/common.h"
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "utilities.h"
|
||||
|
||||
|
||||
long int timedif(struct timeval a, struct timeval b)
|
||||
{
|
||||
register int us, s;
|
||||
|
||||
us = (int)(a.tv_usec - b.tv_usec);
|
||||
us /= 1000;
|
||||
s = (int)(a.tv_sec - b.tv_sec);
|
||||
s *= 1000;
|
||||
return s + us;
|
||||
}
|
||||
|
||||
void version_command(const char *command_name)
|
||||
{
|
||||
printf("%s v%u.%u\n", command_name, 1, 0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static const char *lookup_help(memcached_options option)
|
||||
{
|
||||
switch (option)
|
||||
{
|
||||
case OPT_SERVERS: return("List which servers you wish to connect to.");
|
||||
case OPT_VERSION: return("Display the version of the application and then exit.");
|
||||
case OPT_HELP: return("Diplay this message and then exit.");
|
||||
case OPT_VERBOSE: return("Give more details on the progression of the application.");
|
||||
case OPT_DEBUG: return("Provide output only useful for debugging.");
|
||||
case OPT_FLAG: return("Provide flag information for storage operation.");
|
||||
case OPT_EXPIRE: return("Set the expire option for the object.");
|
||||
case OPT_SET: return("Use set command with memcached when storing.");
|
||||
case OPT_REPLACE: return("Use replace command with memcached when storing.");
|
||||
case OPT_ADD: return("Use add command with memcached when storing.");
|
||||
case OPT_SLAP_EXECUTE_NUMBER: return("Number of times to execute the given test.");
|
||||
case OPT_SLAP_INITIAL_LOAD: return("Number of key pairs to load before executing tests.");
|
||||
case OPT_SLAP_TEST: return("Test to run (currently \"get\" or \"set\").");
|
||||
case OPT_SLAP_CONCURRENCY: return("Number of users to simulate with load.");
|
||||
case OPT_SLAP_NON_BLOCK: return("Set TCP up to use non-blocking IO.");
|
||||
case OPT_SLAP_TCP_NODELAY: return("Set TCP socket up to use nodelay.");
|
||||
case OPT_FLUSH: return("Flush servers before running tests.");
|
||||
case OPT_HASH: return("Select hash type.");
|
||||
case OPT_BINARY: return("Switch to binary protocol.");
|
||||
case OPT_ANALYZE: return("Analyze the provided servers.");
|
||||
case OPT_UDP: return("Use UDP protocol when communicating with server.");
|
||||
default: WATCHPOINT_ASSERT(0);
|
||||
};
|
||||
|
||||
WATCHPOINT_ASSERT(0);
|
||||
return "forgot to document this function :)";
|
||||
}
|
||||
|
||||
void help_command(const char *command_name, const char *description,
|
||||
const struct option *long_options,
|
||||
memcached_programs_help_st *options __attribute__((unused)))
|
||||
{
|
||||
unsigned int x;
|
||||
|
||||
printf("%s v%u.%u\n\n", command_name, 1, 0);
|
||||
printf("\t%s\n\n", description);
|
||||
printf("Current options. A '=' means the option takes a value.\n\n");
|
||||
|
||||
for (x= 0; long_options[x].name; x++)
|
||||
{
|
||||
const char *help_message;
|
||||
|
||||
printf("\t --%s%c\n", long_options[x].name,
|
||||
long_options[x].has_arg ? '=' : ' ');
|
||||
if ((help_message= lookup_help(long_options[x].val)))
|
||||
printf("\t\t%s\n", help_message);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void process_hash_option(memcached_st *memc, char *opt_hash)
|
||||
{
|
||||
uint64_t set;
|
||||
memcached_return rc;
|
||||
|
||||
if (opt_hash == NULL)
|
||||
return;
|
||||
|
||||
set= MEMCACHED_HASH_DEFAULT; /* Just here to solve warning */
|
||||
if (!strcasecmp(opt_hash, "CRC"))
|
||||
set= MEMCACHED_HASH_CRC;
|
||||
else if (!strcasecmp(opt_hash, "FNV1_64"))
|
||||
set= MEMCACHED_HASH_FNV1_64;
|
||||
else if (!strcasecmp(opt_hash, "FNV1A_64"))
|
||||
set= MEMCACHED_HASH_FNV1A_64;
|
||||
else if (!strcasecmp(opt_hash, "FNV1_32"))
|
||||
set= MEMCACHED_HASH_FNV1_32;
|
||||
else if (!strcasecmp(opt_hash, "FNV1A_32"))
|
||||
set= MEMCACHED_HASH_FNV1A_32;
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "hash: type not recognized %s\n", opt_hash);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH, set);
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "hash: memcache error %s\n", memcached_strerror(memc, rc));
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
#include <getopt.h>
|
||||
#include <libmemcached/memcached.h>
|
||||
#include "client_options.h"
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef struct memcached_programs_help_st memcached_programs_help_st;
|
||||
|
||||
struct memcached_programs_help_st
|
||||
{
|
||||
char *not_used_yet;
|
||||
};
|
||||
|
||||
char *strdup_cleanup(const char *str);
|
||||
void cleanup(void);
|
||||
long int timedif(struct timeval a, struct timeval b);
|
||||
void version_command(const char *command_name);
|
||||
void help_command(const char *command_name, const char *description,
|
||||
const struct option *long_options,
|
||||
memcached_programs_help_st *options);
|
||||
void process_hash_option(memcached_st *memc, char *opt_hash);
|
|
@ -0,0 +1,232 @@
|
|||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable big endian byteorder */
|
||||
/* #undef BYTEORDER_BIG_ENDIAN */
|
||||
|
||||
/* Enable little endian byteorder */
|
||||
#define BYTEORDER_LITTLE_ENDIAN 1
|
||||
|
||||
/* Define to 1 if you have the <assert.h> header file. */
|
||||
#define HAVE_ASSERT_H 1
|
||||
|
||||
/* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */
|
||||
/* #undef HAVE_BOOST_SHARED_PTR_HPP */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Enables DTRACE Support */
|
||||
/* #undef HAVE_DTRACE */
|
||||
|
||||
/* Enables hsieh hashing support */
|
||||
/* #undef HAVE_HSIEH_HASH */
|
||||
|
||||
/* Have ntohll */
|
||||
/* #undef HAVE_HTONLL */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `c_p' library (-lc_p). */
|
||||
/* #undef HAVE_LIBC_P */
|
||||
|
||||
/* Enables libmemcachedutil Support */
|
||||
#define HAVE_LIBMEMCACHEDUTIL 1
|
||||
|
||||
/* Define to 1 if you have the `mtmalloc' library (-lmtmalloc). */
|
||||
/* #undef HAVE_LIBMTMALLOC */
|
||||
|
||||
/* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
|
||||
/* #undef HAVE_LIBTCMALLOC */
|
||||
|
||||
/* Define to 1 if you have the `tcmalloc-minimal' library
|
||||
(-ltcmalloc-minimal). */
|
||||
/* #undef HAVE_LIBTCMALLOC_MINIMAL */
|
||||
|
||||
/* Define to 1 if you have the `umem' library (-lumem). */
|
||||
/* #undef HAVE_LIBUMEM */
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#define HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <memory> header file. */
|
||||
#define HAVE_MEMORY 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define if you have POSIX threads libraries and header files. */
|
||||
#define HAVE_PTHREAD 1
|
||||
|
||||
/* Define to 1 if you have a working SO_RCVTIMEO */
|
||||
#define HAVE_RCVTIMEO 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#define HAVE_REALLOC 1
|
||||
|
||||
/* Define to 1 if you have a working SO_SNDTIMEO */
|
||||
#define HAVE_SNDTIMEO 1
|
||||
|
||||
/* Define if g++ supports C++0x features. */
|
||||
/* #undef HAVE_STDCXX_0X */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <tr1/memory> header file. */
|
||||
#define HAVE_TR1_MEMORY 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#define HAVE_VISIBILITY 1
|
||||
|
||||
/* Name of the memcached binary used in make test */
|
||||
#define MEMCACHED_BINARY "/opt/local/bin/memcached"
|
||||
|
||||
/* Define to 1 if assertions should be disabled. */
|
||||
/* #undef NDEBUG */
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "libmemcached"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "http://tangent.org/552/libmemcached.html"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "libmemcached"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "libmemcached 0.31"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "libmemcached"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "0.31"
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
/* #undef PTHREAD_CREATE_JOINABLE */
|
||||
|
||||
/* The namespace in which SHARED_PTR can be found */
|
||||
#define SHARED_PTR_NAMESPACE std::tr1
|
||||
|
||||
/* Define if ISO C++ 1998 header files are present. */
|
||||
#define STDCXX_98_HEADERS /**/
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.31"
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#if defined __BIG_ENDIAN__
|
||||
# define WORDS_BIGENDIAN 1
|
||||
#elif ! defined __LITTLE_ENDIAN__
|
||||
/* # undef WORDS_BIGENDIAN */
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
|
||||
/* Define to 500 only on HP-UX. */
|
||||
/* #undef _XOPEN_SOURCE */
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# define _ALL_SOURCE 1
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# define _POSIX_PTHREAD_SEMANTICS 1
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# define _TANDEM_SOURCE 1
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# define __EXTENSIONS__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
/* #undef malloc */
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
/* #undef realloc */
|
||||
|
||||
/* Define to the equivalent of the C99 'restrict' keyword, or to
|
||||
nothing if this is not supported. Do not define if restrict is
|
||||
supported directly. */
|
||||
#define restrict __restrict
|
||||
/* Work around a bug in Sun C++: it does not support _Restrict, even
|
||||
though the corresponding Sun C compiler does, which causes
|
||||
"#define restrict _Restrict" in the previous line. Perhaps some future
|
||||
version of Sun C++ will work with _Restrict; if so, it'll probably
|
||||
define __RESTRICT, just as Sun C does. */
|
||||
#if defined __SUNPRO_CC && !defined __RESTRICT
|
||||
# define _Restrict
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
||||
code using `volatile' can become incorrect without. Disable with care. */
|
||||
/* #undef volatile */
|
|
@ -0,0 +1,231 @@
|
|||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable big endian byteorder */
|
||||
#undef BYTEORDER_BIG_ENDIAN
|
||||
|
||||
/* Enable little endian byteorder */
|
||||
#undef BYTEORDER_LITTLE_ENDIAN
|
||||
|
||||
/* Define to 1 if you have the <assert.h> header file. */
|
||||
#undef HAVE_ASSERT_H
|
||||
|
||||
/* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */
|
||||
#undef HAVE_BOOST_SHARED_PTR_HPP
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Enables DTRACE Support */
|
||||
#undef HAVE_DTRACE
|
||||
|
||||
/* Enables hsieh hashing support */
|
||||
#undef HAVE_HSIEH_HASH
|
||||
|
||||
/* Have ntohll */
|
||||
#undef HAVE_HTONLL
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `c_p' library (-lc_p). */
|
||||
#undef HAVE_LIBC_P
|
||||
|
||||
/* Enables libmemcachedutil Support */
|
||||
#undef HAVE_LIBMEMCACHEDUTIL
|
||||
|
||||
/* Define to 1 if you have the `mtmalloc' library (-lmtmalloc). */
|
||||
#undef HAVE_LIBMTMALLOC
|
||||
|
||||
/* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
|
||||
#undef HAVE_LIBTCMALLOC
|
||||
|
||||
/* Define to 1 if you have the `tcmalloc-minimal' library
|
||||
(-ltcmalloc-minimal). */
|
||||
#undef HAVE_LIBTCMALLOC_MINIMAL
|
||||
|
||||
/* Define to 1 if you have the `umem' library (-lumem). */
|
||||
#undef HAVE_LIBUMEM
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#undef HAVE_MALLOC
|
||||
|
||||
/* Define to 1 if you have the <memory> header file. */
|
||||
#undef HAVE_MEMORY
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define if you have POSIX threads libraries and header files. */
|
||||
#undef HAVE_PTHREAD
|
||||
|
||||
/* Define to 1 if you have a working SO_RCVTIMEO */
|
||||
#undef HAVE_RCVTIMEO
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#undef HAVE_REALLOC
|
||||
|
||||
/* Define to 1 if you have a working SO_SNDTIMEO */
|
||||
#undef HAVE_SNDTIMEO
|
||||
|
||||
/* Define if g++ supports C++0x features. */
|
||||
#undef HAVE_STDCXX_0X
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <tr1/memory> header file. */
|
||||
#undef HAVE_TR1_MEMORY
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#undef HAVE_VISIBILITY
|
||||
|
||||
/* Name of the memcached binary used in make test */
|
||||
#undef MEMCACHED_BINARY
|
||||
|
||||
/* Define to 1 if assertions should be disabled. */
|
||||
#undef NDEBUG
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
#undef NO_MINUS_C_MINUS_O
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
#undef PTHREAD_CREATE_JOINABLE
|
||||
|
||||
/* The namespace in which SHARED_PTR can be found */
|
||||
#undef SHARED_PTR_NAMESPACE
|
||||
|
||||
/* Define if ISO C++ 1998 header files are present. */
|
||||
#undef STDCXX_98_HEADERS
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#if defined __BIG_ENDIAN__
|
||||
# define WORDS_BIGENDIAN 1
|
||||
#elif ! defined __LITTLE_ENDIAN__
|
||||
# undef WORDS_BIGENDIAN
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
#undef _LARGE_FILES
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define to 500 only on HP-UX. */
|
||||
#undef _XOPEN_SOURCE
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# undef _POSIX_PTHREAD_SEMANTICS
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# undef _TANDEM_SOURCE
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
#undef malloc
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
#undef realloc
|
||||
|
||||
/* Define to the equivalent of the C99 'restrict' keyword, or to
|
||||
nothing if this is not supported. Do not define if restrict is
|
||||
supported directly. */
|
||||
#undef restrict
|
||||
/* Work around a bug in Sun C++: it does not support _Restrict, even
|
||||
though the corresponding Sun C compiler does, which causes
|
||||
"#define restrict _Restrict" in the previous line. Perhaps some future
|
||||
version of Sun C++ will work with _Restrict; if so, it'll probably
|
||||
define __RESTRICT, just as Sun C does. */
|
||||
#if defined __SUNPRO_CC && !defined __RESTRICT
|
||||
# define _Restrict
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
||||
code using `volatile' can become incorrect without. Disable with care. */
|
||||
#undef volatile
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,88 @@
|
|||
#!/bin/sh
|
||||
# Taken from lighthttpd server (BSD). Thanks Jan!
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
die() { echo "$@"; exit 1; }
|
||||
|
||||
# --force means overwrite ltmain.sh script if it already exists
|
||||
LIBTOOLIZE_FLAGS=" --automake --copy --force"
|
||||
# --add-missing instructs automake to install missing auxiliary files
|
||||
# and --force to overwrite them if they already exist
|
||||
AUTOMAKE_FLAGS="--add-missing --copy --force"
|
||||
ACLOCAL_FLAGS="-I m4"
|
||||
|
||||
ARGV0=$0
|
||||
ARGS="$@"
|
||||
|
||||
run() {
|
||||
echo "$ARGV0: running \`$@' $ARGS"
|
||||
$@ $ARGS
|
||||
}
|
||||
|
||||
# Try to locate a program by using which, and verify that the file is an
|
||||
# executable
|
||||
locate_binary() {
|
||||
for f in $@
|
||||
do
|
||||
file=`which $f 2>/dev/null | grep -v '^no '`
|
||||
if test -n "$file" -a -x "$file"; then
|
||||
echo $file
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
echo ""
|
||||
return 1
|
||||
}
|
||||
|
||||
# Try to detect the supported binaries if the user didn't
|
||||
# override that by pushing the environment variable
|
||||
if test x$LIBTOOLIZE = x; then
|
||||
LIBTOOLIZE=`locate_binary glibtoolize libtoolize-1.5 libtoolize`
|
||||
if test x$LIBTOOLIZE = x; then
|
||||
die "Did not find a supported libtoolize"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$ACLOCAL = x; then
|
||||
ACLOCAL=`locate_binary aclocal-1.10 aclocal-1.9 aclocal19 aclocal`
|
||||
if test x$ACLOCAL = x; then
|
||||
die "Did not find a supported aclocal"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$AUTOMAKE = x; then
|
||||
AUTOMAKE=`locate_binary automake-1.10 automake-1.9 automake19 automake`
|
||||
if test x$AUTOMAKE = x; then
|
||||
die "Did not find a supported automake"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$AUTOCONF = x; then
|
||||
AUTOCONF=`locate_binary autoconf-2.59 autoconf259 autoconf`
|
||||
if test x$AUTOCONF = x; then
|
||||
die "Did not find a supported autoconf"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$AUTOHEADER = x; then
|
||||
AUTOHEADER=`locate_binary autoheader-2.59 autoheader259 autoheader`
|
||||
if test x$AUTOHEADER = x; then
|
||||
die "Did not find a supported autoheader"
|
||||
fi
|
||||
fi
|
||||
|
||||
run $LIBTOOLIZE $LIBTOOLIZE_FLAGS || die "Can't execute libtoolize"
|
||||
run $ACLOCAL $ACLOCAL_FLAGS || die "Can't execute aclocal"
|
||||
run $AUTOHEADER || die "Can't execute autoheader"
|
||||
run $AUTOMAKE $AUTOMAKE_FLAGS || die "Can't execute automake"
|
||||
run $AUTOCONF || die "Can't execute autoconf"
|
||||
|
||||
echo "---"
|
||||
echo "Configured with the following tools:"
|
||||
echo " * `$LIBTOOLIZE --version | head -1`"
|
||||
echo " * `$ACLOCAL --version | head -1`"
|
||||
echo " * `$AUTOHEADER --version | head -1`"
|
||||
echo " * `$AUTOMAKE --version | head -1`"
|
||||
echo " * `$AUTOCONF --version | head -1`"
|
||||
echo "---"
|
|
@ -0,0 +1 @@
|
|||
autorun.sh
|
|
@ -0,0 +1,142 @@
|
|||
#! /bin/sh
|
||||
# Wrapper for compilers which do not understand `-c -o'.
|
||||
|
||||
scriptversion=2005-05-14.22
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Wrapper for compilers which do not understand `-c -o'.
|
||||
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||
arguments, and rename the output as expected.
|
||||
|
||||
If you are trying to build a whole package this is not the
|
||||
right script to run: please start by reading the file `INSTALL'.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "compile $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
eat=
|
||||
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as `compile cc -o foo foo.c'.
|
||||
# So we strip `-o arg' only if arg is an object.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.obj)
|
||||
ofile=$2
|
||||
;;
|
||||
*)
|
||||
set x "$@" -o "$2"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no `-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# `.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use `[/.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$@"
|
||||
ret=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
mv "$cofile" "$ofile"
|
||||
elif test -f "${cofile}bj"; then
|
||||
mv "${cofile}bj" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir "$lockdir"
|
||||
exit $ret
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,589 @@
|
|||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2007-03-29.01
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
|
||||
# Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by `PROGRAMS ARGS'.
|
||||
object Object file output by `PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputing dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
icc)
|
||||
# Intel's C compiler understands `-MD -MF file'. However on
|
||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||
# ICC 7.0 will fill foo.d with something like
|
||||
# foo.o: sub/foo.c
|
||||
# foo.o: sub/foo.h
|
||||
# which is wrong. We want:
|
||||
# sub/foo.o: sub/foo.c
|
||||
# sub/foo.o: sub/foo.h
|
||||
# sub/foo.c:
|
||||
# sub/foo.h:
|
||||
# ICC 7.1 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using \ :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||
sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add `dependent.h:' lines.
|
||||
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# With Tru64 cc, shared objects can also be used to make a
|
||||
# static library. This mechanism is used in libtool 1.4 series to
|
||||
# handle both shared and static libraries in a single compilation.
|
||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
||||
#
|
||||
# With libtool 1.5 this exception was removed, and libtool now
|
||||
# generates 2 separate objects for the 2 libraries. These two
|
||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.o.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
tmpdepfile4=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for `:'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test $1 != '--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E |
|
||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
"$@" || exit $?
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
|
@ -0,0 +1,519 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2006-12-25.00
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dst_arg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
-*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,367 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2006-05-10.23
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case $1 in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
autom4te touch the output file, or create a stub one
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program).
|
||||
case $1 in
|
||||
lex|yacc)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case $1 in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case $f in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f y.tab.h; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if test ! -f y.tab.c; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f lex.yy.c; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '
|
||||
/^@setfilename/{
|
||||
s/.* \([^ ]*\) *$/\1/
|
||||
p
|
||||
q
|
||||
}' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
# If the file does not exist, the user really needs makeinfo;
|
||||
# let's fail without touching anything.
|
||||
test -f $file || exit 1
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case $firstarg in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case $firstarg in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,112 @@
|
|||
# libmemcached
|
||||
# Copyright (C) 2008 Brian Aker, Monty Taylor
|
||||
# All rights reserved.
|
||||
#
|
||||
# Use and distribution licensed under the BSD license. See
|
||||
# the COPYING file in this directory for full text.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT([libmemcached],[0.31],[http://tangent.org/552/libmemcached.html])
|
||||
AC_CONFIG_SRCDIR([libmemcached/memcached.c])
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
PANDORA_CANONICAL_TARGET
|
||||
|
||||
#shared library versioning
|
||||
MEMCACHED_LIBRARY_VERSION=2:0:0
|
||||
# | | |
|
||||
# +------+ | +---+
|
||||
# | | |
|
||||
# current:revision:age
|
||||
# | | |
|
||||
# | | +- increment if interfaces have been added
|
||||
# | | set to zero if interfaces have been removed or changed
|
||||
# | +- increment if source code has changed
|
||||
# | set to zero if current is incremented
|
||||
# +- increment if interfaces have been added, removed or changed
|
||||
AC_SUBST(MEMCACHED_LIBRARY_VERSION)
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION=0:0:0
|
||||
AC_SUBST(MEMCACHEDUTIL_LIBRARY_VERSION)
|
||||
|
||||
|
||||
# libmemcached versioning when linked with GNU ld.
|
||||
if test "$lt_cv_prog_gnu_ld" = "yes"
|
||||
then
|
||||
LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libmemcached/libmemcached.ver"
|
||||
LD_UTIL_VERSION_SCRIPT="-Wl,--version-script=\$(top_srcdir)/libmemcachedutil/libmemcachedutil.ver"
|
||||
fi
|
||||
AC_SUBST(LD_VERSION_SCRIPT)
|
||||
AC_SUBST(LD_UTIL_VERSION_SCRIPT)
|
||||
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Check for libpthread
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
ACX_PTHREAD(,AC_MSG_ERROR(could not find libpthread))
|
||||
LIBS="${PTHREAD_LIBS} ${LIBS}"
|
||||
CFLAGS="${PTHREAD_CFLAGS} ${CFLAGS}"
|
||||
CC="$PTHREAD_CC"
|
||||
|
||||
|
||||
AC_SEARCH_LIBS(getopt_long, gnugetopt)
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lm"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdlib.h>
|
||||
]],[[
|
||||
float f= floorf((float) 1.0);
|
||||
]],
|
||||
[LIBM="-lm"],[LIBM=""])])
|
||||
|
||||
AC_SUBST(LIBM)
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
AC_SEARCH_LIBS(floorf, m)
|
||||
|
||||
dnl Specialty checks
|
||||
DETECT_BYTEORDER
|
||||
ENABLE_UTILLIB
|
||||
SETSOCKOPT_SANITY
|
||||
ENABLE_HSIEH_HASH
|
||||
REQUIRE_POD2MAN
|
||||
PROTOCOL_BINARY_TEST
|
||||
WITH_MEMCACHED
|
||||
ENABLE_DEPRECATED
|
||||
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
clients/Makefile
|
||||
tests/Makefile
|
||||
docs/Makefile
|
||||
libmemcached/Makefile
|
||||
libmemcached/memcached_configure.h
|
||||
libmemcachedutil/Makefile
|
||||
support/Makefile
|
||||
support/libmemcached.pc
|
||||
support/libmemcached.spec
|
||||
support/libmemcached-fc.spec
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
||||
echo "---"
|
||||
echo "Configuration summary for $PACKAGE_NAME version $VERSION"
|
||||
echo ""
|
||||
echo " * Installation prefix: $prefix"
|
||||
echo " * System type: $host_vendor-$host_os"
|
||||
echo " * Host CPU: $host_cpu"
|
||||
echo " * C Compiler: $CC_VERSION"
|
||||
echo " * Assertions enabled: $ac_cv_assert"
|
||||
echo " * Debug enabled: $with_debug"
|
||||
echo " * Warnings as failure: $ac_cv_warnings_as_errors"
|
||||
echo ""
|
||||
echo "---"
|
||||
|
|
@ -0,0 +1,840 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# docs/Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/libmemcached
|
||||
pkglibdir = $(libdir)/libmemcached
|
||||
pkgincludedir = $(includedir)/libmemcached
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = i386-apple-darwin9.7.0
|
||||
host_triplet = i386-apple-darwin9.7.0
|
||||
target_triplet = i386-apple-darwin9.7.0
|
||||
am__append_1 = libmemcachedutil.3 \
|
||||
memcached_pool_create.3 \
|
||||
memcached_pool_destroy.3 \
|
||||
memcached_pool_push.3 \
|
||||
memcached_pool_pop.3
|
||||
|
||||
subdir = docs
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
man1dir = $(mandir)/man1
|
||||
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
|
||||
man3dir = $(mandir)/man3
|
||||
NROFF = nroff
|
||||
MANS = $(man_MANS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run aclocal-1.10
|
||||
AMTAR = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run tar
|
||||
AM_CFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings
|
||||
AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -ggdb3
|
||||
AM_CXXFLAGS = -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wstrict-aliasing -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Weffc++ -Wold-style-cast -Wno-redundant-decls
|
||||
AR = ar
|
||||
AUTOCONF = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run automake-1.10
|
||||
AWK = gawk
|
||||
BETTER_MALLOC_LIBS =
|
||||
CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CC_VERSION = i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CFLAGS = -D_THREAD_SAFE
|
||||
CFLAG_VISIBILITY = -fvisibility=hidden
|
||||
CPP = /usr/bin/gcc-4.2 -E
|
||||
CPPFLAGS = -I/opt/local/include
|
||||
CXX = /usr/bin/g++-4.2
|
||||
CXXCPP = /usr/bin/g++-4.2 -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -std=gnu++98
|
||||
CXX_VERSION = i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DEPRECATED =
|
||||
DOXYGEN =
|
||||
DSYMUTIL = dsymutil
|
||||
DTRACE =
|
||||
DTRACEFLAGS =
|
||||
ECHO = /bin/echo
|
||||
ECHO_C = \c
|
||||
ECHO_N =
|
||||
ECHO_T =
|
||||
EGREP = /usr/bin/grep -E
|
||||
EXEEXT =
|
||||
F77 =
|
||||
FFLAGS =
|
||||
GREP = /usr/bin/grep
|
||||
HAVE_VISIBILITY = 1
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
ISAINFO = no
|
||||
LDFLAGS = -L/opt/local/lib
|
||||
LD_UTIL_VERSION_SCRIPT =
|
||||
LD_VERSION_SCRIPT =
|
||||
LIBC_P =
|
||||
LIBM =
|
||||
LIBOBJS =
|
||||
LIBS =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} /Users/eweaver/p/fauna/libmemcached/config/missing --run makeinfo
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = 0:0:0
|
||||
MEMCACHED_LIBRARY_VERSION = 2:0:0
|
||||
MEMC_BINARY = /opt/local/bin/memcached
|
||||
MKDIR_P = ../config/install-sh -c -d
|
||||
NMEDIT = nmedit
|
||||
NO_CONVERSION =
|
||||
NO_REDUNDANT_DECLS = -Wno-redundant-decls
|
||||
NO_SHADOW = -Wno-shadow
|
||||
NO_STRICT_ALIASING = -fno-strict-aliasing -Wno-strict-aliasing
|
||||
NO_UNREACHED =
|
||||
OBJEXT = o
|
||||
PACKAGE = libmemcached
|
||||
PACKAGE_BUGREPORT = http://tangent.org/552/libmemcached.html
|
||||
PACKAGE_NAME = libmemcached
|
||||
PACKAGE_STRING = libmemcached 0.31
|
||||
PACKAGE_TARNAME = libmemcached
|
||||
PACKAGE_VERSION = 0.31
|
||||
PATH_SEPARATOR = :
|
||||
PERL = perl
|
||||
POD2MAN = /opt/local/bin/pod2man
|
||||
PROTOSKIP_WARNINGS = -Wno-effc++ -Wno-shadow
|
||||
PTHREAD_CC = /usr/bin/gcc-4.2 -std=gnu99
|
||||
PTHREAD_CFLAGS = -D_THREAD_SAFE
|
||||
PTHREAD_LIBS =
|
||||
RANLIB = ranlib
|
||||
SED = /opt/local/bin/gsed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = strip
|
||||
VERSION = 0.31
|
||||
abs_builddir = /Users/eweaver/p/fauna/libmemcached/docs
|
||||
abs_srcdir = /Users/eweaver/p/fauna/libmemcached/docs
|
||||
abs_top_builddir = /Users/eweaver/p/fauna/libmemcached
|
||||
abs_top_srcdir = /Users/eweaver/p/fauna/libmemcached
|
||||
ac_ct_CC = gcc
|
||||
ac_ct_CXX =
|
||||
ac_ct_F77 =
|
||||
acx_pthread_config =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i386-apple-darwin9.7.0
|
||||
build_alias =
|
||||
build_cpu = i386
|
||||
build_os = darwin9.7.0
|
||||
build_vendor = apple
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host = i386-apple-darwin9.7.0
|
||||
host_alias =
|
||||
host_cpu = i386
|
||||
host_os = darwin9.7.0
|
||||
host_vendor = apple
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = $(SHELL) /Users/eweaver/p/fauna/libmemcached/config/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = $(top_builddir)/config/install-sh -c -d
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix = /opt/local
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
sysconfdir = ${prefix}/etc
|
||||
target = i386-apple-darwin9.7.0
|
||||
target_alias =
|
||||
target_cpu = i386
|
||||
target_os = darwin9.7.0
|
||||
target_vendor = apple
|
||||
top_build_prefix = ../
|
||||
top_builddir = ..
|
||||
top_srcdir = ..
|
||||
CLEANFILES = *.1 *.3
|
||||
EXTRA_DIST = libmemcached.pod\
|
||||
libmemcachedutil.pod\
|
||||
memcached_flush.pod\
|
||||
memcached_dump.pod\
|
||||
memcached_stats.pod\
|
||||
memrm.pod\
|
||||
memerror.pod\
|
||||
libmemcached_examples.pod\
|
||||
memcached_get.pod\
|
||||
memcached_strerror.pod\
|
||||
memslap.pod\
|
||||
memcached_auto.pod\
|
||||
memcached_quit.pod\
|
||||
memcached_verbosity.pod\
|
||||
memstat.pod\
|
||||
memcached_behavior.pod\
|
||||
memcached_callback.pod\
|
||||
memcached_server_st.pod\
|
||||
memcat.pod\
|
||||
memcached_create.pod\
|
||||
memcached_pool.pod\
|
||||
memcached_servers.pod\
|
||||
memcp.pod\
|
||||
memcached_delete.pod\
|
||||
memcached_set.pod\
|
||||
memcached_version.pod\
|
||||
memflush.pod\
|
||||
memdump.pod\
|
||||
memcached_flush_buffers.pod\
|
||||
memcached_analyze.pod\
|
||||
memcached_generate_hash_value.pod\
|
||||
memcached_memory_allocators.pod\
|
||||
memcached_user_data.pod
|
||||
|
||||
man_MANS = libmemcached.3 libmemcached_examples.3 memcat.1 memcp.1 \
|
||||
memerror.1 memflush.1 memdump.1 memrm.1 memslap.1 memstat.1 \
|
||||
memcached_add.3 memcached_add_by_key.3 memcached_append.3 \
|
||||
memcached_append_by_key.3 memcached_analyze.3 \
|
||||
memcached_behavior_get.3 memcached_behavior_set.3 \
|
||||
memcached_callback_get.3 memcached_callback_set.3 \
|
||||
memcached_cas.3 memcached_cas_by_key.3 memcached_clone.3 \
|
||||
memcached_create.3 memcached_decrement.3 \
|
||||
memcached_decrement_with_initial.3 memcached_delete.3 \
|
||||
memcached_delete_by_key.3 memcached_fetch.3 \
|
||||
memcached_fetch_execute.3 memcached_fetch_result.3 \
|
||||
memcached_free.3 memcached_get.3 memcached_get_by_key.3 \
|
||||
memcached_increment.3 memcached_increment_with_initial.3 \
|
||||
memcached_mget.3 memcached_mget_by_key.3 memcached_prepend.3 \
|
||||
memcached_prepend_by_key.3 memcached_replace.3 \
|
||||
memcached_replace_by_key.3 memcached_server_add.3 \
|
||||
memcached_server_count.3 memcached_server_list.3 \
|
||||
memcached_server_list_append.3 memcached_server_list_count.3 \
|
||||
memcached_server_list_free.3 memcached_server_push.3 \
|
||||
memcached_servers_parse.3 memcached_set.3 \
|
||||
memcached_set_by_key.3 memcached_stat.3 \
|
||||
memcached_stat_get_keys.3 memcached_stat_get_value.3 \
|
||||
memcached_stat_servername.3 memcached_strerror.3 \
|
||||
memcached_quit.3 memcached_verbosity.3 memcached_lib_version.3 \
|
||||
memcached_version.3 memcached_flush_buffers.3 memcached_dump.3 \
|
||||
memcached_generate_hash_value.3 \
|
||||
memcached_set_memory_allocators.3 \
|
||||
memcached_get_memory_allocators.3 memcached_set_user_data.3 \
|
||||
memcached_get_user_data.3 $(am__append_1)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu docs/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-man1: $(man1_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
1*) ;; \
|
||||
*) ext='1' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
|
||||
done
|
||||
uninstall-man1:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
1*) ;; \
|
||||
*) ext='1' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
|
||||
rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
|
||||
done
|
||||
install-man3: $(man3_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
|
||||
@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.3*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
3*) ;; \
|
||||
*) ext='3' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
|
||||
done
|
||||
uninstall-man3:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.3*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
3*) ;; \
|
||||
*) ext='3' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
|
||||
rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(MANS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am: html-local
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-man
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man: install-man1 install-man3
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-man
|
||||
|
||||
uninstall-man: uninstall-man1 uninstall-man3
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am html-local info info-am install install-am \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-man1 \
|
||||
install-man3 install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 \
|
||||
uninstall-man3
|
||||
|
||||
|
||||
libmemcached.3: libmemcached.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached.pod > libmemcached.3
|
||||
|
||||
libmemcachedutil.3: libmemcachedutil.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/libmemcachedutil.pod > libmemcachedutil.3
|
||||
|
||||
libmemcached_examples.3: libmemcached_examples.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached_examples.pod > libmemcached_examples.3
|
||||
|
||||
memcached_create.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_create.3
|
||||
|
||||
memcached_free.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_free.3
|
||||
|
||||
memcached_clone.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_clone.3
|
||||
|
||||
memcached_set.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set.3
|
||||
|
||||
memcached_set_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set_by_key.3
|
||||
|
||||
memcached_cas.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas.3
|
||||
|
||||
memcached_cas_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas_by_key.3
|
||||
|
||||
memcached_replace.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace.3
|
||||
|
||||
memcached_replace_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace_by_key.3
|
||||
|
||||
memcached_add.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add.3
|
||||
|
||||
memcached_add_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add_by_key.3
|
||||
|
||||
memcached_prepend.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend.3
|
||||
|
||||
memcached_prepend_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend_by_key.3
|
||||
|
||||
memcached_append.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append.3
|
||||
|
||||
memcached_append_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append_by_key.3
|
||||
|
||||
memcached_delete.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete.3
|
||||
|
||||
memcached_delete_by_key.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete_by_key.3
|
||||
|
||||
memcached_increment.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment.3
|
||||
|
||||
memcached_increment_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment_with_initial.3
|
||||
|
||||
memcached_decrement.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement.3
|
||||
|
||||
memcached_decrement_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement_with_initial.3
|
||||
|
||||
memcached_dump.3: memcached_dump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_dump.pod > memcached_dump.3
|
||||
|
||||
memcached_flush.3: memcached_flush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush.pod > memcached_flush.3
|
||||
|
||||
memcached_get.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get.3
|
||||
|
||||
memcached_get_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get_by_key.3
|
||||
|
||||
memcached_fetch_result.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_result.3
|
||||
|
||||
memcached_fetch_execute.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_execute.3
|
||||
|
||||
memcached_mget.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget.3
|
||||
|
||||
memcached_mget_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget_by_key.3
|
||||
|
||||
memcached_fetch.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch.3
|
||||
|
||||
memcached_quit.3: memcached_quit.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_quit.pod > memcached_quit.3
|
||||
|
||||
memcached_strerror.3: memcached_strerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_strerror.pod > memcached_strerror.3
|
||||
|
||||
memcached_server_count.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_count.3
|
||||
|
||||
memcached_server_list.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_list.3
|
||||
|
||||
memcached_server_add.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add.3
|
||||
|
||||
memcached_server_add_unix_socket.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add_unix_socket.3
|
||||
|
||||
memcached_server_push.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_push.3
|
||||
|
||||
memcached_server_list_free.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_free.3
|
||||
|
||||
memcached_server_list_count.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_count.3
|
||||
|
||||
memcached_server_list_append.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_append.3
|
||||
|
||||
memcached_servers_parse.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_servers_parse.3
|
||||
|
||||
memcached_verbosity.3: memcached_verbosity.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_verbosity.pod > memcached_verbosity.3
|
||||
|
||||
memcached_behavior_get.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_get.3
|
||||
|
||||
memcached_behavior_set.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_set.3
|
||||
|
||||
memcached_callback_get.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_get.3
|
||||
|
||||
memcached_callback_set.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_set.3
|
||||
|
||||
memcached_stat.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat.3
|
||||
|
||||
memcached_stat_servername.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_servername.3
|
||||
|
||||
memcached_stat_get_value.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_value.3
|
||||
|
||||
memcached_stat_get_keys.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_keys.3
|
||||
|
||||
memcached_result_st.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_st.3
|
||||
|
||||
memcached_result_create.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_create.3
|
||||
|
||||
memcached_result_free.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_free.3
|
||||
|
||||
memcached_result_key_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_value.3
|
||||
|
||||
memcached_result_key_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_length.3
|
||||
|
||||
memcached_result_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_value.3
|
||||
|
||||
memcached_result_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_length.3
|
||||
|
||||
memcached_result_flags.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_flags.3
|
||||
|
||||
memcached_result_cas.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_cas.3
|
||||
|
||||
memcached_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_version.3
|
||||
|
||||
memcached_lib_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_lib_version.3
|
||||
|
||||
memcached_flush_buffers.3: memcached_flush_buffers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush_buffers.pod > memcached_flush_buffers.3
|
||||
|
||||
memcached_analyze.3: memcached_analyze.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_analyze.pod > memcached_analyze.3
|
||||
|
||||
memcached_generate_hash_value.3: memcached_generate_hash_value.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_generate_hash_value.pod > memcached_generate_hash_value.3
|
||||
|
||||
memcached_get_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_get_memory_allocators.3
|
||||
|
||||
memcached_set_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3
|
||||
|
||||
memcached_get_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_get_user_data.3
|
||||
|
||||
memcached_set_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_set_user_data.3
|
||||
|
||||
memcached_pool_create.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_create.3
|
||||
|
||||
memcached_pool_destroy.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_destroy.3
|
||||
|
||||
memcached_pool_pop.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_pop.3
|
||||
|
||||
memcached_pool_push.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_push.3
|
||||
|
||||
memcp.1: memcp.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcp.pod > memcp.1
|
||||
|
||||
memslap.1: memslap.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memslap.pod > memslap.1
|
||||
|
||||
memcat.1: memcat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcat.pod > memcat.1
|
||||
|
||||
memstat.1: memstat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memstat.pod > memstat.1
|
||||
|
||||
memrm.1: memrm.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memrm.pod > memrm.1
|
||||
|
||||
memerror.1: memerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memerror.pod > memerror.1
|
||||
|
||||
memdump.1: memdump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memdump.pod > memdump.1
|
||||
|
||||
memflush.1: memflush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memflush.pod > memflush.1
|
||||
|
||||
test:
|
||||
podchecker $(top_srcdir)/docs/libmemcached.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_stats.pod
|
||||
podchecker $(top_srcdir)/docs/memrm.pod
|
||||
podchecker $(top_srcdir)/docs/memerror.pod
|
||||
podchecker $(top_srcdir)/docs/libmemcached_examples.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_get.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_strerror.pod
|
||||
podchecker $(top_srcdir)/docs/memslap.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_auto.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_quit.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_verbosity.pod
|
||||
podchecker $(top_srcdir)/docs/memstat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_behavior.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_callback.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_server_st.pod
|
||||
podchecker $(top_srcdir)/docs/memcat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_create.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_servers.pod
|
||||
podchecker $(top_srcdir)/docs/memcp.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_delete.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_set.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_version.pod
|
||||
podchecker $(top_srcdir)/docs/memflush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush_buffers.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_pool.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_memory_allocators.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_user_data.pod
|
||||
|
||||
html-local:
|
||||
pod2htmltree "/libmemcached" .
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,396 @@
|
|||
CLEANFILES= *.1 *.3
|
||||
|
||||
|
||||
EXTRA_DIST = libmemcached.pod\
|
||||
libmemcachedutil.pod\
|
||||
memcached_flush.pod\
|
||||
memcached_dump.pod\
|
||||
memcached_stats.pod\
|
||||
memrm.pod\
|
||||
memerror.pod\
|
||||
libmemcached_examples.pod\
|
||||
memcached_get.pod\
|
||||
memcached_strerror.pod\
|
||||
memslap.pod\
|
||||
memcached_auto.pod\
|
||||
memcached_quit.pod\
|
||||
memcached_verbosity.pod\
|
||||
memstat.pod\
|
||||
memcached_behavior.pod\
|
||||
memcached_callback.pod\
|
||||
memcached_server_st.pod\
|
||||
memcat.pod\
|
||||
memcached_create.pod\
|
||||
memcached_pool.pod\
|
||||
memcached_servers.pod\
|
||||
memcp.pod\
|
||||
memcached_delete.pod\
|
||||
memcached_set.pod\
|
||||
memcached_version.pod\
|
||||
memflush.pod\
|
||||
memdump.pod\
|
||||
memcached_flush_buffers.pod\
|
||||
memcached_analyze.pod\
|
||||
memcached_generate_hash_value.pod\
|
||||
memcached_memory_allocators.pod\
|
||||
memcached_user_data.pod
|
||||
|
||||
man_MANS = libmemcached.3\
|
||||
libmemcached_examples.3\
|
||||
memcat.1\
|
||||
memcp.1\
|
||||
memerror.1\
|
||||
memflush.1\
|
||||
memdump.1\
|
||||
memrm.1\
|
||||
memslap.1\
|
||||
memstat.1\
|
||||
memcached_add.3\
|
||||
memcached_add_by_key.3\
|
||||
memcached_append.3\
|
||||
memcached_append_by_key.3\
|
||||
memcached_analyze.3\
|
||||
memcached_behavior_get.3\
|
||||
memcached_behavior_set.3\
|
||||
memcached_callback_get.3\
|
||||
memcached_callback_set.3\
|
||||
memcached_cas.3\
|
||||
memcached_cas_by_key.3\
|
||||
memcached_clone.3\
|
||||
memcached_create.3\
|
||||
memcached_decrement.3\
|
||||
memcached_decrement_with_initial.3\
|
||||
memcached_delete.3\
|
||||
memcached_delete_by_key.3\
|
||||
memcached_fetch.3\
|
||||
memcached_fetch_execute.3\
|
||||
memcached_fetch_result.3\
|
||||
memcached_free.3\
|
||||
memcached_get.3\
|
||||
memcached_get_by_key.3\
|
||||
memcached_increment.3\
|
||||
memcached_increment_with_initial.3\
|
||||
memcached_mget.3\
|
||||
memcached_mget_by_key.3\
|
||||
memcached_prepend.3\
|
||||
memcached_prepend_by_key.3\
|
||||
memcached_replace.3\
|
||||
memcached_replace_by_key.3\
|
||||
memcached_server_add.3\
|
||||
memcached_server_count.3\
|
||||
memcached_server_list.3\
|
||||
memcached_server_list_append.3\
|
||||
memcached_server_list_count.3\
|
||||
memcached_server_list_free.3\
|
||||
memcached_server_push.3\
|
||||
memcached_servers_parse.3\
|
||||
memcached_set.3\
|
||||
memcached_set_by_key.3\
|
||||
memcached_stat.3\
|
||||
memcached_stat_get_keys.3\
|
||||
memcached_stat_get_value.3\
|
||||
memcached_stat_servername.3\
|
||||
memcached_strerror.3\
|
||||
memcached_quit.3\
|
||||
memcached_verbosity.3\
|
||||
memcached_lib_version.3\
|
||||
memcached_version.3\
|
||||
memcached_flush_buffers.3\
|
||||
memcached_dump.3\
|
||||
memcached_generate_hash_value.3\
|
||||
memcached_set_memory_allocators.3\
|
||||
memcached_get_memory_allocators.3\
|
||||
memcached_set_user_data.3\
|
||||
memcached_get_user_data.3
|
||||
|
||||
if BUILD_LIBMEMCACHEDUTIL
|
||||
man_MANS+= libmemcachedutil.3 \
|
||||
memcached_pool_create.3 \
|
||||
memcached_pool_destroy.3 \
|
||||
memcached_pool_push.3 \
|
||||
memcached_pool_pop.3
|
||||
endif
|
||||
|
||||
|
||||
libmemcached.3: libmemcached.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached.pod > libmemcached.3
|
||||
|
||||
libmemcachedutil.3: libmemcachedutil.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/libmemcachedutil.pod > libmemcachedutil.3
|
||||
|
||||
libmemcached_examples.3: libmemcached_examples.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached_examples.pod > libmemcached_examples.3
|
||||
|
||||
memcached_create.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_create.3
|
||||
|
||||
memcached_free.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_free.3
|
||||
|
||||
memcached_clone.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_clone.3
|
||||
|
||||
memcached_set.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set.3
|
||||
|
||||
memcached_set_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set_by_key.3
|
||||
|
||||
memcached_cas.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas.3
|
||||
|
||||
memcached_cas_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas_by_key.3
|
||||
|
||||
memcached_replace.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace.3
|
||||
|
||||
memcached_replace_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace_by_key.3
|
||||
|
||||
memcached_add.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add.3
|
||||
|
||||
memcached_add_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add_by_key.3
|
||||
|
||||
memcached_prepend.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend.3
|
||||
|
||||
memcached_prepend_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend_by_key.3
|
||||
|
||||
memcached_append.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append.3
|
||||
|
||||
memcached_append_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append_by_key.3
|
||||
|
||||
memcached_delete.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete.3
|
||||
|
||||
memcached_delete_by_key.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete_by_key.3
|
||||
|
||||
memcached_increment.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment.3
|
||||
|
||||
memcached_increment_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment_with_initial.3
|
||||
|
||||
memcached_decrement.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement.3
|
||||
|
||||
memcached_decrement_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement_with_initial.3
|
||||
|
||||
memcached_dump.3: memcached_dump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_dump.pod > memcached_dump.3
|
||||
|
||||
memcached_flush.3: memcached_flush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush.pod > memcached_flush.3
|
||||
|
||||
memcached_get.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get.3
|
||||
|
||||
memcached_get_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get_by_key.3
|
||||
|
||||
memcached_fetch_result.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_result.3
|
||||
|
||||
memcached_fetch_execute.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_execute.3
|
||||
|
||||
memcached_mget.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget.3
|
||||
|
||||
memcached_mget_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget_by_key.3
|
||||
|
||||
memcached_fetch.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch.3
|
||||
|
||||
memcached_quit.3: memcached_quit.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_quit.pod > memcached_quit.3
|
||||
|
||||
memcached_strerror.3: memcached_strerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_strerror.pod > memcached_strerror.3
|
||||
|
||||
memcached_server_count.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_count.3
|
||||
|
||||
memcached_server_list.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_list.3
|
||||
|
||||
memcached_server_add.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add.3
|
||||
|
||||
memcached_server_add_unix_socket.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add_unix_socket.3
|
||||
|
||||
memcached_server_push.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_push.3
|
||||
|
||||
memcached_server_list_free.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_free.3
|
||||
|
||||
memcached_server_list_count.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_count.3
|
||||
|
||||
memcached_server_list_append.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_append.3
|
||||
|
||||
memcached_servers_parse.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_servers_parse.3
|
||||
|
||||
memcached_verbosity.3: memcached_verbosity.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_verbosity.pod > memcached_verbosity.3
|
||||
|
||||
memcached_behavior_get.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_get.3
|
||||
|
||||
memcached_behavior_set.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_set.3
|
||||
|
||||
memcached_callback_get.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_get.3
|
||||
|
||||
memcached_callback_set.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_set.3
|
||||
|
||||
memcached_stat.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat.3
|
||||
|
||||
memcached_stat_servername.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_servername.3
|
||||
|
||||
memcached_stat_get_value.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_value.3
|
||||
|
||||
memcached_stat_get_keys.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_keys.3
|
||||
|
||||
memcached_result_st.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_st.3
|
||||
|
||||
memcached_result_create.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_create.3
|
||||
|
||||
memcached_result_free.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_free.3
|
||||
|
||||
memcached_result_key_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_value.3
|
||||
|
||||
memcached_result_key_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_length.3
|
||||
|
||||
memcached_result_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_value.3
|
||||
|
||||
memcached_result_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_length.3
|
||||
|
||||
memcached_result_flags.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_flags.3
|
||||
|
||||
memcached_result_cas.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_cas.3
|
||||
|
||||
memcached_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_version.3
|
||||
|
||||
memcached_lib_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_lib_version.3
|
||||
|
||||
memcached_flush_buffers.3: memcached_flush_buffers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush_buffers.pod > memcached_flush_buffers.3
|
||||
|
||||
memcached_analyze.3: memcached_analyze.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_analyze.pod > memcached_analyze.3
|
||||
|
||||
memcached_generate_hash_value.3: memcached_generate_hash_value.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_generate_hash_value.pod > memcached_generate_hash_value.3
|
||||
|
||||
memcached_get_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_get_memory_allocators.3
|
||||
|
||||
memcached_set_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3
|
||||
|
||||
memcached_get_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_get_user_data.3
|
||||
|
||||
memcached_set_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_set_user_data.3
|
||||
|
||||
memcached_pool_create.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_create.3
|
||||
|
||||
memcached_pool_destroy.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_destroy.3
|
||||
|
||||
memcached_pool_pop.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_pop.3
|
||||
|
||||
memcached_pool_push.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_push.3
|
||||
|
||||
memcp.1: memcp.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcp.pod > memcp.1
|
||||
|
||||
memslap.1: memslap.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memslap.pod > memslap.1
|
||||
|
||||
memcat.1: memcat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcat.pod > memcat.1
|
||||
|
||||
memstat.1: memstat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memstat.pod > memstat.1
|
||||
|
||||
memrm.1: memrm.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memrm.pod > memrm.1
|
||||
|
||||
memerror.1: memerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memerror.pod > memerror.1
|
||||
|
||||
memdump.1: memdump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memdump.pod > memdump.1
|
||||
|
||||
memflush.1: memflush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memflush.pod > memflush.1
|
||||
|
||||
test:
|
||||
podchecker $(top_srcdir)/docs/libmemcached.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_stats.pod
|
||||
podchecker $(top_srcdir)/docs/memrm.pod
|
||||
podchecker $(top_srcdir)/docs/memerror.pod
|
||||
podchecker $(top_srcdir)/docs/libmemcached_examples.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_get.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_strerror.pod
|
||||
podchecker $(top_srcdir)/docs/memslap.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_auto.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_quit.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_verbosity.pod
|
||||
podchecker $(top_srcdir)/docs/memstat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_behavior.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_callback.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_server_st.pod
|
||||
podchecker $(top_srcdir)/docs/memcat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_create.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_servers.pod
|
||||
podchecker $(top_srcdir)/docs/memcp.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_delete.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_set.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_version.pod
|
||||
podchecker $(top_srcdir)/docs/memflush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush_buffers.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_pool.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_memory_allocators.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_user_data.pod
|
||||
|
||||
html-local:
|
||||
pod2htmltree "/libmemcached" .
|
||||
|
|
@ -0,0 +1,840 @@
|
|||
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
@BUILD_LIBMEMCACHEDUTIL_TRUE@am__append_1 = libmemcachedutil.3 \
|
||||
@BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_create.3 \
|
||||
@BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_destroy.3 \
|
||||
@BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_push.3 \
|
||||
@BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_pop.3
|
||||
|
||||
subdir = docs
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \
|
||||
$(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \
|
||||
$(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/byteorder.m4 \
|
||||
$(top_srcdir)/m4/deprecated.m4 \
|
||||
$(top_srcdir)/m4/enable_utillib.m4 \
|
||||
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/hsieh.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/memcached.m4 \
|
||||
$(top_srcdir)/m4/pandora_64bit.m4 \
|
||||
$(top_srcdir)/m4/pandora_canonical.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_compiler_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_check_cxx_standard.m4 \
|
||||
$(top_srcdir)/m4/pandora_enable_dtrace.m4 \
|
||||
$(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \
|
||||
$(top_srcdir)/m4/pandora_have_better_malloc.m4 \
|
||||
$(top_srcdir)/m4/pandora_header_assert.m4 \
|
||||
$(top_srcdir)/m4/pandora_libtool.m4 \
|
||||
$(top_srcdir)/m4/pandora_optimize.m4 \
|
||||
$(top_srcdir)/m4/pandora_shared_ptr.m4 \
|
||||
$(top_srcdir)/m4/pandora_vc_build.m4 \
|
||||
$(top_srcdir)/m4/pandora_warnings.m4 \
|
||||
$(top_srcdir)/m4/pod2man.m4 \
|
||||
$(top_srcdir)/m4/protocol_binary.m4 \
|
||||
$(top_srcdir)/m4/setsockopt.m4 $(top_srcdir)/m4/visibility.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
man1dir = $(mandir)/man1
|
||||
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
|
||||
man3dir = $(mandir)/man3
|
||||
NROFF = nroff
|
||||
MANS = $(man_MANS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_CFLAGS = @AM_CFLAGS@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@
|
||||
AM_CXXFLAGS = @AM_CXXFLAGS@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BETTER_MALLOC_LIBS = @BETTER_MALLOC_LIBS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CC_VERSION = @CC_VERSION@
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXX_VERSION = @CXX_VERSION@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DEPRECATED = @DEPRECATED@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DTRACE = @DTRACE@
|
||||
DTRACEFLAGS = @DTRACEFLAGS@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
HAVE_VISIBILITY = @HAVE_VISIBILITY@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
ISAINFO = @ISAINFO@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LD_UTIL_VERSION_SCRIPT = @LD_UTIL_VERSION_SCRIPT@
|
||||
LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@
|
||||
LIBC_P = @LIBC_P@
|
||||
LIBM = @LIBM@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@
|
||||
MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@
|
||||
MEMC_BINARY = @MEMC_BINARY@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NMEDIT = @NMEDIT@
|
||||
NO_CONVERSION = @NO_CONVERSION@
|
||||
NO_REDUNDANT_DECLS = @NO_REDUNDANT_DECLS@
|
||||
NO_SHADOW = @NO_SHADOW@
|
||||
NO_STRICT_ALIASING = @NO_STRICT_ALIASING@
|
||||
NO_UNREACHED = @NO_UNREACHED@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
POD2MAN = @POD2MAN@
|
||||
PROTOSKIP_WARNINGS = @PROTOSKIP_WARNINGS@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
acx_pthread_config = @acx_pthread_config@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
CLEANFILES = *.1 *.3
|
||||
EXTRA_DIST = libmemcached.pod\
|
||||
libmemcachedutil.pod\
|
||||
memcached_flush.pod\
|
||||
memcached_dump.pod\
|
||||
memcached_stats.pod\
|
||||
memrm.pod\
|
||||
memerror.pod\
|
||||
libmemcached_examples.pod\
|
||||
memcached_get.pod\
|
||||
memcached_strerror.pod\
|
||||
memslap.pod\
|
||||
memcached_auto.pod\
|
||||
memcached_quit.pod\
|
||||
memcached_verbosity.pod\
|
||||
memstat.pod\
|
||||
memcached_behavior.pod\
|
||||
memcached_callback.pod\
|
||||
memcached_server_st.pod\
|
||||
memcat.pod\
|
||||
memcached_create.pod\
|
||||
memcached_pool.pod\
|
||||
memcached_servers.pod\
|
||||
memcp.pod\
|
||||
memcached_delete.pod\
|
||||
memcached_set.pod\
|
||||
memcached_version.pod\
|
||||
memflush.pod\
|
||||
memdump.pod\
|
||||
memcached_flush_buffers.pod\
|
||||
memcached_analyze.pod\
|
||||
memcached_generate_hash_value.pod\
|
||||
memcached_memory_allocators.pod\
|
||||
memcached_user_data.pod
|
||||
|
||||
man_MANS = libmemcached.3 libmemcached_examples.3 memcat.1 memcp.1 \
|
||||
memerror.1 memflush.1 memdump.1 memrm.1 memslap.1 memstat.1 \
|
||||
memcached_add.3 memcached_add_by_key.3 memcached_append.3 \
|
||||
memcached_append_by_key.3 memcached_analyze.3 \
|
||||
memcached_behavior_get.3 memcached_behavior_set.3 \
|
||||
memcached_callback_get.3 memcached_callback_set.3 \
|
||||
memcached_cas.3 memcached_cas_by_key.3 memcached_clone.3 \
|
||||
memcached_create.3 memcached_decrement.3 \
|
||||
memcached_decrement_with_initial.3 memcached_delete.3 \
|
||||
memcached_delete_by_key.3 memcached_fetch.3 \
|
||||
memcached_fetch_execute.3 memcached_fetch_result.3 \
|
||||
memcached_free.3 memcached_get.3 memcached_get_by_key.3 \
|
||||
memcached_increment.3 memcached_increment_with_initial.3 \
|
||||
memcached_mget.3 memcached_mget_by_key.3 memcached_prepend.3 \
|
||||
memcached_prepend_by_key.3 memcached_replace.3 \
|
||||
memcached_replace_by_key.3 memcached_server_add.3 \
|
||||
memcached_server_count.3 memcached_server_list.3 \
|
||||
memcached_server_list_append.3 memcached_server_list_count.3 \
|
||||
memcached_server_list_free.3 memcached_server_push.3 \
|
||||
memcached_servers_parse.3 memcached_set.3 \
|
||||
memcached_set_by_key.3 memcached_stat.3 \
|
||||
memcached_stat_get_keys.3 memcached_stat_get_value.3 \
|
||||
memcached_stat_servername.3 memcached_strerror.3 \
|
||||
memcached_quit.3 memcached_verbosity.3 memcached_lib_version.3 \
|
||||
memcached_version.3 memcached_flush_buffers.3 memcached_dump.3 \
|
||||
memcached_generate_hash_value.3 \
|
||||
memcached_set_memory_allocators.3 \
|
||||
memcached_get_memory_allocators.3 memcached_set_user_data.3 \
|
||||
memcached_get_user_data.3 $(am__append_1)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu docs/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-man1: $(man1_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
1*) ;; \
|
||||
*) ext='1' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
|
||||
done
|
||||
uninstall-man1:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.1*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
1*) ;; \
|
||||
*) ext='1' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
|
||||
rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
|
||||
done
|
||||
install-man3: $(man3_MANS) $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
|
||||
@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.3*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||
else file=$$i; fi; \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
3*) ;; \
|
||||
*) ext='3' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
|
||||
done
|
||||
uninstall-man3:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
|
||||
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||
for i in $$l2; do \
|
||||
case "$$i" in \
|
||||
*.3*) list="$$list $$i" ;; \
|
||||
esac; \
|
||||
done; \
|
||||
for i in $$list; do \
|
||||
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||
case "$$ext" in \
|
||||
3*) ;; \
|
||||
*) ext='3' ;; \
|
||||
esac; \
|
||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||
echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
|
||||
rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(MANS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am: html-local
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-man
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man: install-man1 install-man3
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-man
|
||||
|
||||
uninstall-man: uninstall-man1 uninstall-man3
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am html-local info info-am install install-am \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-man1 \
|
||||
install-man3 install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 \
|
||||
uninstall-man3
|
||||
|
||||
|
||||
libmemcached.3: libmemcached.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached.pod > libmemcached.3
|
||||
|
||||
libmemcachedutil.3: libmemcachedutil.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/libmemcachedutil.pod > libmemcachedutil.3
|
||||
|
||||
libmemcached_examples.3: libmemcached_examples.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached_examples.pod > libmemcached_examples.3
|
||||
|
||||
memcached_create.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_create.3
|
||||
|
||||
memcached_free.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_free.3
|
||||
|
||||
memcached_clone.3: memcached_create.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_create.pod > memcached_clone.3
|
||||
|
||||
memcached_set.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set.3
|
||||
|
||||
memcached_set_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_set_by_key.3
|
||||
|
||||
memcached_cas.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas.3
|
||||
|
||||
memcached_cas_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_cas_by_key.3
|
||||
|
||||
memcached_replace.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace.3
|
||||
|
||||
memcached_replace_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_replace_by_key.3
|
||||
|
||||
memcached_add.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add.3
|
||||
|
||||
memcached_add_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_add_by_key.3
|
||||
|
||||
memcached_prepend.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend.3
|
||||
|
||||
memcached_prepend_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_prepend_by_key.3
|
||||
|
||||
memcached_append.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append.3
|
||||
|
||||
memcached_append_by_key.3: memcached_set.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_set.pod > memcached_append_by_key.3
|
||||
|
||||
memcached_delete.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete.3
|
||||
|
||||
memcached_delete_by_key.3: memcached_delete.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_delete.pod > memcached_delete_by_key.3
|
||||
|
||||
memcached_increment.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment.3
|
||||
|
||||
memcached_increment_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_increment_with_initial.3
|
||||
|
||||
memcached_decrement.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement.3
|
||||
|
||||
memcached_decrement_with_initial.3:
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_auto.pod > memcached_decrement_with_initial.3
|
||||
|
||||
memcached_dump.3: memcached_dump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_dump.pod > memcached_dump.3
|
||||
|
||||
memcached_flush.3: memcached_flush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush.pod > memcached_flush.3
|
||||
|
||||
memcached_get.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get.3
|
||||
|
||||
memcached_get_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_get_by_key.3
|
||||
|
||||
memcached_fetch_result.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_result.3
|
||||
|
||||
memcached_fetch_execute.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch_execute.3
|
||||
|
||||
memcached_mget.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget.3
|
||||
|
||||
memcached_mget_by_key.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_mget_by_key.3
|
||||
|
||||
memcached_fetch.3: memcached_get.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_get.pod > memcached_fetch.3
|
||||
|
||||
memcached_quit.3: memcached_quit.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_quit.pod > memcached_quit.3
|
||||
|
||||
memcached_strerror.3: memcached_strerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_strerror.pod > memcached_strerror.3
|
||||
|
||||
memcached_server_count.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_count.3
|
||||
|
||||
memcached_server_list.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_list.3
|
||||
|
||||
memcached_server_add.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add.3
|
||||
|
||||
memcached_server_add_unix_socket.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_add_unix_socket.3
|
||||
|
||||
memcached_server_push.3: memcached_servers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_servers.pod > memcached_server_push.3
|
||||
|
||||
memcached_server_list_free.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_free.3
|
||||
|
||||
memcached_server_list_count.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_count.3
|
||||
|
||||
memcached_server_list_append.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_server_list_append.3
|
||||
|
||||
memcached_servers_parse.3: memcached_server_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_server_st.pod > memcached_servers_parse.3
|
||||
|
||||
memcached_verbosity.3: memcached_verbosity.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_verbosity.pod > memcached_verbosity.3
|
||||
|
||||
memcached_behavior_get.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_get.3
|
||||
|
||||
memcached_behavior_set.3: memcached_behavior.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_behavior.pod > memcached_behavior_set.3
|
||||
|
||||
memcached_callback_get.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_get.3
|
||||
|
||||
memcached_callback_set.3: memcached_callback.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_callback.pod > memcached_callback_set.3
|
||||
|
||||
memcached_stat.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat.3
|
||||
|
||||
memcached_stat_servername.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_servername.3
|
||||
|
||||
memcached_stat_get_value.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_value.3
|
||||
|
||||
memcached_stat_get_keys.3: memcached_stats.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_stats.pod > memcached_stat_get_keys.3
|
||||
|
||||
memcached_result_st.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_st.3
|
||||
|
||||
memcached_result_create.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_create.3
|
||||
|
||||
memcached_result_free.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_free.3
|
||||
|
||||
memcached_result_key_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_value.3
|
||||
|
||||
memcached_result_key_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_key_length.3
|
||||
|
||||
memcached_result_value.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_value.3
|
||||
|
||||
memcached_result_length.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_length.3
|
||||
|
||||
memcached_result_flags.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_flags.3
|
||||
|
||||
memcached_result_cas.3: memcached_result_st.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_result_st.pod > memcached_result_cas.3
|
||||
|
||||
memcached_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_version.3
|
||||
|
||||
memcached_lib_version.3: memcached_version.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_version.pod > memcached_lib_version.3
|
||||
|
||||
memcached_flush_buffers.3: memcached_flush_buffers.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_flush_buffers.pod > memcached_flush_buffers.3
|
||||
|
||||
memcached_analyze.3: memcached_analyze.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_analyze.pod > memcached_analyze.3
|
||||
|
||||
memcached_generate_hash_value.3: memcached_generate_hash_value.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_generate_hash_value.pod > memcached_generate_hash_value.3
|
||||
|
||||
memcached_get_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_get_memory_allocators.3
|
||||
|
||||
memcached_set_memory_allocators.3: memcached_memory_allocators.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3
|
||||
|
||||
memcached_get_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_get_user_data.3
|
||||
|
||||
memcached_set_user_data.3: memcached_user_data.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_set_user_data.3
|
||||
|
||||
memcached_pool_create.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_create.3
|
||||
|
||||
memcached_pool_destroy.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_destroy.3
|
||||
|
||||
memcached_pool_pop.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_pop.3
|
||||
|
||||
memcached_pool_push.3: memcached_pool.pod
|
||||
${POD2MAN} -c "libmemcachedutil" -r "" -s 3 ${top_srcdir}/docs/memcached_pool.pod > memcached_pool_push.3
|
||||
|
||||
memcp.1: memcp.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcp.pod > memcp.1
|
||||
|
||||
memslap.1: memslap.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memslap.pod > memslap.1
|
||||
|
||||
memcat.1: memcat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memcat.pod > memcat.1
|
||||
|
||||
memstat.1: memstat.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memstat.pod > memstat.1
|
||||
|
||||
memrm.1: memrm.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memrm.pod > memrm.1
|
||||
|
||||
memerror.1: memerror.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memerror.pod > memerror.1
|
||||
|
||||
memdump.1: memdump.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memdump.pod > memdump.1
|
||||
|
||||
memflush.1: memflush.pod
|
||||
${POD2MAN} -c "libmemcached" -r "" -s 1 ${top_srcdir}/docs/memflush.pod > memflush.1
|
||||
|
||||
test:
|
||||
podchecker $(top_srcdir)/docs/libmemcached.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_stats.pod
|
||||
podchecker $(top_srcdir)/docs/memrm.pod
|
||||
podchecker $(top_srcdir)/docs/memerror.pod
|
||||
podchecker $(top_srcdir)/docs/libmemcached_examples.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_get.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_strerror.pod
|
||||
podchecker $(top_srcdir)/docs/memslap.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_auto.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_quit.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_verbosity.pod
|
||||
podchecker $(top_srcdir)/docs/memstat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_behavior.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_callback.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_server_st.pod
|
||||
podchecker $(top_srcdir)/docs/memcat.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_create.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_servers.pod
|
||||
podchecker $(top_srcdir)/docs/memcp.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_delete.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_set.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_version.pod
|
||||
podchecker $(top_srcdir)/docs/memflush.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_flush_buffers.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_pool.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_memory_allocators.pod
|
||||
podchecker $(top_srcdir)/docs/memcached_user_data.pod
|
||||
|
||||
html-local:
|
||||
pod2htmltree "/libmemcached" .
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,127 @@
|
|||
=head1 NAME
|
||||
|
||||
libmemcached - Client library for memcached
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
"Memcached is a high-performance, distributed memory object caching
|
||||
system, generic in nature, but intended for use in speeding up dynamic web
|
||||
applications by alleviating database load." L<http://danga.com/memcached/>
|
||||
|
||||
B<libmemcached> is a small, thread-safe client library for the
|
||||
memcached protocol. The code has all been written with an eye to allow
|
||||
for both web and embedded usage. It handles the work behind routing
|
||||
particular keys to specific servers that you specify (and values are
|
||||
matched based on server order as supplied by you). It implements both
|
||||
a modula and consistent method of object distribution.
|
||||
|
||||
There are multiple implemented routing and hashing methods. See the
|
||||
memcached_behavior_set() manpage.
|
||||
|
||||
All operations are performed against a C<memcached_st> structure.
|
||||
These structures can either be dynamically allocated or statically
|
||||
allocated and then initialized by memcached_create(). Functions have been
|
||||
written in order to encapsulate the C<memcached_st>. It is not
|
||||
recommended that you operate directly against the structure.
|
||||
|
||||
Nearly all functions return a C<memcached_return> value.
|
||||
This value can be translated to a printable string with memcached_strerror(3).
|
||||
|
||||
Partitioning based on keys is supported in the library. Using the key partioning
|
||||
functions it is possible to group sets of object onto servers.
|
||||
|
||||
C<memcached_st> structures are thread-safe, but each thread must
|
||||
contain its own structure (that is, if you want to share these among
|
||||
threads you must provide your own locking). No global variables are
|
||||
used in this library.
|
||||
|
||||
If you are working with GNU autotools you will want to add the following to
|
||||
your configure.ac to properly include libmemcached in your application.
|
||||
|
||||
PKG_CHECK_MODULES(DEPS, libmemcached >= 0.8.0)
|
||||
AC_SUBST(DEPS_CFLAGS)
|
||||
AC_SUBST(DEPS_LIBS)
|
||||
|
||||
Some features of the library must be enabled through memcached_behavior_set().
|
||||
|
||||
Hope you enjoy it!
|
||||
|
||||
=head1 CONSTANTS
|
||||
|
||||
A number of constants have been provided for in the library.
|
||||
|
||||
=over 4
|
||||
|
||||
=item MEMCACHED_DEFAULT_PORT
|
||||
|
||||
The default port used by memcached(3).
|
||||
|
||||
=item MEMCACHED_MAX_KEY
|
||||
|
||||
Default maximum size of a key (which includes the null pointer). Master keys
|
||||
have no limit, this only applies to keys used for storage.
|
||||
|
||||
=item MEMCACHED_MAX_KEY
|
||||
|
||||
Default size of key (which includes the null pointer).
|
||||
|
||||
=item MEMCACHED_STRIDE
|
||||
|
||||
This is the "stride" used in the consistent hash used between replicas.
|
||||
|
||||
=item MEMCACHED_MAX_HOST_LENGTH
|
||||
|
||||
Maximum allowed size of the hostname.
|
||||
|
||||
=item MEMCACHED_VERSION_STRING
|
||||
|
||||
String value of libmemcached version such as "1.23.4"
|
||||
|
||||
=item MEMCACHED_MAJOR_VERSION
|
||||
|
||||
Major version value. Such as 1.23.4, would be 1
|
||||
|
||||
=item MEMCACHED_MINOR_VERSION
|
||||
|
||||
Major version value. Such as 1.23.4, would be 23
|
||||
|
||||
=item MEMCACHED_MICRO_VERSION
|
||||
|
||||
Major version value. Such as 1.23.4, would be 4
|
||||
|
||||
|
||||
=back
|
||||
|
||||
|
||||
|
||||
=head1 THREADS AND PROCESSES
|
||||
|
||||
When using threads or forked processes it is important to keep an instance
|
||||
of C<memcached_st> per process or thread. Without creating your own locking
|
||||
structures you can not share a single C<memcached_st>. You can though call
|
||||
memcached_quit(3) on a C<memcached_st> and then use the resulting cloned
|
||||
structure.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached_examples(3) libmemcached(1) memcat(1) memcp(1) memflush(1) memrm(1) memslap(1) memstat(1) memcached_fetch(3) memcached_replace(3) memcached_server_list_free(3) libmemcached_examples(3) memcached_clone(3) memcached_free(3) memcached_server_add(3) memcached_server_push(3) memcached_add(3) memcached_get(3) memcached_server_count(3) memcached_servers_parse(3) memcached_create(3) memcached_increment(3) memcached_server_list(3) memcached_set(3) memcached_decrement(3) memcached_mget(3) memcached_server_list_append(3) memcached_strerror(3) memcached_delete(3) memcached_quit(3) memcached_server_list_count(3) memcached_verbosity(3) memcached_server_add_unix_socket(3) memcached_result_create(3) memcached_result_free(3) memcached_result_key_value(3) memcached_result_key_length(3) memcached_result_value(3) memcached_result_length(3) memcached_result_flags(3) memcached_result_cas(3) memcached_result_st(3) memcached_append(3) memcached_prepend(3) memcached_fetch_result(3) memerror(1) memcached_get_by_key(3) memcached_mget_by_key(3) memcached_delete_by_key(3) memcached_fetch_execute(3) memcached_callback_get(3) memcached_callback_set(3) memcached_version(3) memcached_lib_version(3) memcached_result_set_value(3) memcached_dump(3) memdump(1) memcached_set_memory_allocators(3) memcached_get_memory_allocators(3) memcached_get_user_data(3) memcached_set_user_data(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
=head1 NAME
|
||||
|
||||
libmemcached_examples - Examples for libmemcached
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
For full examples, test cases are found in tests/*.c in the main
|
||||
distribution. These are always up to date, and are used for each test run of
|
||||
the library.
|
||||
|
||||
=head2 Creating and Freeing structure
|
||||
|
||||
memcached_st *memc;
|
||||
memcached_return rc;
|
||||
|
||||
memc= memcached_create(NULL);
|
||||
...do stuff...
|
||||
memcached_free(memc);
|
||||
|
||||
The above code would create a connection and then free the connection when
|
||||
finished.
|
||||
|
||||
=head2 Connecting to servers
|
||||
|
||||
memcached_server_st *servers;
|
||||
memcached_st *memc= memcached_create(NULL);
|
||||
char servername[]= "0.example.com";
|
||||
|
||||
servers= memcached_server_list_append(NULL, servername, 400, &rc);
|
||||
|
||||
for (x= 0; x < 20; x++)
|
||||
{
|
||||
char buffer[SMALL_STRING_LEN];
|
||||
|
||||
snprintf(buffer, SMALL_STRING_LEN, "%u.example.com", 400+x);
|
||||
servers= memcached_server_list_append(servers, buffer, 401, &rc);
|
||||
}
|
||||
rc= memcached_server_push(memc, servers);
|
||||
memcached_server_free(servers);
|
||||
memcached_free(memc);
|
||||
|
||||
In the above code you create a C<memcached_st> object that you then feed in a
|
||||
single host into. In the for loop you build a C<memcached_server_st>
|
||||
pointer that you then later feed via memcached_server_push() into the
|
||||
C<memcached_st> structure.
|
||||
|
||||
You can reuse the C<memcached_server_st> object with multile C<memcached_st>
|
||||
structures.
|
||||
|
||||
=head2 Adding a value to the server
|
||||
|
||||
char *key= "foo";
|
||||
char *value;
|
||||
size_t value_length= 8191;
|
||||
unsigned int x;
|
||||
|
||||
value = (char*)malloc(value_length);
|
||||
assert(value);
|
||||
|
||||
for (x= 0; x < value_length; x++)
|
||||
value[x] = (char) (x % 127);
|
||||
|
||||
for (x= 0; x < 1; x++)
|
||||
{
|
||||
rc= memcached_set(memc, key, strlen(key),
|
||||
value, value_length,
|
||||
(time_t)0, (uint32_t)0);
|
||||
assert(rc == MEMCACHED_SUCCESS);
|
||||
}
|
||||
|
||||
free(value);
|
||||
|
||||
It is best practice to always look at the return value of any operation.
|
||||
|
||||
=head2 Fetching multiple values
|
||||
|
||||
memcached_return rc;
|
||||
char *keys[]= {"fudge", "son", "food"};
|
||||
size_t key_length[]= {5, 3, 4};
|
||||
unsigned int x;
|
||||
uint32_t flags;
|
||||
|
||||
char return_key[MEMCACHED_MAX_KEY];
|
||||
size_t return_key_length;
|
||||
char *return_value;
|
||||
size_t return_value_length;
|
||||
|
||||
rc= memcached_mget(memc, keys, key_length, 3);
|
||||
|
||||
x= 0;
|
||||
while ((return_value= memcached_fetch(memc, return_key, &return_key_length,
|
||||
&return_value_length, &flags, &rc)))
|
||||
{
|
||||
free(return_value);
|
||||
x++;
|
||||
}
|
||||
|
||||
Notice that you freed values returned from memcached_fetch(). The define
|
||||
C<MEMCACHED_MAX_KEY> is provided for usage.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
=head1 NAME
|
||||
|
||||
libmemcachedutil - Utility library for libmemcached
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library containing utility functions for libmemcached (libmemcachedutil, -lmemcachedutil)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
cc [ flag ... ] file ... -lmemcachedutil
|
||||
|
||||
#include <libmemcached/memcached_util.h>
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
B<libmemcachedutil> is a small and thread-safe client library that provides
|
||||
extra functionality built on top of B<libmemcached>.
|
||||
|
||||
=head1 THREADS
|
||||
|
||||
Do not try to access an instance of C<memcached_st> from multiple threads
|
||||
at the same time. If you want to access memcached from multiple threads
|
||||
you should either clone the C<memcached_st>, or use the memcached pool
|
||||
implementation. see memcached_pool_create(3).
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Trond Norbye, E<lt>trond.norbye@sun.comE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
libmemcached(3) memcached_pool_create(3) memcached_pool_destroy(3) memcached_pool_pop(3) memcached_pool_push(3)
|
||||
|
||||
=cut
|
|
@ -0,0 +1,52 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_analyze - Analyze server information
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_analysis_st *memcached_analyze(memcached_st *ptr,
|
||||
memcached_stat_st *stat,
|
||||
memcached_return *error);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
libmemcached(3) has the ability to query a memcached server (or collection
|
||||
of servers) for their current state. Queries to find state return a
|
||||
C<memcached_analysis_st> structure. You are responsible for freeing this structure.
|
||||
|
||||
memcached_analyze() analyzes useful information based on the provided servers
|
||||
and sets the result to the C<memcached_analysis_st> structure. The return value
|
||||
must be freed by the calling application.
|
||||
|
||||
A command line tool, memstat(1) with the option --analyze, is provided so that
|
||||
you do not have to write an application to use this method.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A pointer to the allocated C<memcached_analysis_st> structure on success and
|
||||
a NULL pointer on failure. You may inspect the error detail by checking the
|
||||
C<memcached_return> value.
|
||||
|
||||
Any method returning a C<memcached_analysis_st> expects you to free the
|
||||
memory allocated for it.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Toru Maesaka, E<lt>dev@torum.netE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
|
@ -0,0 +1,97 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_increment, memcached_decrement,
|
||||
memcached_increment_with_initial, memcached_decrement_with_initial - Manipulate
|
||||
counters
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_increment (memcached_st *ptr,
|
||||
const char *key, size_t key_length,
|
||||
unsigned int offset,
|
||||
uint64_t *value);
|
||||
|
||||
memcached_return
|
||||
memcached_decrement (memcached_st *ptr,
|
||||
const char *key, size_t key_length,
|
||||
unsigned int offset,
|
||||
uint64_t *value);
|
||||
|
||||
memcached_return
|
||||
memcached_increment_with_initial (memcached_st *ptr,
|
||||
const char *key,
|
||||
size_t key_length,
|
||||
uint64_t offset,
|
||||
uint64_t initial,
|
||||
time_t expiration,
|
||||
uint64_t *value);
|
||||
|
||||
memcached_return
|
||||
memcached_decrement_with_initial (memcached_st *ptr,
|
||||
const char *key,
|
||||
size_t key_length,
|
||||
uint64_t offset,
|
||||
uint64_t initial,
|
||||
time_t expiration,
|
||||
uint64_t *value);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached(1) servers have the ability to increment and decrement keys
|
||||
(overflow and underflow are not detected). This gives you the ability to use
|
||||
memcached to generate shared sequences of values.
|
||||
|
||||
memcached_increment() takes a key and keylength and increments the value by
|
||||
the offset passed to it. The value is then returned via the unsigned int
|
||||
value pointer you pass to it.
|
||||
|
||||
memcached_decrement() takes a key and keylength and decrements the value by
|
||||
the offset passed to it. The value is then returned via the unsigned int
|
||||
value pointer you pass to it.
|
||||
|
||||
memcached_increment_with_initial() takes a key and keylength and increments
|
||||
the value by the offset passed to it. If the object specified by key does
|
||||
not exist, one of two things may happen: If the expiration value is
|
||||
MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
|
||||
expiration values, the operation will succeed by seeding the value for that
|
||||
key with a initial value to expire with the provided expiration time. The
|
||||
flags will be set to zero.The value is then returned via the unsigned int
|
||||
value pointer you pass to it.
|
||||
|
||||
memcached_decrement_with_initial() takes a key and keylength and decrements
|
||||
the value by the offset passed to it. If the object specified by key does
|
||||
not exist, one of two things may happen: If the expiration value is
|
||||
MEMCACHED_EXPIRATION_NOT_ADD, the operation will fail. For all other
|
||||
expiration values, the operation will succeed by seeding the value for that
|
||||
key with a initial value to expire with the provided expiration time. The
|
||||
flags will be set to zero.The value is then returned via the unsigned int
|
||||
value pointer you pass to it.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A value of type C<memcached_return> is returned.
|
||||
On success that value will be C<MEMCACHED_SUCCESS>.
|
||||
Use memcached_strerror() to translate this value to a printable string.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,232 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_behavior_get, memcached_behavior_set - Manipulate behavior
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
uint64_t
|
||||
memcached_behavior_get (memcached_st *ptr,
|
||||
memcached_behavior flag);
|
||||
|
||||
memcached_return
|
||||
memcached_behavior_set (memcached_st *ptr,
|
||||
memcached_behavior flag,
|
||||
uint64_t data);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
libmemcached(3) behavior can be modified by use memcached_behavior_set().
|
||||
Default behavior is the library strives to be quick and accurate. Some
|
||||
behavior, while being faster, can also result in not entirely accurate
|
||||
behavior (for instance, memcached_set() will always respond with
|
||||
C<MEMCACHED_SUCCESS>).
|
||||
|
||||
memcached_behavior_get() takes a behavior flag and returns whether or not
|
||||
that behavior is currently enabled in the client.
|
||||
|
||||
memcached_behavior_set() changes the value of a particular option of the
|
||||
client. It takes both a flag (listed below) and a value. For simple on or
|
||||
off options you just need to pass in a value of 1. Calls to
|
||||
memcached_behavior_set() will flush and reset all connections.
|
||||
|
||||
=over 4
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_USE_UDP
|
||||
|
||||
Causes libmemcached(3) to use the UDP transport when communicating
|
||||
with a memcached server. Not all I/O operations are supported
|
||||
when this behavior is enababled. The following operations will return
|
||||
C<MEMCACHED_NOT_SUPPORTED> when executed with the MEMCACHED_BEHAVIOR_USE_UDP
|
||||
enabled: memcached_version(), memcached_stat(), memcached_get(),
|
||||
memcached_get_by_key(), memcached_mget(), memcached_mget_by_key(),
|
||||
memcached_fetch(), memcached_fetch_result(), memcached_value_fetch().
|
||||
|
||||
All other operations are supported but are executed in a 'fire-and-forget'
|
||||
mode, in which once the client has executed the operation, no attempt
|
||||
will be made to ensure the operation has been received and acted on by the
|
||||
server.
|
||||
|
||||
libmemcached(3) does not allow TCP and UDP servers to be shared within
|
||||
the same libmemached(3) client 'instance'. An attempt to add a TCP server
|
||||
when this behavior is enabled will result in a C<MEMCACHED_INVALID_HOST_PROTOCOL>,
|
||||
as will attempting to add a UDP server when this behavior has not been enabled.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_NO_BLOCK
|
||||
|
||||
Causes libmemcached(3) to use asychronous IO. This is the fastest transport
|
||||
available for storage functions.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_SND_TIMEOUT
|
||||
|
||||
This sets the microsecond behavior of the socket against the SO_SNDTIMEO flag.
|
||||
In cases where you cannot use non-blocking IO this will allow you to still have
|
||||
timeouts on the sending of data.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_RCV_TIMEOUT
|
||||
|
||||
This sets the microsecond behavior of the socket against the SO_RCVTIMEO flag.
|
||||
In cases where you cannot use non-blocking IO this will allow you to still have
|
||||
timeouts on the reading of data.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_TCP_NODELAY
|
||||
|
||||
Turns on the no-delay feature for connecting sockets (may be faster in some
|
||||
environments).
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_HASH
|
||||
|
||||
Makes the default hashing algorithm for keys use MD5. The value can be set
|
||||
to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, MEMCACHED_HASH_FNV1A_32, MEMCACHED_HASH_JENKINS, MEMCACHED_HASH_HSIEH, and MEMCACHED_HASH_MURMUR.
|
||||
Each hash has it's advantages and it's weaknesses. If you dont know or dont care, just go with the default.
|
||||
Support for MEMCACHED_HASH_HSIEH is a compile time option that is disabled by default. To enable support for this hashing algorithm, configure and build libmemcached with the --enable-hash_hsieh.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_DISTRIBUTION
|
||||
|
||||
Using this you can enable different means of distributing values to servers.
|
||||
The default method is MEMCACHED_DISTRIBUTION_MODULA. You can enable
|
||||
consistent hashing by setting MEMCACHED_DISTRIBUTION_CONSISTENT.
|
||||
Consistent hashing delivers better distribution and allows servers to be
|
||||
added to the cluster with minimal cache losses. Currently
|
||||
MEMCACHED_DISTRIBUTION_CONSISTENT is an alias for the value
|
||||
MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_CACHE_LOOKUPS
|
||||
|
||||
Memcached can cache named lookups so that DNS lookups are made only once.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_SUPPORT_CAS
|
||||
|
||||
Support CAS operations (this is not enabled by default at this point in the server since it imposes a slight performance penalty).
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_KETAMA
|
||||
|
||||
Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA
|
||||
and the hash to MEMCACHED_HASH_MD5.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED
|
||||
|
||||
Sets the default distribution to MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA with the weighted support.
|
||||
and the hash to MEMCACHED_HASH_MD5.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_KETAMA_HASH
|
||||
|
||||
Sets the hashing algorithm for host mapping on continuum. The value can be set
|
||||
to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, and MEMCACHED_HASH_FNV1A_32.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_POLL_TIMEOUT
|
||||
|
||||
Modify the timeout value that is used by poll(). The default value is -1. An signed int pointer must be passed to memcached_behavior_set() to change this value. For memcached_behavior_get() a signed int value will be cast and returned as the unsigned long long.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_USER_DATA
|
||||
|
||||
This allows you to store a pointer to a specifc piece of data. This can be
|
||||
retrieved from inside of memcached_fetch_execute(). Cloning a memcached_st
|
||||
|
||||
will copy the pointer to the clone. This was deprecated in 0.14 in favor
|
||||
of memcached_callback_set(3). This will be removed in 0.15.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_BUFFER_REQUESTS
|
||||
|
||||
Enabling buffered IO causes commands to "buffer" instead of being sent. Any
|
||||
action that gets data causes this buffer to be be sent to the remote
|
||||
connection. Quiting the connection or closing down the connection will also
|
||||
cause the buffered data to be pushed to the remote connection.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_VERIFY_KEY
|
||||
|
||||
Enabling this will cause libmemcached(3) to test all keys to verify that they
|
||||
are valid keys.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_SORT_HOSTS
|
||||
|
||||
Enabling this will cause hosts that are added to be placed in the host list in
|
||||
sorted order. This will defeat consisten hashing.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT
|
||||
|
||||
In non-blocking mode this changes the value of the timeout during socket
|
||||
connection.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_BINARY_PROTOCOL
|
||||
|
||||
Enable the use of the binary protocol. Please note that you cannot toggle
|
||||
this flag on an open connection.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT
|
||||
|
||||
Set this value to enable the server be removed after continuous MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT
|
||||
times connection failure.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_IO_MSG_WATERMARK
|
||||
|
||||
Set this value to tune the number of messages that may be sent before
|
||||
libmemcached should start to automatically drain the input queue. Setting
|
||||
this value to high, may cause libmemcached to deadlock (trying to send data,
|
||||
but the send will block because the input buffer in the kernel is full).
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_IO_BYTES_WATERMARK
|
||||
|
||||
Set this value to tune the number of bytes that may be sent before
|
||||
libmemcached should start to automatically drain the input queue (need
|
||||
at least 10 IO requests sent without reading the input buffer). Setting
|
||||
this value to high, may cause libmemcached to deadlock (trying to send
|
||||
data, but the send will block because the input buffer in the kernel is full).
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH
|
||||
|
||||
The binary protocol works a bit different than the textual protocol in
|
||||
that a multiget is implemented as a pipe of single get-operations which
|
||||
are sent to the server in a chunk. If you are using large multigets from
|
||||
your application, you may improve the latency of the gets by setting
|
||||
this value so you send out the first chunk of requests when you hit the
|
||||
specified limit. It allows the servers to start processing the requests
|
||||
to send the data back while the rest of the requests are created and
|
||||
sent to the server.
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_NOREPLY
|
||||
|
||||
Set this value to specify that you really don't care about the result
|
||||
from your storage commands (set, add, replace, append, prepend).
|
||||
|
||||
=item MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS
|
||||
|
||||
If you just want "a poor mans HA", you may specify the numbers of
|
||||
replicas libmemcached should store of each item (on different servers).
|
||||
This replication does not dedicate certain memcached servers to store the
|
||||
replicas in, but instead it will store the replicas together with all of the
|
||||
other objects (on the 'n' next servers specified in your server list).
|
||||
|
||||
=back
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
memcached_behavior_get() returns either the current value of the get, or 0
|
||||
or 1 on simple flag behaviors (1 being enabled). memcached_behavior_set()
|
||||
returns failure or success.
|
||||
|
||||
=head1 NOTES
|
||||
|
||||
memcached_behavior_set() in version .17 was changed from taking a pointer
|
||||
to data value, to taking a uin64_t.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_callback_get, memcached_callback_set - Get and set a callback
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_callback_set (memcached_st *ptr,
|
||||
memcached_callback flag,
|
||||
void *data);
|
||||
|
||||
void *
|
||||
memcached_callback_get (memcached_st *ptr,
|
||||
memcached_callback flag,
|
||||
memcached_return *error);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
libmemcached(3) can have callbacks set key execution points. These either
|
||||
provide function calls at points in the code, or return pointers to
|
||||
structures for particular usages.
|
||||
|
||||
memcached_callback_get() takes a callback flag and returns the structure or
|
||||
function set by memcached_callback_set().
|
||||
|
||||
memcached_callback_set() changes the function/structure assigned by a
|
||||
callback flag. No connections are reset.
|
||||
|
||||
You can use MEMCACHED_CALLBACK_USER_DATA to provide custom context if required for any
|
||||
of the callbacks
|
||||
|
||||
=over 4
|
||||
|
||||
=item MEMCACHED_CALLBACK_CLEANUP_FUNCTION
|
||||
|
||||
When memcached_delete() is called this function will be excuted. At the
|
||||
point of its execution all connections have been closed.
|
||||
|
||||
=item MEMCACHED_CALLBACK_CLONE_FUNCTION
|
||||
|
||||
When memcached_delete() is called this function will be excuted. At the
|
||||
point of its execution all connections have been closed.
|
||||
|
||||
=item MEMCACHED_CALLBACK_PREFIX_KEY
|
||||
|
||||
You can set a value which will be used to create a domain for your keys.
|
||||
The value specified here will be prefixed to each of your keys. The value can not
|
||||
be greater then MEMCACHED_PREFIX_KEY_MAX_SIZE - 1 and will reduce MEMCACHED_MAX_KEY by
|
||||
the value of your key. The prefix key is only applied to the primary key,
|
||||
not the master key. MEMCACHED_FAILURE will be returned if no key is set. In the case
|
||||
of a key which is too long MEMCACHED_BAD_KEY_PROVIDED will be returned.
|
||||
|
||||
=item MEMCACHED_CALLBACK_USER_DATA
|
||||
|
||||
This allows you to store a pointer to a specifc piece of data. This can be
|
||||
retrieved from inside of memcached_fetch_execute(). Cloning a memcached_st
|
||||
will copy the pointer to the clone.
|
||||
|
||||
=item MEMCACHED_CALLBACK_MALLOC_FUNCTION
|
||||
|
||||
DEPRECATED: use memcached_set_memory_allocators instead.
|
||||
|
||||
=item MEMCACHED_CALLBACK_REALLOC_FUNCTION
|
||||
|
||||
DEPRECATED: use memcached_set_memory_allocators instead.
|
||||
|
||||
=item MEMCACHED_CALLBACK_FREE_FUNCTION
|
||||
|
||||
DEPRECATED: use memcached_set_memory_allocators instead.
|
||||
|
||||
=item MEMCACHED_CALLBACK_GET_FAILURE
|
||||
|
||||
This function implements the read through cache behavior. On failure of retrieval this callback will be called.
|
||||
You are responsible for populating the result object provided. This result object will then be stored in the server and
|
||||
returned to the calling process. You must clone the memcached_st in order to
|
||||
make use of it. The value will be stored only if you return
|
||||
MEMCACHED_SUCCESS or MEMCACHED_BUFFERED. Returning MEMCACHED_BUFFERED will
|
||||
cause the object to be buffered and not sent immediatly (if this is the default behavior based on your connection setup this will happen automatically).
|
||||
|
||||
The prototype for this is:
|
||||
memcached_return (*memcached_trigger_key)(memcached_st *ptr, char *key, size_t key_length, memcached_result_st *result);
|
||||
|
||||
=item MEMCACHED_CALLBACK_DELETE_TRIGGER
|
||||
|
||||
This function implements a trigger upon successful deletion of a key. The memcached_st structure will need to be cloned
|
||||
in order to make use of it.
|
||||
|
||||
The prototype for this is:
|
||||
typedef memcached_return (*memcached_trigger_delete_key)(memcached_st *ptr, char *key, size_t key_length);
|
||||
|
||||
|
||||
=back
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
memcached_callback_get() return the function or structure that was provided.
|
||||
Upon error, nothing is set, null is returned, and the memcached_return
|
||||
argument is set to MEMCACHED_FAILURE.
|
||||
|
||||
memcached_callback_set() returns MEMCACHED_SUCCESS upon successful setting,
|
||||
otherwise MEMCACHED_FAILURE on error.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_create, memcached_free - Create a memcached_st structure
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_st *memcached_create (memcached_st *ptr);
|
||||
|
||||
void memcached_free (memcached_st *ptr);
|
||||
|
||||
memcached_st *memcached_clone(memcached_st *clone, memcached_st *source);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached_create() is used to create a C<memcached_st> structure that will then
|
||||
be used by other libmemcached(3) functions to communicate with the server. You
|
||||
should either pass a statically declared C<memcached_st> to memcached_create() or
|
||||
a NULL. If a NULL passed in then a structure is allocated for you.
|
||||
|
||||
memcached_clone() is similar to memcached_create(3) but it copies the
|
||||
defaults and list of servers from the source C<memcached_st>. If you pass a null as
|
||||
the argument for the source to clone, it is the same as a call to memcached_create().
|
||||
If the clone argument is NULL a C<memcached_st> will be allocated for you.
|
||||
If you pass a pointer to a memory area for the clone pointer, make sure you
|
||||
memset it to 0 (unless you got the clone from a factory method in libmemcached).
|
||||
|
||||
To clean up memory associated with a C<memcached_st> structure you should pass
|
||||
it to memcached_free() when you are finished using it. memcached_free() is
|
||||
the only way to make sure all memory is deallocated when you finish using
|
||||
the structure.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
memcached_create() returns a pointer to the memcached_st that was created
|
||||
(or initialized). On an allocation failure, it returns NULL.
|
||||
|
||||
memcached_clone() returns a pointer to the memcached_st that was created
|
||||
(or initialized). On an allocation failure, it returns NULL. If you pass in
|
||||
a preallocated structure it must be cleared first (aka memset()).
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_delete - Delete a key
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_delete (memcached_st *ptr,
|
||||
const char *key, size_t key_length,
|
||||
time_t expiration);
|
||||
|
||||
memcached_return
|
||||
memcached_delete_by_key (memcached_st *ptr,
|
||||
const char *master_key, size_t master_key_length,
|
||||
const char *key, size_t key_length,
|
||||
time_t expiration);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached_delete() is used to delete a particular key. An expiration value
|
||||
can be applied so that the key is deleted after that many seconds.
|
||||
memcached_delete_by_key() works the same, but it takes a master key to
|
||||
find the given value.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A value of type C<memcached_return> is returned
|
||||
On success that value will be C<MEMCACHED_SUCCESS>.
|
||||
Use memcached_strerror() to translate this value to a printable string.
|
||||
|
||||
If you are using the non-blocking mode of the library, success only
|
||||
means that the message was queued for delivery.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_dump - get a list of keys found on memcached servers
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_dump (memcached_st *ptr,
|
||||
memcached_dump_func *function,
|
||||
void *context,
|
||||
uint32_t number_of_callbacks);
|
||||
|
||||
typedef memcached_return (*memcached_dump_func)(memcached_st *ptr,
|
||||
const char *key,
|
||||
size_t key_length,
|
||||
void *context);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached_dump() is used to get a list of keys found memcached(1) servers.
|
||||
Because memcached(1) does not guarentee to dump all keys you can not assume
|
||||
you have fetched all keys from the server. The function takes an array
|
||||
of callbacks that it will use to execute on keys as they are found.
|
||||
|
||||
Currently the binar protocol is not supported.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A value of type C<memcached_return> is returned
|
||||
On success that value will be C<MEMCACHED_SUCCESS>.
|
||||
Use memcached_strerror() to translate this value to a printable string.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_flush - wipe contents of memcached servers
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_flush (memcached_st *ptr,
|
||||
time_t expiration);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached_flush() is used to wipe clean the contents of memcached(1) servers.
|
||||
It will either do this immediately or expire the content based on the
|
||||
expiration time passed to the method (a value of zero causes an immediate
|
||||
flush). The operation is not atomic to multiple servers, just atomic to a
|
||||
single server. That is, it will flush the servers in the order that they were
|
||||
added.
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A value of type C<memcached_return> is returned
|
||||
On success that value will be C<MEMCACHED_SUCCESS>.
|
||||
Use memcached_strerror() to translate this value to a printable string.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Brian Aker, E<lt>brian@tangent.orgE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3)
|
||||
|
||||
=cut
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
=head1 NAME
|
||||
|
||||
memcached_flush_buffers - Flush buffers and send buffered commands
|
||||
|
||||
=head1 LIBRARY
|
||||
|
||||
C Client Library for memcached (libmemcached, -lmemcached)
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#include <memcached.h>
|
||||
|
||||
memcached_return
|
||||
memcached_flush_buffers (memcached_st *ptr);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
memcached_flush_buffers() is used in conjunction with
|
||||
MEMCACHED_BEHAVIOR_BUFFER_REQUESTS (see memcached_behavior(3)) to flush
|
||||
all buffers by sending the buffered commands to the server for processing..
|
||||
|
||||
=head1 RETURN
|
||||
|
||||
A value of type C<memcached_return> is returned
|
||||
On success that value will be C<MEMCACHED_SUCCESS>.
|
||||
Use memcached_strerror() to translate this value to a printable string.
|
||||
|
||||
=head1 HOME
|
||||
|
||||
To find out more information please check:
|
||||
L<http://tangent.org/552/libmemcached.html>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Trond Norbye, E<lt>trond.norbye@sun.comE<gt>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
memcached(1) libmemcached(3) memcached_strerror(3) memcached_behavior(3)
|
||||
|
||||
=cut
|
||||
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче