melisa 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +53 -4
- data/ext/extconf.rb +33 -0
- data/ext/marisa-0.2.4/AUTHORS +1 -0
- data/ext/marisa-0.2.4/COPYING +32 -0
- data/ext/marisa-0.2.4/ChangeLog +0 -0
- data/ext/marisa-0.2.4/INSTALL +237 -0
- data/ext/marisa-0.2.4/Makefile.am +24 -0
- data/ext/marisa-0.2.4/Makefile.in +803 -0
- data/ext/marisa-0.2.4/NEWS +0 -0
- data/ext/marisa-0.2.4/README +63 -0
- data/ext/marisa-0.2.4/aclocal.m4 +976 -0
- data/ext/marisa-0.2.4/bindings/Makefile +16 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.h +0 -0
- data/ext/marisa-0.2.4/bindings/marisa-swig.i +28 -0
- data/ext/marisa-0.2.4/bindings/perl/Makefile.PL +7 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig_wrap.cxx +0 -0
- data/ext/marisa-0.2.4/bindings/perl/marisa.pm +297 -0
- data/ext/marisa-0.2.4/bindings/perl/sample.dic +0 -0
- data/ext/marisa-0.2.4/bindings/perl/sample.pl +62 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.cxx +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig_wrap.cxx +0 -0
- data/ext/marisa-0.2.4/bindings/python/marisa.py +206 -0
- data/ext/marisa-0.2.4/bindings/python/sample.dic +0 -0
- data/ext/marisa-0.2.4/bindings/python/sample.py +57 -0
- data/ext/marisa-0.2.4/bindings/python/setup.py +9 -0
- data/ext/marisa-0.2.4/config.guess +1530 -0
- data/ext/marisa-0.2.4/config.sub +1773 -0
- data/ext/marisa-0.2.4/configure +17636 -0
- data/ext/marisa-0.2.4/configure.ac +172 -0
- data/ext/marisa-0.2.4/depcomp +688 -0
- data/ext/marisa-0.2.4/docs/readme.en.html +740 -0
- data/ext/marisa-0.2.4/docs/readme.ja.html +750 -0
- data/ext/marisa-0.2.4/docs/style.css +245 -0
- data/ext/marisa-0.2.4/install-sh +520 -0
- data/ext/marisa-0.2.4/lib/Makefile.am +57 -0
- data/ext/marisa-0.2.4/lib/Makefile.in +701 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.cc +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/base.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/exception.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm/sort.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/intrin.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/cache.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/config.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/entry.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/header.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/history.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/key.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.cc +5 -5
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.h +7 -7
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/range.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/state.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.cc +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector.h +3 -3
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.cc +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.h +2 -2
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/flat-vector.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/pop-count.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/rank-index.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/vector.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/iostream.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/key.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.cc +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/query.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-array.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-ptr.h +1 -1
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/stdio.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.cc +4 -4
- data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.h +2 -2
- data/ext/marisa-0.2.4/ltmain.sh +9661 -0
- data/ext/marisa-0.2.4/m4/libtool.m4 +8001 -0
- data/ext/marisa-0.2.4/m4/ltoptions.m4 +384 -0
- data/ext/marisa-0.2.4/m4/ltsugar.m4 +123 -0
- data/ext/marisa-0.2.4/m4/ltversion.m4 +23 -0
- data/ext/marisa-0.2.4/m4/lt~obsolete.m4 +98 -0
- data/ext/marisa-0.2.4/marisa.pc.in +11 -0
- data/ext/marisa-0.2.4/missing +331 -0
- data/ext/marisa-0.2.4/mkmf.log +288 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-benchmark +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-build +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-common-prefix-search +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-dump +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-lookup +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-predictive-search +0 -0
- data/ext/marisa-0.2.4/pkg/bin/marisa-reverse-lookup +0 -0
- data/ext/marisa-0.2.4/pkg/include/marisa.h +14 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/agent.h +73 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/base.h +193 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/exception.h +82 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/iostream.h +18 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/key.h +85 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/keyset.h +80 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/query.h +71 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/scoped-array.h +48 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/scoped-ptr.h +52 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/stdio.h +15 -0
- data/ext/marisa-0.2.4/pkg/include/marisa/trie.h +64 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.a +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.dylib +0 -0
- data/ext/marisa-0.2.4/pkg/lib/libmarisa.la +41 -0
- data/ext/marisa-0.2.4/pkg/lib/pkgconfig/marisa.pc +11 -0
- data/ext/marisa-0.2.4/tests/Makefile.am +27 -0
- data/ext/marisa-0.2.4/tests/Makefile.in +624 -0
- data/ext/{marisa → marisa-0.2.4}/tests/base-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/io-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/marisa-assert.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/marisa-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/trie-test.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tests/vector-test.cc +0 -0
- data/ext/marisa-0.2.4/tools/Makefile.am +39 -0
- data/ext/marisa-0.2.4/tools/Makefile.in +616 -0
- data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.h +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-benchmark.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-build.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-common-prefix-search.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-dump.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-lookup.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-predictive-search.cc +0 -0
- data/ext/{marisa → marisa-0.2.4}/tools/marisa-reverse-lookup.cc +0 -0
- data/ext/marisa-0.2.4/vs2008/base-test/base-test.vcproj +200 -0
- data/ext/marisa-0.2.4/vs2008/io-test/io-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/libmarisa/libmarisa.vcproj +347 -0
- data/ext/marisa-0.2.4/vs2008/marisa-benchmark/marisa-benchmark.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-build/marisa-build.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-common-prefix-search/marisa-common-prefix-search.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-dump/marisa-dump.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-lookup/marisa-lookup.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-predictive-search/marisa-predictive-search.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-reverse-lookup/marisa-reverse-lookup.vcproj +203 -0
- data/ext/marisa-0.2.4/vs2008/marisa-test/marisa-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/trie-test/trie-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/vector-test/vector-test.vcproj +199 -0
- data/ext/marisa-0.2.4/vs2008/vs2008.sln +123 -0
- data/ext/marisa-0.2.4/vs2008/vs2008.suo +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig.cxx → marisa-swig.cxx} +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig.h → marisa-swig.h} +0 -0
- data/ext/{marisa/bindings/ruby/marisa-swig_wrap.cxx → marisa-swig_wrap.cxx} +0 -0
- data/lib/melisa/bytes_trie.rb +5 -0
- data/lib/melisa/trie.rb +2 -0
- data/lib/melisa/version.rb +1 -1
- data/melisa.gemspec +7 -9
- data/spec/bytes_trie_spec.rb +6 -1
- data/spec/int_trie_spec.rb +5 -0
- data/spec/search_spec.rb +6 -7
- data/spec/trie_spec.rb +4 -4
- metadata +178 -121
- data/ext/marisa/bindings/ruby/extconf.rb +0 -5
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 108e4a649293c67d566fec46997d324648ead6fb
|
4
|
+
data.tar.gz: 199fdaf673933b9b369f8a0886e52efdb43e7791
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: df5a3f3fcecdc2f2b95064bfa5b68c0a51e5d5caa01eac352d81ae9f0f1a12f2fd7773dc8922765693b3cc22ecd719bc64c646e40610c7056e280a831df9eaa7
|
7
|
+
data.tar.gz: 181e0348caefccb4f0247903dc51ec7b2a8091d295a8f5e1399906c0ca2926018b49c8086b859259ed5b6865ff919e064c2f43fbaa06a5ff676c943577983194
|
data/README.md
CHANGED
@@ -1,11 +1,60 @@
|
|
1
|
+
Melisa is a Ruby gem that wraps the very efficient [Marisa Trie C++ library](https://pypi.python.org/pypi/marisa-trie/). See also Marisa Trie's [README](http://marisa-trie.googlecode.com/svn/trunk/docs/readme.en.html).
|
2
|
+
|
3
|
+
A "trie" is a useful data structure for storing strings, especially ngrams.
|
4
|
+
|
5
|
+
Example
|
6
|
+
-------
|
7
|
+
|
8
|
+
```gem install melisa```
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'melisa'
|
12
|
+
|
13
|
+
trie = Melisa::Trie.new
|
14
|
+
trie.add('snow')
|
15
|
+
trie.add('snow cone')
|
16
|
+
trie.add('ice')
|
17
|
+
trie.add('ice cream')
|
18
|
+
|
19
|
+
trie.search('ice').keys
|
20
|
+
# => ["ice", "ice cream"]
|
21
|
+
```
|
22
|
+
|
23
|
+
You can also save and load complete tries. Marisa Tries are space efficient, often achieving significant compression over regular string or hash storage.
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
trie = Melisa::Trie.new(['snow', 'snow cone'])
|
27
|
+
trie.save('winter.trie')
|
28
|
+
```
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
trie = Melisa::Trie.new
|
32
|
+
trie.load('winter.trie')
|
33
|
+
|
34
|
+
trie.include? 'snow'
|
35
|
+
# => true
|
36
|
+
```
|
37
|
+
|
38
|
+
Melisa includes an IntTrie type that can be used to time- and space-efficiently store integer values in association with a string:
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
trie = Melisa::IntTrie.new "one" => 1, "two" => 2, "onetwo" => 3
|
42
|
+
trie['one']
|
43
|
+
# => 1
|
44
|
+
|
45
|
+
trie.get_all('one')
|
46
|
+
# => [3, 1]
|
47
|
+
```
|
48
|
+
|
1
49
|
Features
|
2
50
|
--------
|
3
51
|
- fast search for exact strings and prefixes
|
4
52
|
- has a BytesTrie that can be used to store binary data
|
5
53
|
- has an IntTrie that can be used to store integer values easily
|
54
|
+
- Ruby bindings for Marisa Trie built into the gem (require 'marisa')
|
6
55
|
|
7
|
-
TODO
|
8
|
-
----
|
9
|
-
- Ruby bindings aren't yet built into the gem
|
10
56
|
|
11
|
-
|
57
|
+
About
|
58
|
+
-----
|
59
|
+
(c) 2014 Duane Johnson
|
60
|
+
License: MIT
|
data/ext/extconf.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
require "mkmf"
|
2
|
+
require "fileutils"
|
3
|
+
|
4
|
+
def sys(cmd)
|
5
|
+
puts " -- #{cmd}"
|
6
|
+
unless ret = xsystem(cmd)
|
7
|
+
raise "#{cmd} failed, please report issue on https://github.com/wordtreefoundation/melisa"
|
8
|
+
end
|
9
|
+
ret
|
10
|
+
end
|
11
|
+
|
12
|
+
if `which make`.strip.empty?
|
13
|
+
STDERR.puts "\n\n"
|
14
|
+
STDERR.puts "***************************************************************************************"
|
15
|
+
STDERR.puts "*************** make required (apt-get install make build-essential) =( ***************"
|
16
|
+
STDERR.puts "***************************************************************************************"
|
17
|
+
exit(1)
|
18
|
+
end
|
19
|
+
|
20
|
+
MARISA_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "marisa-0.2.4"))
|
21
|
+
PREFIX = File.join(MARISA_ROOT, 'pkg')
|
22
|
+
|
23
|
+
FileUtils.cd(MARISA_ROOT) do
|
24
|
+
sys "./configure --prefix='#{PREFIX}'"
|
25
|
+
sys "make install"
|
26
|
+
sys "make distclean"
|
27
|
+
end
|
28
|
+
|
29
|
+
$CFLAGS << " -I#{File.join(PREFIX, 'include')}"
|
30
|
+
$CPPFLAGS << " -I#{File.join(PREFIX, 'include')}"
|
31
|
+
$LDFLAGS << " -L#{File.join(PREFIX, 'lib')} -lmarisa"
|
32
|
+
|
33
|
+
create_makefile("marisa")
|
@@ -0,0 +1 @@
|
|
1
|
+
Susumu Yata <syata@acm.org>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
libmarisa and its command line tools are dual-licensed under the BSD 2-clause license and the LGPL.
|
2
|
+
|
3
|
+
* The BSD 2-clause license
|
4
|
+
|
5
|
+
Copyright (c) 2010-2013, Susumu Yata
|
6
|
+
All rights reserved.
|
7
|
+
|
8
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
9
|
+
|
10
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
11
|
+
- 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.
|
12
|
+
|
13
|
+
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 HOLDER 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.
|
14
|
+
|
15
|
+
* The LGPL 2.1 or any later version
|
16
|
+
|
17
|
+
marisa-trie - A static and space-efficient trie data structure.
|
18
|
+
Copyright (C) 2010-2013 Susumu Yata
|
19
|
+
|
20
|
+
This library is free software; you can redistribute it and/or
|
21
|
+
modify it under the terms of the GNU Lesser General Public
|
22
|
+
License as published by the Free Software Foundation; either
|
23
|
+
version 2.1 of the License, or (at your option) any later version.
|
24
|
+
|
25
|
+
This library is distributed in the hope that it will be useful,
|
26
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
27
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
28
|
+
Lesser General Public License for more details.
|
29
|
+
|
30
|
+
You should have received a copy of the GNU Lesser General Public
|
31
|
+
License along with this library; if not, write to the Free Software
|
32
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
File without changes
|
@@ -0,0 +1,237 @@
|
|
1
|
+
Installation Instructions
|
2
|
+
*************************
|
3
|
+
|
4
|
+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
5
|
+
2006, 2007 Free Software Foundation, Inc.
|
6
|
+
|
7
|
+
This file is free documentation; the Free Software Foundation gives
|
8
|
+
unlimited permission to copy, distribute and modify it.
|
9
|
+
|
10
|
+
Basic Installation
|
11
|
+
==================
|
12
|
+
|
13
|
+
Briefly, the shell commands `./configure; make; make install' should
|
14
|
+
configure, build, and install this package. The following
|
15
|
+
more-detailed instructions are generic; see the `README' file for
|
16
|
+
instructions specific to this package.
|
17
|
+
|
18
|
+
The `configure' shell script attempts to guess correct values for
|
19
|
+
various system-dependent variables used during compilation. It uses
|
20
|
+
those values to create a `Makefile' in each directory of the package.
|
21
|
+
It may also create one or more `.h' files containing system-dependent
|
22
|
+
definitions. Finally, it creates a shell script `config.status' that
|
23
|
+
you can run in the future to recreate the current configuration, and a
|
24
|
+
file `config.log' containing compiler output (useful mainly for
|
25
|
+
debugging `configure').
|
26
|
+
|
27
|
+
It can also use an optional file (typically called `config.cache'
|
28
|
+
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
29
|
+
the results of its tests to speed up reconfiguring. Caching is
|
30
|
+
disabled by default to prevent problems with accidental use of stale
|
31
|
+
cache files.
|
32
|
+
|
33
|
+
If you need to do unusual things to compile the package, please try
|
34
|
+
to figure out how `configure' could check whether to do them, and mail
|
35
|
+
diffs or instructions to the address given in the `README' so they can
|
36
|
+
be considered for the next release. If you are using the cache, and at
|
37
|
+
some point `config.cache' contains results you don't want to keep, you
|
38
|
+
may remove or edit it.
|
39
|
+
|
40
|
+
The file `configure.ac' (or `configure.in') is used to create
|
41
|
+
`configure' by a program called `autoconf'. You need `configure.ac' if
|
42
|
+
you want to change it or regenerate `configure' using a newer version
|
43
|
+
of `autoconf'.
|
44
|
+
|
45
|
+
The simplest way to compile this package is:
|
46
|
+
|
47
|
+
1. `cd' to the directory containing the package's source code and type
|
48
|
+
`./configure' to configure the package for your system.
|
49
|
+
|
50
|
+
Running `configure' might take a while. While running, it prints
|
51
|
+
some messages telling which features it is checking for.
|
52
|
+
|
53
|
+
2. Type `make' to compile the package.
|
54
|
+
|
55
|
+
3. Optionally, type `make check' to run any self-tests that come with
|
56
|
+
the package.
|
57
|
+
|
58
|
+
4. Type `make install' to install the programs and any data files and
|
59
|
+
documentation.
|
60
|
+
|
61
|
+
5. You can remove the program binaries and object files from the
|
62
|
+
source code directory by typing `make clean'. To also remove the
|
63
|
+
files that `configure' created (so you can compile the package for
|
64
|
+
a different kind of computer), type `make distclean'. There is
|
65
|
+
also a `make maintainer-clean' target, but that is intended mainly
|
66
|
+
for the package's developers. If you use it, you may have to get
|
67
|
+
all sorts of other programs in order to regenerate files that came
|
68
|
+
with the distribution.
|
69
|
+
|
70
|
+
6. Often, you can also type `make uninstall' to remove the installed
|
71
|
+
files again.
|
72
|
+
|
73
|
+
Compilers and Options
|
74
|
+
=====================
|
75
|
+
|
76
|
+
Some systems require unusual options for compilation or linking that the
|
77
|
+
`configure' script does not know about. Run `./configure --help' for
|
78
|
+
details on some of the pertinent environment variables.
|
79
|
+
|
80
|
+
You can give `configure' initial values for configuration parameters
|
81
|
+
by setting variables in the command line or in the environment. Here
|
82
|
+
is an example:
|
83
|
+
|
84
|
+
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
85
|
+
|
86
|
+
*Note Defining Variables::, for more details.
|
87
|
+
|
88
|
+
Compiling For Multiple Architectures
|
89
|
+
====================================
|
90
|
+
|
91
|
+
You can compile the package for more than one kind of computer at the
|
92
|
+
same time, by placing the object files for each architecture in their
|
93
|
+
own directory. To do this, you can use GNU `make'. `cd' to the
|
94
|
+
directory where you want the object files and executables to go and run
|
95
|
+
the `configure' script. `configure' automatically checks for the
|
96
|
+
source code in the directory that `configure' is in and in `..'.
|
97
|
+
|
98
|
+
With a non-GNU `make', it is safer to compile the package for one
|
99
|
+
architecture at a time in the source code directory. After you have
|
100
|
+
installed the package for one architecture, use `make distclean' before
|
101
|
+
reconfiguring for another architecture.
|
102
|
+
|
103
|
+
Installation Names
|
104
|
+
==================
|
105
|
+
|
106
|
+
By default, `make install' installs the package's commands under
|
107
|
+
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
108
|
+
can specify an installation prefix other than `/usr/local' by giving
|
109
|
+
`configure' the option `--prefix=PREFIX'.
|
110
|
+
|
111
|
+
You can specify separate installation prefixes for
|
112
|
+
architecture-specific files and architecture-independent files. If you
|
113
|
+
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
114
|
+
PREFIX as the prefix for installing programs and libraries.
|
115
|
+
Documentation and other data files still use the regular prefix.
|
116
|
+
|
117
|
+
In addition, if you use an unusual directory layout you can give
|
118
|
+
options like `--bindir=DIR' to specify different values for particular
|
119
|
+
kinds of files. Run `configure --help' for a list of the directories
|
120
|
+
you can set and what kinds of files go in them.
|
121
|
+
|
122
|
+
If the package supports it, you can cause programs to be installed
|
123
|
+
with an extra prefix or suffix on their names by giving `configure' the
|
124
|
+
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
125
|
+
|
126
|
+
Optional Features
|
127
|
+
=================
|
128
|
+
|
129
|
+
Some packages pay attention to `--enable-FEATURE' options to
|
130
|
+
`configure', where FEATURE indicates an optional part of the package.
|
131
|
+
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
132
|
+
is something like `gnu-as' or `x' (for the X Window System). The
|
133
|
+
`README' should mention any `--enable-' and `--with-' options that the
|
134
|
+
package recognizes.
|
135
|
+
|
136
|
+
For packages that use the X Window System, `configure' can usually
|
137
|
+
find the X include and library files automatically, but if it doesn't,
|
138
|
+
you can use the `configure' options `--x-includes=DIR' and
|
139
|
+
`--x-libraries=DIR' to specify their locations.
|
140
|
+
|
141
|
+
Specifying the System Type
|
142
|
+
==========================
|
143
|
+
|
144
|
+
There may be some features `configure' cannot figure out automatically,
|
145
|
+
but needs to determine by the type of machine the package will run on.
|
146
|
+
Usually, assuming the package is built to be run on the _same_
|
147
|
+
architectures, `configure' can figure that out, but if it prints a
|
148
|
+
message saying it cannot guess the machine type, give it the
|
149
|
+
`--build=TYPE' option. TYPE can either be a short name for the system
|
150
|
+
type, such as `sun4', or a canonical name which has the form:
|
151
|
+
|
152
|
+
CPU-COMPANY-SYSTEM
|
153
|
+
|
154
|
+
where SYSTEM can have one of these forms:
|
155
|
+
|
156
|
+
OS KERNEL-OS
|
157
|
+
|
158
|
+
See the file `config.sub' for the possible values of each field. If
|
159
|
+
`config.sub' isn't included in this package, then this package doesn't
|
160
|
+
need to know the machine type.
|
161
|
+
|
162
|
+
If you are _building_ compiler tools for cross-compiling, you should
|
163
|
+
use the option `--target=TYPE' to select the type of system they will
|
164
|
+
produce code for.
|
165
|
+
|
166
|
+
If you want to _use_ a cross compiler, that generates code for a
|
167
|
+
platform different from the build platform, you should specify the
|
168
|
+
"host" platform (i.e., that on which the generated programs will
|
169
|
+
eventually be run) with `--host=TYPE'.
|
170
|
+
|
171
|
+
Sharing Defaults
|
172
|
+
================
|
173
|
+
|
174
|
+
If you want to set default values for `configure' scripts to share, you
|
175
|
+
can create a site shell script called `config.site' that gives default
|
176
|
+
values for variables like `CC', `cache_file', and `prefix'.
|
177
|
+
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
178
|
+
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
179
|
+
`CONFIG_SITE' environment variable to the location of the site script.
|
180
|
+
A warning: not all `configure' scripts look for a site script.
|
181
|
+
|
182
|
+
Defining Variables
|
183
|
+
==================
|
184
|
+
|
185
|
+
Variables not defined in a site shell script can be set in the
|
186
|
+
environment passed to `configure'. However, some packages may run
|
187
|
+
configure again during the build, and the customized values of these
|
188
|
+
variables may be lost. In order to avoid this problem, you should set
|
189
|
+
them in the `configure' command line, using `VAR=value'. For example:
|
190
|
+
|
191
|
+
./configure CC=/usr/local2/bin/gcc
|
192
|
+
|
193
|
+
causes the specified `gcc' to be used as the C compiler (unless it is
|
194
|
+
overridden in the site shell script).
|
195
|
+
|
196
|
+
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
197
|
+
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
198
|
+
|
199
|
+
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
200
|
+
|
201
|
+
`configure' Invocation
|
202
|
+
======================
|
203
|
+
|
204
|
+
`configure' recognizes the following options to control how it operates.
|
205
|
+
|
206
|
+
`--help'
|
207
|
+
`-h'
|
208
|
+
Print a summary of the options to `configure', and exit.
|
209
|
+
|
210
|
+
`--version'
|
211
|
+
`-V'
|
212
|
+
Print the version of Autoconf used to generate the `configure'
|
213
|
+
script, and exit.
|
214
|
+
|
215
|
+
`--cache-file=FILE'
|
216
|
+
Enable the cache: use and save the results of the tests in FILE,
|
217
|
+
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
218
|
+
disable caching.
|
219
|
+
|
220
|
+
`--config-cache'
|
221
|
+
`-C'
|
222
|
+
Alias for `--cache-file=config.cache'.
|
223
|
+
|
224
|
+
`--quiet'
|
225
|
+
`--silent'
|
226
|
+
`-q'
|
227
|
+
Do not print messages saying which checks are being made. To
|
228
|
+
suppress all normal output, redirect it to `/dev/null' (any error
|
229
|
+
messages will still be shown).
|
230
|
+
|
231
|
+
`--srcdir=DIR'
|
232
|
+
Look for the package's source code in directory DIR. Usually
|
233
|
+
`configure' can determine that directory automatically.
|
234
|
+
|
235
|
+
`configure' also accepts some other, not widely useful, options. Run
|
236
|
+
`configure --help' for more details.
|
237
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
ACLOCAL_AMFLAGS = -I m4
|
2
|
+
|
3
|
+
SUBDIRS = lib tools tests
|
4
|
+
|
5
|
+
pkgconfigdir = ${libdir}/pkgconfig
|
6
|
+
pkgconfig_DATA = marisa.pc
|
7
|
+
|
8
|
+
EXTRA_DIST = \
|
9
|
+
bindings/Makefile \
|
10
|
+
bindings/perl/Makefile.PL \
|
11
|
+
bindings/perl/marisa.pm \
|
12
|
+
bindings/python/setup.py \
|
13
|
+
bindings/python/marisa.py \
|
14
|
+
bindings/ruby/extconf.rb \
|
15
|
+
bindings/*.cxx \
|
16
|
+
bindings/*.h \
|
17
|
+
bindings/*.i \
|
18
|
+
bindings/*/*.cxx \
|
19
|
+
bindings/*/*.h \
|
20
|
+
bindings/*/sample.* \
|
21
|
+
docs/*.html \
|
22
|
+
docs/*.css \
|
23
|
+
vs2008/vs2008.* \
|
24
|
+
vs2008/*/*
|
@@ -0,0 +1,803 @@
|
|
1
|
+
# Makefile.in generated by automake 1.11.3 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
6
|
+
# Foundation, Inc.
|
7
|
+
# This Makefile.in is free software; the Free Software Foundation
|
8
|
+
# gives unlimited permission to copy and/or distribute it,
|
9
|
+
# with or without modifications, as long as this notice is preserved.
|
10
|
+
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
13
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
14
|
+
# PARTICULAR PURPOSE.
|
15
|
+
|
16
|
+
@SET_MAKE@
|
17
|
+
|
18
|
+
VPATH = @srcdir@
|
19
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
20
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
21
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
22
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
23
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
24
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
25
|
+
install_sh_PROGRAM = $(install_sh) -c
|
26
|
+
install_sh_SCRIPT = $(install_sh) -c
|
27
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
28
|
+
transform = $(program_transform_name)
|
29
|
+
NORMAL_INSTALL = :
|
30
|
+
PRE_INSTALL = :
|
31
|
+
POST_INSTALL = :
|
32
|
+
NORMAL_UNINSTALL = :
|
33
|
+
PRE_UNINSTALL = :
|
34
|
+
POST_UNINSTALL = :
|
35
|
+
build_triplet = @build@
|
36
|
+
host_triplet = @host@
|
37
|
+
subdir = .
|
38
|
+
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
39
|
+
$(srcdir)/Makefile.in $(srcdir)/marisa.pc.in \
|
40
|
+
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
41
|
+
config.guess config.sub depcomp install-sh ltmain.sh missing
|
42
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
43
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
44
|
+
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
45
|
+
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
46
|
+
$(top_srcdir)/configure.ac
|
47
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
48
|
+
$(ACLOCAL_M4)
|
49
|
+
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
50
|
+
configure.lineno config.status.lineno
|
51
|
+
mkinstalldirs = $(install_sh) -d
|
52
|
+
CONFIG_CLEAN_FILES = marisa.pc
|
53
|
+
CONFIG_CLEAN_VPATH_FILES =
|
54
|
+
SOURCES =
|
55
|
+
DIST_SOURCES =
|
56
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
57
|
+
html-recursive info-recursive install-data-recursive \
|
58
|
+
install-dvi-recursive install-exec-recursive \
|
59
|
+
install-html-recursive install-info-recursive \
|
60
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
61
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
62
|
+
ps-recursive uninstall-recursive
|
63
|
+
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
64
|
+
am__vpath_adj = case $$p in \
|
65
|
+
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
66
|
+
*) f=$$p;; \
|
67
|
+
esac;
|
68
|
+
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
69
|
+
am__install_max = 40
|
70
|
+
am__nobase_strip_setup = \
|
71
|
+
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
72
|
+
am__nobase_strip = \
|
73
|
+
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
74
|
+
am__nobase_list = $(am__nobase_strip_setup); \
|
75
|
+
for p in $$list; do echo "$$p $$p"; done | \
|
76
|
+
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
77
|
+
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
78
|
+
if (++n[$$2] == $(am__install_max)) \
|
79
|
+
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
80
|
+
END { for (dir in files) print dir, files[dir] }'
|
81
|
+
am__base_list = \
|
82
|
+
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
83
|
+
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
84
|
+
am__uninstall_files_from_dir = { \
|
85
|
+
test -z "$$files" \
|
86
|
+
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
87
|
+
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
88
|
+
$(am__cd) "$$dir" && rm -f $$files; }; \
|
89
|
+
}
|
90
|
+
am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
|
91
|
+
DATA = $(pkgconfig_DATA)
|
92
|
+
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
93
|
+
distclean-recursive maintainer-clean-recursive
|
94
|
+
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
95
|
+
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
96
|
+
distdir dist dist-all distcheck
|
97
|
+
ETAGS = etags
|
98
|
+
CTAGS = ctags
|
99
|
+
DIST_SUBDIRS = $(SUBDIRS)
|
100
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
101
|
+
distdir = $(PACKAGE)-$(VERSION)
|
102
|
+
top_distdir = $(distdir)
|
103
|
+
am__remove_distdir = \
|
104
|
+
if test -d "$(distdir)"; then \
|
105
|
+
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
106
|
+
&& rm -rf "$(distdir)" \
|
107
|
+
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
108
|
+
else :; fi
|
109
|
+
am__relativize = \
|
110
|
+
dir0=`pwd`; \
|
111
|
+
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
112
|
+
sed_rest='s,^[^/]*/*,,'; \
|
113
|
+
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
114
|
+
sed_butlast='s,/*[^/]*$$,,'; \
|
115
|
+
while test -n "$$dir1"; do \
|
116
|
+
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
117
|
+
if test "$$first" != "."; then \
|
118
|
+
if test "$$first" = ".."; then \
|
119
|
+
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
120
|
+
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
121
|
+
else \
|
122
|
+
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
123
|
+
if test "$$first2" = "$$first"; then \
|
124
|
+
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
125
|
+
else \
|
126
|
+
dir2="../$$dir2"; \
|
127
|
+
fi; \
|
128
|
+
dir0="$$dir0"/"$$first"; \
|
129
|
+
fi; \
|
130
|
+
fi; \
|
131
|
+
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
132
|
+
done; \
|
133
|
+
reldir="$$dir2"
|
134
|
+
DIST_ARCHIVES = $(distdir).tar.gz
|
135
|
+
GZIP_ENV = --best
|
136
|
+
distuninstallcheck_listfiles = find . -type f -print
|
137
|
+
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
138
|
+
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
139
|
+
distcleancheck_listfiles = find . -type f -print
|
140
|
+
ACLOCAL = @ACLOCAL@
|
141
|
+
AMTAR = @AMTAR@
|
142
|
+
AR = @AR@
|
143
|
+
AUTOCONF = @AUTOCONF@
|
144
|
+
AUTOHEADER = @AUTOHEADER@
|
145
|
+
AUTOMAKE = @AUTOMAKE@
|
146
|
+
AWK = @AWK@
|
147
|
+
CC = @CC@
|
148
|
+
CCDEPMODE = @CCDEPMODE@
|
149
|
+
CFLAGS = @CFLAGS@
|
150
|
+
CPP = @CPP@
|
151
|
+
CPPFLAGS = @CPPFLAGS@
|
152
|
+
CXX = @CXX@
|
153
|
+
CXXCPP = @CXXCPP@
|
154
|
+
CXXDEPMODE = @CXXDEPMODE@
|
155
|
+
CXXFLAGS = @CXXFLAGS@
|
156
|
+
CYGPATH_W = @CYGPATH_W@
|
157
|
+
DEFS = @DEFS@
|
158
|
+
DEPDIR = @DEPDIR@
|
159
|
+
DLLTOOL = @DLLTOOL@
|
160
|
+
DSYMUTIL = @DSYMUTIL@
|
161
|
+
DUMPBIN = @DUMPBIN@
|
162
|
+
ECHO_C = @ECHO_C@
|
163
|
+
ECHO_N = @ECHO_N@
|
164
|
+
ECHO_T = @ECHO_T@
|
165
|
+
EGREP = @EGREP@
|
166
|
+
EXEEXT = @EXEEXT@
|
167
|
+
FGREP = @FGREP@
|
168
|
+
GREP = @GREP@
|
169
|
+
INSTALL = @INSTALL@
|
170
|
+
INSTALL_DATA = @INSTALL_DATA@
|
171
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
172
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
173
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
174
|
+
LD = @LD@
|
175
|
+
LDFLAGS = @LDFLAGS@
|
176
|
+
LIBOBJS = @LIBOBJS@
|
177
|
+
LIBS = @LIBS@
|
178
|
+
LIBTOOL = @LIBTOOL@
|
179
|
+
LIPO = @LIPO@
|
180
|
+
LN_S = @LN_S@
|
181
|
+
LTLIBOBJS = @LTLIBOBJS@
|
182
|
+
MAKEINFO = @MAKEINFO@
|
183
|
+
MANIFEST_TOOL = @MANIFEST_TOOL@
|
184
|
+
MKDIR_P = @MKDIR_P@
|
185
|
+
NM = @NM@
|
186
|
+
NMEDIT = @NMEDIT@
|
187
|
+
OBJDUMP = @OBJDUMP@
|
188
|
+
OBJEXT = @OBJEXT@
|
189
|
+
OTOOL = @OTOOL@
|
190
|
+
OTOOL64 = @OTOOL64@
|
191
|
+
PACKAGE = @PACKAGE@
|
192
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
193
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
194
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
195
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
196
|
+
PACKAGE_URL = @PACKAGE_URL@
|
197
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
198
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
199
|
+
RANLIB = @RANLIB@
|
200
|
+
SED = @SED@
|
201
|
+
SET_MAKE = @SET_MAKE@
|
202
|
+
SHELL = @SHELL@
|
203
|
+
STRIP = @STRIP@
|
204
|
+
VERSION = @VERSION@
|
205
|
+
abs_builddir = @abs_builddir@
|
206
|
+
abs_srcdir = @abs_srcdir@
|
207
|
+
abs_top_builddir = @abs_top_builddir@
|
208
|
+
abs_top_srcdir = @abs_top_srcdir@
|
209
|
+
ac_ct_AR = @ac_ct_AR@
|
210
|
+
ac_ct_CC = @ac_ct_CC@
|
211
|
+
ac_ct_CXX = @ac_ct_CXX@
|
212
|
+
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
213
|
+
am__include = @am__include@
|
214
|
+
am__leading_dot = @am__leading_dot@
|
215
|
+
am__quote = @am__quote@
|
216
|
+
am__tar = @am__tar@
|
217
|
+
am__untar = @am__untar@
|
218
|
+
bindir = @bindir@
|
219
|
+
build = @build@
|
220
|
+
build_alias = @build_alias@
|
221
|
+
build_cpu = @build_cpu@
|
222
|
+
build_os = @build_os@
|
223
|
+
build_vendor = @build_vendor@
|
224
|
+
builddir = @builddir@
|
225
|
+
datadir = @datadir@
|
226
|
+
datarootdir = @datarootdir@
|
227
|
+
docdir = @docdir@
|
228
|
+
dvidir = @dvidir@
|
229
|
+
exec_prefix = @exec_prefix@
|
230
|
+
host = @host@
|
231
|
+
host_alias = @host_alias@
|
232
|
+
host_cpu = @host_cpu@
|
233
|
+
host_os = @host_os@
|
234
|
+
host_vendor = @host_vendor@
|
235
|
+
htmldir = @htmldir@
|
236
|
+
includedir = @includedir@
|
237
|
+
infodir = @infodir@
|
238
|
+
install_sh = @install_sh@
|
239
|
+
libdir = @libdir@
|
240
|
+
libexecdir = @libexecdir@
|
241
|
+
localedir = @localedir@
|
242
|
+
localstatedir = @localstatedir@
|
243
|
+
mandir = @mandir@
|
244
|
+
mkdir_p = @mkdir_p@
|
245
|
+
oldincludedir = @oldincludedir@
|
246
|
+
pdfdir = @pdfdir@
|
247
|
+
prefix = @prefix@
|
248
|
+
program_transform_name = @program_transform_name@
|
249
|
+
psdir = @psdir@
|
250
|
+
sbindir = @sbindir@
|
251
|
+
sharedstatedir = @sharedstatedir@
|
252
|
+
srcdir = @srcdir@
|
253
|
+
sysconfdir = @sysconfdir@
|
254
|
+
target_alias = @target_alias@
|
255
|
+
top_build_prefix = @top_build_prefix@
|
256
|
+
top_builddir = @top_builddir@
|
257
|
+
top_srcdir = @top_srcdir@
|
258
|
+
ACLOCAL_AMFLAGS = -I m4
|
259
|
+
SUBDIRS = lib tools tests
|
260
|
+
pkgconfigdir = ${libdir}/pkgconfig
|
261
|
+
pkgconfig_DATA = marisa.pc
|
262
|
+
EXTRA_DIST = \
|
263
|
+
bindings/Makefile \
|
264
|
+
bindings/perl/Makefile.PL \
|
265
|
+
bindings/perl/marisa.pm \
|
266
|
+
bindings/python/setup.py \
|
267
|
+
bindings/python/marisa.py \
|
268
|
+
bindings/ruby/extconf.rb \
|
269
|
+
bindings/*.cxx \
|
270
|
+
bindings/*.h \
|
271
|
+
bindings/*.i \
|
272
|
+
bindings/*/*.cxx \
|
273
|
+
bindings/*/*.h \
|
274
|
+
bindings/*/sample.* \
|
275
|
+
docs/*.html \
|
276
|
+
docs/*.css \
|
277
|
+
vs2008/vs2008.* \
|
278
|
+
vs2008/*/*
|
279
|
+
|
280
|
+
all: all-recursive
|
281
|
+
|
282
|
+
.SUFFIXES:
|
283
|
+
am--refresh: Makefile
|
284
|
+
@:
|
285
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
286
|
+
@for dep in $?; do \
|
287
|
+
case '$(am__configure_deps)' in \
|
288
|
+
*$$dep*) \
|
289
|
+
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
290
|
+
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
291
|
+
&& exit 0; \
|
292
|
+
exit 1;; \
|
293
|
+
esac; \
|
294
|
+
done; \
|
295
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
296
|
+
$(am__cd) $(top_srcdir) && \
|
297
|
+
$(AUTOMAKE) --gnu Makefile
|
298
|
+
.PRECIOUS: Makefile
|
299
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
300
|
+
@case '$?' in \
|
301
|
+
*config.status*) \
|
302
|
+
echo ' $(SHELL) ./config.status'; \
|
303
|
+
$(SHELL) ./config.status;; \
|
304
|
+
*) \
|
305
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
306
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
307
|
+
esac;
|
308
|
+
|
309
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
310
|
+
$(SHELL) ./config.status --recheck
|
311
|
+
|
312
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
313
|
+
$(am__cd) $(srcdir) && $(AUTOCONF)
|
314
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
315
|
+
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
316
|
+
$(am__aclocal_m4_deps):
|
317
|
+
marisa.pc: $(top_builddir)/config.status $(srcdir)/marisa.pc.in
|
318
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@
|
319
|
+
|
320
|
+
mostlyclean-libtool:
|
321
|
+
-rm -f *.lo
|
322
|
+
|
323
|
+
clean-libtool:
|
324
|
+
-rm -rf .libs _libs
|
325
|
+
|
326
|
+
distclean-libtool:
|
327
|
+
-rm -f libtool config.lt
|
328
|
+
install-pkgconfigDATA: $(pkgconfig_DATA)
|
329
|
+
@$(NORMAL_INSTALL)
|
330
|
+
test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
|
331
|
+
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
332
|
+
for p in $$list; do \
|
333
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
334
|
+
echo "$$d$$p"; \
|
335
|
+
done | $(am__base_list) | \
|
336
|
+
while read files; do \
|
337
|
+
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
|
338
|
+
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
|
339
|
+
done
|
340
|
+
|
341
|
+
uninstall-pkgconfigDATA:
|
342
|
+
@$(NORMAL_UNINSTALL)
|
343
|
+
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
344
|
+
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
345
|
+
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
|
346
|
+
|
347
|
+
# This directory's subdirectories are mostly independent; you can cd
|
348
|
+
# into them and run `make' without going through this Makefile.
|
349
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
350
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
351
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
352
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
353
|
+
$(RECURSIVE_TARGETS):
|
354
|
+
@fail= failcom='exit 1'; \
|
355
|
+
for f in x $$MAKEFLAGS; do \
|
356
|
+
case $$f in \
|
357
|
+
*=* | --[!k]*);; \
|
358
|
+
*k*) failcom='fail=yes';; \
|
359
|
+
esac; \
|
360
|
+
done; \
|
361
|
+
dot_seen=no; \
|
362
|
+
target=`echo $@ | sed s/-recursive//`; \
|
363
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
364
|
+
echo "Making $$target in $$subdir"; \
|
365
|
+
if test "$$subdir" = "."; then \
|
366
|
+
dot_seen=yes; \
|
367
|
+
local_target="$$target-am"; \
|
368
|
+
else \
|
369
|
+
local_target="$$target"; \
|
370
|
+
fi; \
|
371
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
372
|
+
|| eval $$failcom; \
|
373
|
+
done; \
|
374
|
+
if test "$$dot_seen" = "no"; then \
|
375
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
376
|
+
fi; test -z "$$fail"
|
377
|
+
|
378
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
379
|
+
@fail= failcom='exit 1'; \
|
380
|
+
for f in x $$MAKEFLAGS; do \
|
381
|
+
case $$f in \
|
382
|
+
*=* | --[!k]*);; \
|
383
|
+
*k*) failcom='fail=yes';; \
|
384
|
+
esac; \
|
385
|
+
done; \
|
386
|
+
dot_seen=no; \
|
387
|
+
case "$@" in \
|
388
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
389
|
+
*) list='$(SUBDIRS)' ;; \
|
390
|
+
esac; \
|
391
|
+
rev=''; for subdir in $$list; do \
|
392
|
+
if test "$$subdir" = "."; then :; else \
|
393
|
+
rev="$$subdir $$rev"; \
|
394
|
+
fi; \
|
395
|
+
done; \
|
396
|
+
rev="$$rev ."; \
|
397
|
+
target=`echo $@ | sed s/-recursive//`; \
|
398
|
+
for subdir in $$rev; do \
|
399
|
+
echo "Making $$target in $$subdir"; \
|
400
|
+
if test "$$subdir" = "."; then \
|
401
|
+
local_target="$$target-am"; \
|
402
|
+
else \
|
403
|
+
local_target="$$target"; \
|
404
|
+
fi; \
|
405
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
406
|
+
|| eval $$failcom; \
|
407
|
+
done && test -z "$$fail"
|
408
|
+
tags-recursive:
|
409
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
410
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
411
|
+
done
|
412
|
+
ctags-recursive:
|
413
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
414
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
415
|
+
done
|
416
|
+
|
417
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
418
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
419
|
+
unique=`for i in $$list; do \
|
420
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
421
|
+
done | \
|
422
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
423
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
424
|
+
mkid -fID $$unique
|
425
|
+
tags: TAGS
|
426
|
+
|
427
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
428
|
+
$(TAGS_FILES) $(LISP)
|
429
|
+
set x; \
|
430
|
+
here=`pwd`; \
|
431
|
+
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
432
|
+
include_option=--etags-include; \
|
433
|
+
empty_fix=.; \
|
434
|
+
else \
|
435
|
+
include_option=--include; \
|
436
|
+
empty_fix=; \
|
437
|
+
fi; \
|
438
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
439
|
+
if test "$$subdir" = .; then :; else \
|
440
|
+
test ! -f $$subdir/TAGS || \
|
441
|
+
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
442
|
+
fi; \
|
443
|
+
done; \
|
444
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
445
|
+
unique=`for i in $$list; do \
|
446
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
447
|
+
done | \
|
448
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
449
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
450
|
+
shift; \
|
451
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
452
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
453
|
+
if test $$# -gt 0; then \
|
454
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
455
|
+
"$$@" $$unique; \
|
456
|
+
else \
|
457
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
458
|
+
$$unique; \
|
459
|
+
fi; \
|
460
|
+
fi
|
461
|
+
ctags: CTAGS
|
462
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
463
|
+
$(TAGS_FILES) $(LISP)
|
464
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
465
|
+
unique=`for i in $$list; do \
|
466
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
467
|
+
done | \
|
468
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
469
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
470
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
471
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
472
|
+
$$unique
|
473
|
+
|
474
|
+
GTAGS:
|
475
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
476
|
+
&& $(am__cd) $(top_srcdir) \
|
477
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
478
|
+
|
479
|
+
distclean-tags:
|
480
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
481
|
+
|
482
|
+
distdir: $(DISTFILES)
|
483
|
+
$(am__remove_distdir)
|
484
|
+
test -d "$(distdir)" || mkdir "$(distdir)"
|
485
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
486
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
487
|
+
list='$(DISTFILES)'; \
|
488
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
489
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
490
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
491
|
+
case $$dist_files in \
|
492
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
493
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
494
|
+
sort -u` ;; \
|
495
|
+
esac; \
|
496
|
+
for file in $$dist_files; do \
|
497
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
498
|
+
if test -d $$d/$$file; then \
|
499
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
500
|
+
if test -d "$(distdir)/$$file"; then \
|
501
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
502
|
+
fi; \
|
503
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
504
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
505
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
506
|
+
fi; \
|
507
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
508
|
+
else \
|
509
|
+
test -f "$(distdir)/$$file" \
|
510
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
511
|
+
|| exit 1; \
|
512
|
+
fi; \
|
513
|
+
done
|
514
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
515
|
+
if test "$$subdir" = .; then :; else \
|
516
|
+
test -d "$(distdir)/$$subdir" \
|
517
|
+
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
518
|
+
|| exit 1; \
|
519
|
+
fi; \
|
520
|
+
done
|
521
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
522
|
+
if test "$$subdir" = .; then :; else \
|
523
|
+
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
524
|
+
$(am__relativize); \
|
525
|
+
new_distdir=$$reldir; \
|
526
|
+
dir1=$$subdir; dir2="$(top_distdir)"; \
|
527
|
+
$(am__relativize); \
|
528
|
+
new_top_distdir=$$reldir; \
|
529
|
+
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
530
|
+
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
531
|
+
($(am__cd) $$subdir && \
|
532
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
533
|
+
top_distdir="$$new_top_distdir" \
|
534
|
+
distdir="$$new_distdir" \
|
535
|
+
am__remove_distdir=: \
|
536
|
+
am__skip_length_check=: \
|
537
|
+
am__skip_mode_fix=: \
|
538
|
+
distdir) \
|
539
|
+
|| exit 1; \
|
540
|
+
fi; \
|
541
|
+
done
|
542
|
+
-test -n "$(am__skip_mode_fix)" \
|
543
|
+
|| find "$(distdir)" -type d ! -perm -755 \
|
544
|
+
-exec chmod u+rwx,go+rx {} \; -o \
|
545
|
+
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
546
|
+
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
547
|
+
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
548
|
+
|| chmod -R a+r "$(distdir)"
|
549
|
+
dist-gzip: distdir
|
550
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
551
|
+
$(am__remove_distdir)
|
552
|
+
|
553
|
+
dist-bzip2: distdir
|
554
|
+
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
555
|
+
$(am__remove_distdir)
|
556
|
+
|
557
|
+
dist-lzip: distdir
|
558
|
+
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
559
|
+
$(am__remove_distdir)
|
560
|
+
|
561
|
+
dist-lzma: distdir
|
562
|
+
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
563
|
+
$(am__remove_distdir)
|
564
|
+
|
565
|
+
dist-xz: distdir
|
566
|
+
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
567
|
+
$(am__remove_distdir)
|
568
|
+
|
569
|
+
dist-tarZ: distdir
|
570
|
+
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
571
|
+
$(am__remove_distdir)
|
572
|
+
|
573
|
+
dist-shar: distdir
|
574
|
+
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
575
|
+
$(am__remove_distdir)
|
576
|
+
|
577
|
+
dist-zip: distdir
|
578
|
+
-rm -f $(distdir).zip
|
579
|
+
zip -rq $(distdir).zip $(distdir)
|
580
|
+
$(am__remove_distdir)
|
581
|
+
|
582
|
+
dist dist-all: distdir
|
583
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
584
|
+
$(am__remove_distdir)
|
585
|
+
|
586
|
+
# This target untars the dist file and tries a VPATH configuration. Then
|
587
|
+
# it guarantees that the distribution is self-contained by making another
|
588
|
+
# tarfile.
|
589
|
+
distcheck: dist
|
590
|
+
case '$(DIST_ARCHIVES)' in \
|
591
|
+
*.tar.gz*) \
|
592
|
+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
593
|
+
*.tar.bz2*) \
|
594
|
+
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
595
|
+
*.tar.lzma*) \
|
596
|
+
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
597
|
+
*.tar.lz*) \
|
598
|
+
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
599
|
+
*.tar.xz*) \
|
600
|
+
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
601
|
+
*.tar.Z*) \
|
602
|
+
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
603
|
+
*.shar.gz*) \
|
604
|
+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
605
|
+
*.zip*) \
|
606
|
+
unzip $(distdir).zip ;;\
|
607
|
+
esac
|
608
|
+
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
609
|
+
mkdir $(distdir)/_build
|
610
|
+
mkdir $(distdir)/_inst
|
611
|
+
chmod a-w $(distdir)
|
612
|
+
test -d $(distdir)/_build || exit 0; \
|
613
|
+
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
614
|
+
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
615
|
+
&& am__cwd=`pwd` \
|
616
|
+
&& $(am__cd) $(distdir)/_build \
|
617
|
+
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
618
|
+
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
619
|
+
$(DISTCHECK_CONFIGURE_FLAGS) \
|
620
|
+
&& $(MAKE) $(AM_MAKEFLAGS) \
|
621
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
622
|
+
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
623
|
+
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
624
|
+
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
625
|
+
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
626
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
627
|
+
distuninstallcheck \
|
628
|
+
&& chmod -R a-w "$$dc_install_base" \
|
629
|
+
&& ({ \
|
630
|
+
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
631
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
632
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
633
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
634
|
+
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
635
|
+
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
636
|
+
&& rm -rf "$$dc_destdir" \
|
637
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
638
|
+
&& rm -rf $(DIST_ARCHIVES) \
|
639
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
640
|
+
&& cd "$$am__cwd" \
|
641
|
+
|| exit 1
|
642
|
+
$(am__remove_distdir)
|
643
|
+
@(echo "$(distdir) archives ready for distribution: "; \
|
644
|
+
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
645
|
+
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
646
|
+
distuninstallcheck:
|
647
|
+
@test -n '$(distuninstallcheck_dir)' || { \
|
648
|
+
echo 'ERROR: trying to run $@ with an empty' \
|
649
|
+
'$$(distuninstallcheck_dir)' >&2; \
|
650
|
+
exit 1; \
|
651
|
+
}; \
|
652
|
+
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
653
|
+
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
654
|
+
exit 1; \
|
655
|
+
}; \
|
656
|
+
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
657
|
+
|| { echo "ERROR: files left after uninstall:" ; \
|
658
|
+
if test -n "$(DESTDIR)"; then \
|
659
|
+
echo " (check DESTDIR support)"; \
|
660
|
+
fi ; \
|
661
|
+
$(distuninstallcheck_listfiles) ; \
|
662
|
+
exit 1; } >&2
|
663
|
+
distcleancheck: distclean
|
664
|
+
@if test '$(srcdir)' = . ; then \
|
665
|
+
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
666
|
+
exit 1 ; \
|
667
|
+
fi
|
668
|
+
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
669
|
+
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
670
|
+
$(distcleancheck_listfiles) ; \
|
671
|
+
exit 1; } >&2
|
672
|
+
check-am: all-am
|
673
|
+
check: check-recursive
|
674
|
+
all-am: Makefile $(DATA)
|
675
|
+
installdirs: installdirs-recursive
|
676
|
+
installdirs-am:
|
677
|
+
for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
|
678
|
+
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
679
|
+
done
|
680
|
+
install: install-recursive
|
681
|
+
install-exec: install-exec-recursive
|
682
|
+
install-data: install-data-recursive
|
683
|
+
uninstall: uninstall-recursive
|
684
|
+
|
685
|
+
install-am: all-am
|
686
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
687
|
+
|
688
|
+
installcheck: installcheck-recursive
|
689
|
+
install-strip:
|
690
|
+
if test -z '$(STRIP)'; then \
|
691
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
692
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
693
|
+
install; \
|
694
|
+
else \
|
695
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
696
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
697
|
+
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
698
|
+
fi
|
699
|
+
mostlyclean-generic:
|
700
|
+
|
701
|
+
clean-generic:
|
702
|
+
|
703
|
+
distclean-generic:
|
704
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
705
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
706
|
+
|
707
|
+
maintainer-clean-generic:
|
708
|
+
@echo "This command is intended for maintainers to use"
|
709
|
+
@echo "it deletes files that may require special tools to rebuild."
|
710
|
+
clean: clean-recursive
|
711
|
+
|
712
|
+
clean-am: clean-generic clean-libtool mostlyclean-am
|
713
|
+
|
714
|
+
distclean: distclean-recursive
|
715
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
716
|
+
-rm -f Makefile
|
717
|
+
distclean-am: clean-am distclean-generic distclean-libtool \
|
718
|
+
distclean-tags
|
719
|
+
|
720
|
+
dvi: dvi-recursive
|
721
|
+
|
722
|
+
dvi-am:
|
723
|
+
|
724
|
+
html: html-recursive
|
725
|
+
|
726
|
+
html-am:
|
727
|
+
|
728
|
+
info: info-recursive
|
729
|
+
|
730
|
+
info-am:
|
731
|
+
|
732
|
+
install-data-am: install-pkgconfigDATA
|
733
|
+
|
734
|
+
install-dvi: install-dvi-recursive
|
735
|
+
|
736
|
+
install-dvi-am:
|
737
|
+
|
738
|
+
install-exec-am:
|
739
|
+
|
740
|
+
install-html: install-html-recursive
|
741
|
+
|
742
|
+
install-html-am:
|
743
|
+
|
744
|
+
install-info: install-info-recursive
|
745
|
+
|
746
|
+
install-info-am:
|
747
|
+
|
748
|
+
install-man:
|
749
|
+
|
750
|
+
install-pdf: install-pdf-recursive
|
751
|
+
|
752
|
+
install-pdf-am:
|
753
|
+
|
754
|
+
install-ps: install-ps-recursive
|
755
|
+
|
756
|
+
install-ps-am:
|
757
|
+
|
758
|
+
installcheck-am:
|
759
|
+
|
760
|
+
maintainer-clean: maintainer-clean-recursive
|
761
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
762
|
+
-rm -rf $(top_srcdir)/autom4te.cache
|
763
|
+
-rm -f Makefile
|
764
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
765
|
+
|
766
|
+
mostlyclean: mostlyclean-recursive
|
767
|
+
|
768
|
+
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
769
|
+
|
770
|
+
pdf: pdf-recursive
|
771
|
+
|
772
|
+
pdf-am:
|
773
|
+
|
774
|
+
ps: ps-recursive
|
775
|
+
|
776
|
+
ps-am:
|
777
|
+
|
778
|
+
uninstall-am: uninstall-pkgconfigDATA
|
779
|
+
|
780
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
781
|
+
install-am install-strip tags-recursive
|
782
|
+
|
783
|
+
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
784
|
+
all all-am am--refresh check check-am clean clean-generic \
|
785
|
+
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
786
|
+
dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
|
787
|
+
dist-zip distcheck distclean distclean-generic \
|
788
|
+
distclean-libtool distclean-tags distcleancheck distdir \
|
789
|
+
distuninstallcheck dvi dvi-am html html-am info info-am \
|
790
|
+
install install-am install-data install-data-am install-dvi \
|
791
|
+
install-dvi-am install-exec install-exec-am install-html \
|
792
|
+
install-html-am install-info install-info-am install-man \
|
793
|
+
install-pdf install-pdf-am install-pkgconfigDATA install-ps \
|
794
|
+
install-ps-am install-strip installcheck installcheck-am \
|
795
|
+
installdirs installdirs-am maintainer-clean \
|
796
|
+
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
797
|
+
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
798
|
+
uninstall uninstall-am uninstall-pkgconfigDATA
|
799
|
+
|
800
|
+
|
801
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
802
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
803
|
+
.NOEXPORT:
|