opener-opinion-detector-basic 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +30 -0
  3. data/bin/opinion-detector-basic +19 -0
  4. data/bin/opinion-detector-basic-server +10 -0
  5. data/config.ru +4 -0
  6. data/core/opinion_detector_basic_multi.py +499 -0
  7. data/core/packages/KafNafParser-1.3.tar.gz +0 -0
  8. data/core/packages/VUA_pylib-1.4.tar.gz +0 -0
  9. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO +10 -0
  10. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt +7 -0
  11. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/dependency_links.txt +1 -0
  12. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt +11 -0
  13. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt +1 -0
  14. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py +165 -0
  15. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc +0 -0
  16. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.py +439 -0
  17. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc +0 -0
  18. data/core/site-packages/pre_build/VUKafParserPy/__init__.py +7 -0
  19. data/core/site-packages/pre_build/VUKafParserPy/__init__.pyc +0 -0
  20. data/core/vendor/src/crfsuite/AUTHORS +1 -0
  21. data/core/vendor/src/crfsuite/COPYING +27 -0
  22. data/core/vendor/src/crfsuite/ChangeLog +103 -0
  23. data/core/vendor/src/crfsuite/INSTALL +236 -0
  24. data/core/vendor/src/crfsuite/Makefile.am +19 -0
  25. data/core/vendor/src/crfsuite/Makefile.in +783 -0
  26. data/core/vendor/src/crfsuite/README +183 -0
  27. data/core/vendor/src/crfsuite/aclocal.m4 +9018 -0
  28. data/core/vendor/src/crfsuite/autogen.sh +38 -0
  29. data/core/vendor/src/crfsuite/compile +143 -0
  30. data/core/vendor/src/crfsuite/config.guess +1502 -0
  31. data/core/vendor/src/crfsuite/config.h.in +198 -0
  32. data/core/vendor/src/crfsuite/config.sub +1714 -0
  33. data/core/vendor/src/crfsuite/configure +14273 -0
  34. data/core/vendor/src/crfsuite/configure.in +149 -0
  35. data/core/vendor/src/crfsuite/crfsuite.sln +42 -0
  36. data/core/vendor/src/crfsuite/depcomp +630 -0
  37. data/core/vendor/src/crfsuite/example/chunking.py +49 -0
  38. data/core/vendor/src/crfsuite/example/crfutils.py +179 -0
  39. data/core/vendor/src/crfsuite/example/ner.py +270 -0
  40. data/core/vendor/src/crfsuite/example/pos.py +78 -0
  41. data/core/vendor/src/crfsuite/example/template.py +88 -0
  42. data/core/vendor/src/crfsuite/frontend/Makefile.am +29 -0
  43. data/core/vendor/src/crfsuite/frontend/Makefile.in +640 -0
  44. data/core/vendor/src/crfsuite/frontend/dump.c +116 -0
  45. data/core/vendor/src/crfsuite/frontend/frontend.vcxproj +129 -0
  46. data/core/vendor/src/crfsuite/frontend/iwa.c +273 -0
  47. data/core/vendor/src/crfsuite/frontend/iwa.h +65 -0
  48. data/core/vendor/src/crfsuite/frontend/learn.c +439 -0
  49. data/core/vendor/src/crfsuite/frontend/main.c +137 -0
  50. data/core/vendor/src/crfsuite/frontend/option.c +93 -0
  51. data/core/vendor/src/crfsuite/frontend/option.h +86 -0
  52. data/core/vendor/src/crfsuite/frontend/readdata.h +38 -0
  53. data/core/vendor/src/crfsuite/frontend/reader.c +136 -0
  54. data/core/vendor/src/crfsuite/frontend/tag.c +427 -0
  55. data/core/vendor/src/crfsuite/genbinary.sh.in +15 -0
  56. data/core/vendor/src/crfsuite/include/Makefile.am +11 -0
  57. data/core/vendor/src/crfsuite/include/Makefile.in +461 -0
  58. data/core/vendor/src/crfsuite/include/crfsuite.h +1063 -0
  59. data/core/vendor/src/crfsuite/include/crfsuite.hpp +555 -0
  60. data/core/vendor/src/crfsuite/include/crfsuite_api.hpp +400 -0
  61. data/core/vendor/src/crfsuite/include/os.h +61 -0
  62. data/core/vendor/src/crfsuite/install-sh +520 -0
  63. data/core/vendor/src/crfsuite/lib/cqdb/COPYING +28 -0
  64. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.am +21 -0
  65. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.in +549 -0
  66. data/core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj +86 -0
  67. data/core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h +524 -0
  68. data/core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c +587 -0
  69. data/core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c +976 -0
  70. data/core/vendor/src/crfsuite/lib/crf/Makefile.am +46 -0
  71. data/core/vendor/src/crfsuite/lib/crf/Makefile.in +721 -0
  72. data/core/vendor/src/crfsuite/lib/crf/crf.vcxproj +216 -0
  73. data/core/vendor/src/crfsuite/lib/crf/src/crf1d.h +353 -0
  74. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c +705 -0
  75. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c +943 -0
  76. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c +352 -0
  77. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c +994 -0
  78. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c +550 -0
  79. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite.c +492 -0
  80. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h +236 -0
  81. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c +272 -0
  82. data/core/vendor/src/crfsuite/lib/crf/src/dataset.c +106 -0
  83. data/core/vendor/src/crfsuite/lib/crf/src/dictionary.c +118 -0
  84. data/core/vendor/src/crfsuite/lib/crf/src/holdout.c +80 -0
  85. data/core/vendor/src/crfsuite/lib/crf/src/logging.c +91 -0
  86. data/core/vendor/src/crfsuite/lib/crf/src/logging.h +48 -0
  87. data/core/vendor/src/crfsuite/lib/crf/src/params.c +335 -0
  88. data/core/vendor/src/crfsuite/lib/crf/src/params.h +80 -0
  89. data/core/vendor/src/crfsuite/lib/crf/src/quark.c +172 -0
  90. data/core/vendor/src/crfsuite/lib/crf/src/quark.h +46 -0
  91. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.c +1107 -0
  92. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.h +160 -0
  93. data/core/vendor/src/crfsuite/lib/crf/src/train_arow.c +408 -0
  94. data/core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c +242 -0
  95. data/core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c +507 -0
  96. data/core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c +338 -0
  97. data/core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c +435 -0
  98. data/core/vendor/src/crfsuite/lib/crf/src/vecmath.h +341 -0
  99. data/core/vendor/src/crfsuite/ltmain.sh +8413 -0
  100. data/core/vendor/src/crfsuite/missing +376 -0
  101. data/core/vendor/src/crfsuite/swig/Makefile.am +13 -0
  102. data/core/vendor/src/crfsuite/swig/Makefile.in +365 -0
  103. data/core/vendor/src/crfsuite/swig/crfsuite.cpp +2 -0
  104. data/core/vendor/src/crfsuite/swig/export.i +32 -0
  105. data/core/vendor/src/crfsuite/swig/python/README +92 -0
  106. data/core/vendor/src/crfsuite/swig/python/crfsuite.py +329 -0
  107. data/core/vendor/src/crfsuite/swig/python/export_wrap.cpp +14355 -0
  108. data/core/vendor/src/crfsuite/swig/python/export_wrap.h +63 -0
  109. data/core/vendor/src/crfsuite/swig/python/prepare.sh +9 -0
  110. data/core/vendor/src/crfsuite/swig/python/sample_tag.py +52 -0
  111. data/core/vendor/src/crfsuite/swig/python/sample_train.py +68 -0
  112. data/core/vendor/src/crfsuite/swig/python/setup.py +44 -0
  113. data/core/vendor/src/crfsuite/win32/stdint.h +679 -0
  114. data/core/vendor/src/liblbfgs/AUTHORS +1 -0
  115. data/core/vendor/src/liblbfgs/COPYING +22 -0
  116. data/core/vendor/src/liblbfgs/ChangeLog +120 -0
  117. data/core/vendor/src/liblbfgs/INSTALL +231 -0
  118. data/core/vendor/src/liblbfgs/Makefile.am +10 -0
  119. data/core/vendor/src/liblbfgs/Makefile.in +638 -0
  120. data/core/vendor/src/liblbfgs/NEWS +0 -0
  121. data/core/vendor/src/liblbfgs/README +71 -0
  122. data/core/vendor/src/liblbfgs/aclocal.m4 +6985 -0
  123. data/core/vendor/src/liblbfgs/autogen.sh +38 -0
  124. data/core/vendor/src/liblbfgs/config.guess +1411 -0
  125. data/core/vendor/src/liblbfgs/config.h.in +64 -0
  126. data/core/vendor/src/liblbfgs/config.sub +1500 -0
  127. data/core/vendor/src/liblbfgs/configure +21146 -0
  128. data/core/vendor/src/liblbfgs/configure.in +107 -0
  129. data/core/vendor/src/liblbfgs/depcomp +522 -0
  130. data/core/vendor/src/liblbfgs/include/lbfgs.h +745 -0
  131. data/core/vendor/src/liblbfgs/install-sh +322 -0
  132. data/core/vendor/src/liblbfgs/lbfgs.sln +26 -0
  133. data/core/vendor/src/liblbfgs/lib/Makefile.am +24 -0
  134. data/core/vendor/src/liblbfgs/lib/Makefile.in +499 -0
  135. data/core/vendor/src/liblbfgs/lib/arithmetic_ansi.h +133 -0
  136. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h +294 -0
  137. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h +298 -0
  138. data/core/vendor/src/liblbfgs/lib/lbfgs.c +1371 -0
  139. data/core/vendor/src/liblbfgs/lib/lib.vcxproj +95 -0
  140. data/core/vendor/src/liblbfgs/ltmain.sh +6426 -0
  141. data/core/vendor/src/liblbfgs/missing +353 -0
  142. data/core/vendor/src/liblbfgs/sample/Makefile.am +15 -0
  143. data/core/vendor/src/liblbfgs/sample/Makefile.in +433 -0
  144. data/core/vendor/src/liblbfgs/sample/sample.c +81 -0
  145. data/core/vendor/src/liblbfgs/sample/sample.cpp +126 -0
  146. data/core/vendor/src/liblbfgs/sample/sample.vcxproj +105 -0
  147. data/core/vendor/src/svm_light/LICENSE.txt +59 -0
  148. data/core/vendor/src/svm_light/Makefile +105 -0
  149. data/core/vendor/src/svm_light/kernel.h +40 -0
  150. data/core/vendor/src/svm_light/svm_classify.c +197 -0
  151. data/core/vendor/src/svm_light/svm_common.c +985 -0
  152. data/core/vendor/src/svm_light/svm_common.h +301 -0
  153. data/core/vendor/src/svm_light/svm_hideo.c +1062 -0
  154. data/core/vendor/src/svm_light/svm_learn.c +4147 -0
  155. data/core/vendor/src/svm_light/svm_learn.h +169 -0
  156. data/core/vendor/src/svm_light/svm_learn_main.c +397 -0
  157. data/core/vendor/src/svm_light/svm_loqo.c +211 -0
  158. data/ext/hack/Rakefile +17 -0
  159. data/ext/hack/support.rb +88 -0
  160. data/lib/opener/opinion_detector_basic.rb +91 -0
  161. data/lib/opener/opinion_detector_basic/public/markdown.css +284 -0
  162. data/lib/opener/opinion_detector_basic/server.rb +16 -0
  163. data/lib/opener/opinion_detector_basic/version.rb +5 -0
  164. data/lib/opener/opinion_detector_basic/views/index.erb +97 -0
  165. data/lib/opener/opinion_detector_basic/views/result.erb +15 -0
  166. data/opener-opinion-detector-basic.gemspec +36 -0
  167. data/pre_build_requirements.txt +1 -0
  168. metadata +309 -0
@@ -0,0 +1 @@
1
+ Naoaki Okazaki <okazaki at chokkan org>
@@ -0,0 +1,22 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 1990 Jorge Nocedal
4
+ Copyright (c) 2007-2010 Naoaki Okazaki
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a
7
+ copy of this software and associated documentation files (the "Software"),
8
+ to deal in the Software without restriction, including without limitation
9
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
10
+ and/or sell copies of the Software, and to permit persons to whom the
11
+ Software is furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,120 @@
1
+ 2010-xx-xx Naoaki Okazaki <okazaki at chokkan org>
2
+
3
+ * libLBFGS 1.10:
4
+ - Fixed compiling errors on Mac OS X; this patch was kindly submitted by Nic Schraudolph.
5
+ - Reduced compiling warnings on Mac OS X; this patch was kindly submitted by Tamas Nepusz.
6
+
7
+
8
+ 2010-01-29 Naoaki Okazaki <okazaki at chokkan org>
9
+
10
+ * libLBFGS 1.9:
11
+ - Fixed a mistake in checking the validity of the parameters "ftol" and "wolfe"; this mistake was discovered by Kevin S. Van Horn.
12
+
13
+
14
+ 2009-07-13 Naoaki Okazaki <okazaki at chokkan org>
15
+
16
+ * libLBFGS 1.8:
17
+ - Accepted the patch submitted by Takashi Imamichi; the backtracking method now has three criteria for choosing the step length.
18
+ - Updated the documentation to explain the above three criteria.
19
+
20
+
21
+ 2009-02-28 Naoaki Okazaki <okazaki at chokkan org>
22
+
23
+ * libLBFGS 1.7:
24
+ - Improved OWL-QN routines for stability.
25
+ - Removed the support of OWL-QN method in MoreThuente algorithm
26
+ because it accidentally fails in early stages of iterations for some
27
+ objectives. Because of this change, the OW-LQN method must be used
28
+ with the backtracking algorithm (LBFGS_LINESEARCH_BACKTRACKING), or
29
+ the library returns LBFGSERR_INVALID_LINESEARCH.
30
+ - Renamed line search algorithms as follows:
31
+ - LBFGS_LINESEARCH_BACKTRACKING: regular Wolfe condition.
32
+ - LBFGS_LINESEARCH_BACKTRACKING_LOOSE: regular Wolfe condition.
33
+ - LBFGS_LINESEARCH_BACKTRACKING_STRONG: strong Wolfe condition.
34
+ - Source code clean-up.
35
+
36
+
37
+ 2008-11-02 Naoaki Okazaki <okazaki at chokkan org>
38
+
39
+ * libLBFGS 1.6:
40
+ - Improved line-search algorithm with strong Wolfe condition, which
41
+ was contributed by Takashi Imamichi. This routine is now default for
42
+ LBFGS_LINESEARCH_BACKTRACKING. The previous line search algorithm
43
+ with regular Wolfe condition is still available as
44
+ LBFGS_LINESEARCH_BACKTRACKING_LOOSE.
45
+ - Configurable stop index for L1-norm computation. A member variable
46
+ lbfgs_parameter_t::orthantwise_end was added to specify the index
47
+ number at which the library stops computing the L1 norm of the
48
+ variables. This is useful to prevent some variables from being
49
+ regularized by the OW-LQN method.
50
+ - A sample program written in C++ (sample/sample.cpp).
51
+
52
+
53
+ 2008-07-10 Naoaki Okazaki <okazaki at chokkan org>
54
+
55
+ * libLBFGS 1.5:
56
+ - Configurable starting index for L1-norm computation. A member
57
+ variable lbfgs_parameter_t::orthantwise_start was added to specify
58
+ the index number from which the library computes the L1 norm of the
59
+ variables.
60
+ - Fixed a zero-division error when the initial variables have already
61
+ been a minimizer (reported by Takashi Imamichi). In this case, the
62
+ library returns LBFGS_ALREADY_MINIMIZED status code.
63
+ - Defined LBFGS_SUCCESS status code as zero; removed unused constants,
64
+ LBFGSFALSE and LBFGSTRUE.
65
+ - Fixed a compile error in an implicit down-cast.
66
+
67
+
68
+ 2008-04-25 Naoaki Okazaki <okazaki at chokkan org>
69
+
70
+ * libLBFGS 1.4:
71
+ - Configurable line search algorithms. A member variable
72
+ lbfgs_parameter_t::linesearch was added to choose either MoreThuente
73
+ method (LBFGS_LINESEARCH_MORETHUENTE) or backtracking algorithm
74
+ (LBFGS_LINESEARCH_BACKTRACKING).
75
+ - Fixed a bug: the previous version did not compute psuedo-gradients
76
+ properly in the line search routines for OW-LQN. This bug might quit
77
+ an iteration process too early when the OW-LQN routine was activated
78
+ (0 < lbfgs_parameter_t::orthantwise_c).
79
+ - Configure script for POSIX environments.
80
+ - SSE/SSE2 optimizations with GCC.
81
+ - New functions lbfgs_malloc and lbfgs_free to use SSE/SSE2 routines
82
+ transparently. It is uncessary to use these functions for libLBFGS
83
+ built without SSE/SSE2 routines; you can still use any memory
84
+ allocators if SSE/SSE2 routines are disabled in libLBFGS.
85
+
86
+
87
+ 2007-12-16 Naoaki Okazaki <okazaki at chokkan org>
88
+
89
+ * libLBFGS 1.3:
90
+ - An API change. An argument was added to lbfgs() function to receive
91
+ the final value of the objective function. This argument can be set
92
+ to NULL if the final value is unnecessary.
93
+ - Fixed a null-pointer bug in the sample code (reported by Takashi
94
+ Imamichi).
95
+ - Added build scripts for Microsoft Visual Studio 2005 and GCC.
96
+ - Added README file.
97
+
98
+
99
+ 2007-12-13 Naoaki Okazaki <okazaki at chokkan org>
100
+
101
+ * libLBFGS 1.2:
102
+ - Fixed a serious bug in orthant-wise L-BFGS. An important variable
103
+ was used without initialization.
104
+ - Configurable L-BFGS parameters (number of limited memories, epsilon).
105
+
106
+
107
+ 2007-12-01 Naoaki Okazaki <okazaki at chokkan org>
108
+
109
+ * libLBFGS 1.1:
110
+ - Implemented orthant-wise L-BFGS.
111
+ - Implemented lbfgs_parameter_init() function.
112
+ - Fixed several bugs.
113
+ - API documentation.
114
+
115
+
116
+ 2007-09-20 Naoaki Okazaki <okazaki at chokkan org>
117
+
118
+ * libLBFGS 1.0
119
+ - Initial release.
120
+
@@ -0,0 +1,231 @@
1
+ Installation Instructions
2
+ *************************
3
+
4
+ Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
5
+ 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
+ These are generic installation instructions.
14
+
15
+ The `configure' shell script attempts to guess correct values for
16
+ various system-dependent variables used during compilation. It uses
17
+ those values to create a `Makefile' in each directory of the package.
18
+ It may also create one or more `.h' files containing system-dependent
19
+ definitions. Finally, it creates a shell script `config.status' that
20
+ you can run in the future to recreate the current configuration, and a
21
+ file `config.log' containing compiler output (useful mainly for
22
+ debugging `configure').
23
+
24
+ It can also use an optional file (typically called `config.cache'
25
+ and enabled with `--cache-file=config.cache' or simply `-C') that saves
26
+ the results of its tests to speed up reconfiguring. (Caching is
27
+ disabled by default to prevent problems with accidental use of stale
28
+ cache files.)
29
+
30
+ If you need to do unusual things to compile the package, please try
31
+ to figure out how `configure' could check whether to do them, and mail
32
+ diffs or instructions to the address given in the `README' so they can
33
+ be considered for the next release. If you are using the cache, and at
34
+ some point `config.cache' contains results you don't want to keep, you
35
+ may remove or edit it.
36
+
37
+ The file `configure.ac' (or `configure.in') is used to create
38
+ `configure' by a program called `autoconf'. You only need
39
+ `configure.ac' if you want to change it or regenerate `configure' using
40
+ a newer version of `autoconf'.
41
+
42
+ The simplest way to compile this package is:
43
+
44
+ 1. `cd' to the directory containing the package's source code and type
45
+ `./configure' to configure the package for your system. If you're
46
+ using `csh' on an old version of System V, you might need to type
47
+ `sh ./configure' instead to prevent `csh' from trying to execute
48
+ `configure' itself.
49
+
50
+ Running `configure' takes awhile. While running, it prints some
51
+ 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
+ Compilers and Options
71
+ =====================
72
+
73
+ Some systems require unusual options for compilation or linking that the
74
+ `configure' script does not know about. Run `./configure --help' for
75
+ details on some of the pertinent environment variables.
76
+
77
+ You can give `configure' initial values for configuration parameters
78
+ by setting variables in the command line or in the environment. Here
79
+ is an example:
80
+
81
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
82
+
83
+ *Note Defining Variables::, for more details.
84
+
85
+ Compiling For Multiple Architectures
86
+ ====================================
87
+
88
+ You can compile the package for more than one kind of computer at the
89
+ same time, by placing the object files for each architecture in their
90
+ own directory. To do this, you must use a version of `make' that
91
+ supports the `VPATH' variable, such as GNU `make'. `cd' to the
92
+ directory where you want the object files and executables to go and run
93
+ the `configure' script. `configure' automatically checks for the
94
+ source code in the directory that `configure' is in and in `..'.
95
+
96
+ If you have to use a `make' that does not support the `VPATH'
97
+ variable, you have to compile the package for one architecture at a
98
+ time in the source code directory. After you have installed the
99
+ package for one architecture, use `make distclean' before reconfiguring
100
+ for another architecture.
101
+
102
+ Installation Names
103
+ ==================
104
+
105
+ By default, `make install' will install the package's files in
106
+ `/usr/local/bin', `/usr/local/man', etc. You can specify an
107
+ installation prefix other than `/usr/local' by giving `configure' the
108
+ option `--prefix=PREFIX'.
109
+
110
+ You can specify separate installation prefixes for
111
+ architecture-specific files and architecture-independent files. If you
112
+ give `configure' the option `--exec-prefix=PREFIX', the package will
113
+ use PREFIX as the prefix for installing programs and libraries.
114
+ Documentation and other data files will still use the regular prefix.
115
+
116
+ In addition, if you use an unusual directory layout you can give
117
+ options like `--bindir=DIR' to specify different values for particular
118
+ kinds of files. Run `configure --help' for a list of the directories
119
+ you can set and what kinds of files go in them.
120
+
121
+ If the package supports it, you can cause programs to be installed
122
+ with an extra prefix or suffix on their names by giving `configure' the
123
+ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124
+
125
+ Optional Features
126
+ =================
127
+
128
+ Some packages pay attention to `--enable-FEATURE' options to
129
+ `configure', where FEATURE indicates an optional part of the package.
130
+ They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131
+ is something like `gnu-as' or `x' (for the X Window System). The
132
+ `README' should mention any `--enable-' and `--with-' options that the
133
+ package recognizes.
134
+
135
+ For packages that use the X Window System, `configure' can usually
136
+ find the X include and library files automatically, but if it doesn't,
137
+ you can use the `configure' options `--x-includes=DIR' and
138
+ `--x-libraries=DIR' to specify their locations.
139
+
140
+ Specifying the System Type
141
+ ==========================
142
+
143
+ There may be some features `configure' cannot figure out automatically,
144
+ but needs to determine by the type of machine the package will run on.
145
+ Usually, assuming the package is built to be run on the _same_
146
+ architectures, `configure' can figure that out, but if it prints a
147
+ message saying it cannot guess the machine type, give it the
148
+ `--build=TYPE' option. TYPE can either be a short name for the system
149
+ type, such as `sun4', or a canonical name which has the form:
150
+
151
+ CPU-COMPANY-SYSTEM
152
+
153
+ where SYSTEM can have one of these forms:
154
+
155
+ OS KERNEL-OS
156
+
157
+ See the file `config.sub' for the possible values of each field. If
158
+ `config.sub' isn't included in this package, then this package doesn't
159
+ need to know the machine type.
160
+
161
+ If you are _building_ compiler tools for cross-compiling, you should
162
+ use the `--target=TYPE' option to select the type of system they will
163
+ produce code for.
164
+
165
+ If you want to _use_ a cross compiler, that generates code for a
166
+ platform different from the build platform, you should specify the
167
+ "host" platform (i.e., that on which the generated programs will
168
+ eventually be run) with `--host=TYPE'.
169
+
170
+ Sharing Defaults
171
+ ================
172
+
173
+ If you want to set default values for `configure' scripts to share, you
174
+ can create a site shell script called `config.site' that gives default
175
+ values for variables like `CC', `cache_file', and `prefix'.
176
+ `configure' looks for `PREFIX/share/config.site' if it exists, then
177
+ `PREFIX/etc/config.site' if it exists. Or, you can set the
178
+ `CONFIG_SITE' environment variable to the location of the site script.
179
+ A warning: not all `configure' scripts look for a site script.
180
+
181
+ Defining Variables
182
+ ==================
183
+
184
+ Variables not defined in a site shell script can be set in the
185
+ environment passed to `configure'. However, some packages may run
186
+ configure again during the build, and the customized values of these
187
+ variables may be lost. In order to avoid this problem, you should set
188
+ them in the `configure' command line, using `VAR=value'. For example:
189
+
190
+ ./configure CC=/usr/local2/bin/gcc
191
+
192
+ will cause the specified gcc to be used as the C compiler (unless it is
193
+ overridden in the site shell script).
194
+
195
+ `configure' Invocation
196
+ ======================
197
+
198
+ `configure' recognizes the following options to control how it operates.
199
+
200
+ `--help'
201
+ `-h'
202
+ Print a summary of the options to `configure', and exit.
203
+
204
+ `--version'
205
+ `-V'
206
+ Print the version of Autoconf used to generate the `configure'
207
+ script, and exit.
208
+
209
+ `--cache-file=FILE'
210
+ Enable the cache: use and save the results of the tests in FILE,
211
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
212
+ disable caching.
213
+
214
+ `--config-cache'
215
+ `-C'
216
+ Alias for `--cache-file=config.cache'.
217
+
218
+ `--quiet'
219
+ `--silent'
220
+ `-q'
221
+ Do not print messages saying which checks are being made. To
222
+ suppress all normal output, redirect it to `/dev/null' (any error
223
+ messages will still be shown).
224
+
225
+ `--srcdir=DIR'
226
+ Look for the package's source code in directory DIR. Usually
227
+ `configure' can determine that directory automatically.
228
+
229
+ `configure' also accepts some other, not widely useful, options. Run
230
+ `configure --help' for more details.
231
+
@@ -0,0 +1,10 @@
1
+ # $Id$
2
+
3
+ SUBDIRS = lib sample
4
+
5
+ docdir = $(prefix)/share/doc/@PACKAGE@
6
+ doc_DATA = README INSTALL COPYING AUTHORS ChangeLog NEWS
7
+
8
+ EXTRA_DIST = \
9
+ autogen.sh \
10
+ lbfgs.sln
@@ -0,0 +1,638 @@
1
+ # Makefile.in generated by automake 1.9.2 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+ @SET_MAKE@
16
+
17
+ # $Id$
18
+
19
+ srcdir = @srcdir@
20
+ top_srcdir = @top_srcdir@
21
+ VPATH = @srcdir@
22
+ pkgdatadir = $(datadir)/@PACKAGE@
23
+ pkglibdir = $(libdir)/@PACKAGE@
24
+ pkgincludedir = $(includedir)/@PACKAGE@
25
+ top_builddir = .
26
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27
+ INSTALL = @INSTALL@
28
+ install_sh_DATA = $(install_sh) -c -m 644
29
+ install_sh_PROGRAM = $(install_sh) -c
30
+ install_sh_SCRIPT = $(install_sh) -c
31
+ INSTALL_HEADER = $(INSTALL_DATA)
32
+ transform = $(program_transform_name)
33
+ NORMAL_INSTALL = :
34
+ PRE_INSTALL = :
35
+ POST_INSTALL = :
36
+ NORMAL_UNINSTALL = :
37
+ PRE_UNINSTALL = :
38
+ POST_UNINSTALL = :
39
+ build_triplet = @build@
40
+ host_triplet = @host@
41
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
42
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
43
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
44
+ config.guess config.sub depcomp install-sh ltmain.sh missing
45
+ subdir = .
46
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
48
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49
+ $(ACLOCAL_M4)
50
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51
+ configure.lineno configure.status.lineno
52
+ mkinstalldirs = $(install_sh) -d
53
+ CONFIG_HEADER = config.h
54
+ CONFIG_CLEAN_FILES =
55
+ SOURCES =
56
+ DIST_SOURCES =
57
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58
+ html-recursive info-recursive install-data-recursive \
59
+ install-exec-recursive install-info-recursive \
60
+ install-recursive installcheck-recursive installdirs-recursive \
61
+ pdf-recursive ps-recursive uninstall-info-recursive \
62
+ 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 = `echo $$p | sed -e 's|^.*/||'`;
69
+ am__installdirs = "$(DESTDIR)$(docdir)"
70
+ docDATA_INSTALL = $(INSTALL_DATA)
71
+ DATA = $(doc_DATA)
72
+ ETAGS = etags
73
+ CTAGS = ctags
74
+ DIST_SUBDIRS = $(SUBDIRS)
75
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76
+ distdir = $(PACKAGE)-$(VERSION)
77
+ top_distdir = $(distdir)
78
+ am__remove_distdir = \
79
+ { test ! -d $(distdir) \
80
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
81
+ && rm -fr $(distdir); }; }
82
+ DIST_ARCHIVES = $(distdir).tar.gz
83
+ GZIP_ENV = --best
84
+ distuninstallcheck_listfiles = find . -type f -print
85
+ distcleancheck_listfiles = find . -type f -print
86
+ ACLOCAL = @ACLOCAL@
87
+ AMDEP_FALSE = @AMDEP_FALSE@
88
+ AMDEP_TRUE = @AMDEP_TRUE@
89
+ AMTAR = @AMTAR@
90
+ AR = @AR@
91
+ AUTOCONF = @AUTOCONF@
92
+ AUTOHEADER = @AUTOHEADER@
93
+ AUTOMAKE = @AUTOMAKE@
94
+ AWK = @AWK@
95
+ CC = @CC@
96
+ CCDEPMODE = @CCDEPMODE@
97
+ CFLAGS = @CFLAGS@
98
+ CPP = @CPP@
99
+ CPPFLAGS = @CPPFLAGS@
100
+ CXX = @CXX@
101
+ CXXCPP = @CXXCPP@
102
+ CXXDEPMODE = @CXXDEPMODE@
103
+ CXXFLAGS = @CXXFLAGS@
104
+ CYGPATH_W = @CYGPATH_W@
105
+ DEFS = @DEFS@
106
+ DEPDIR = @DEPDIR@
107
+ ECHO = @ECHO@
108
+ ECHO_C = @ECHO_C@
109
+ ECHO_N = @ECHO_N@
110
+ ECHO_T = @ECHO_T@
111
+ EGREP = @EGREP@
112
+ EXEEXT = @EXEEXT@
113
+ F77 = @F77@
114
+ FFLAGS = @FFLAGS@
115
+ INCLUDES = @INCLUDES@
116
+ INSTALL_DATA = @INSTALL_DATA@
117
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
118
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
119
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
120
+ LDFLAGS = @LDFLAGS@
121
+ LIBOBJS = @LIBOBJS@
122
+ LIBS = @LIBS@
123
+ LIBTOOL = @LIBTOOL@
124
+ LN_S = @LN_S@
125
+ LTLIBOBJS = @LTLIBOBJS@
126
+ MAINT = @MAINT@
127
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
128
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
129
+ MAKEINFO = @MAKEINFO@
130
+ OBJEXT = @OBJEXT@
131
+ PACKAGE = @PACKAGE@
132
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
133
+ PACKAGE_NAME = @PACKAGE_NAME@
134
+ PACKAGE_STRING = @PACKAGE_STRING@
135
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
136
+ PACKAGE_VERSION = @PACKAGE_VERSION@
137
+ PATH_SEPARATOR = @PATH_SEPARATOR@
138
+ RANLIB = @RANLIB@
139
+ SET_MAKE = @SET_MAKE@
140
+ SHELL = @SHELL@
141
+ STRIP = @STRIP@
142
+ VERSION = @VERSION@
143
+ ac_ct_AR = @ac_ct_AR@
144
+ ac_ct_CC = @ac_ct_CC@
145
+ ac_ct_CXX = @ac_ct_CXX@
146
+ ac_ct_F77 = @ac_ct_F77@
147
+ ac_ct_RANLIB = @ac_ct_RANLIB@
148
+ ac_ct_STRIP = @ac_ct_STRIP@
149
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
150
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
151
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
152
+ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
153
+ am__include = @am__include@
154
+ am__leading_dot = @am__leading_dot@
155
+ am__quote = @am__quote@
156
+ am__tar = @am__tar@
157
+ am__untar = @am__untar@
158
+ bindir = @bindir@
159
+ build = @build@
160
+ build_alias = @build_alias@
161
+ build_cpu = @build_cpu@
162
+ build_os = @build_os@
163
+ build_vendor = @build_vendor@
164
+ datadir = @datadir@
165
+ exec_prefix = @exec_prefix@
166
+ host = @host@
167
+ host_alias = @host_alias@
168
+ host_cpu = @host_cpu@
169
+ host_os = @host_os@
170
+ host_vendor = @host_vendor@
171
+ includedir = @includedir@
172
+ infodir = @infodir@
173
+ install_sh = @install_sh@
174
+ libdir = @libdir@
175
+ libexecdir = @libexecdir@
176
+ localstatedir = @localstatedir@
177
+ mandir = @mandir@
178
+ mkdir_p = @mkdir_p@
179
+ oldincludedir = @oldincludedir@
180
+ prefix = @prefix@
181
+ program_transform_name = @program_transform_name@
182
+ sbindir = @sbindir@
183
+ sharedstatedir = @sharedstatedir@
184
+ sysconfdir = @sysconfdir@
185
+ target_alias = @target_alias@
186
+ SUBDIRS = lib sample
187
+ docdir = $(prefix)/share/doc/@PACKAGE@
188
+ doc_DATA = README INSTALL COPYING AUTHORS ChangeLog NEWS
189
+ EXTRA_DIST = \
190
+ autogen.sh \
191
+ lbfgs.sln
192
+
193
+ all: config.h
194
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
195
+
196
+ .SUFFIXES:
197
+ am--refresh:
198
+ @:
199
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
200
+ @for dep in $?; do \
201
+ case '$(am__configure_deps)' in \
202
+ *$$dep*) \
203
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
204
+ cd $(srcdir) && $(AUTOMAKE) --gnu \
205
+ && exit 0; \
206
+ exit 1;; \
207
+ esac; \
208
+ done; \
209
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
210
+ cd $(top_srcdir) && \
211
+ $(AUTOMAKE) --gnu Makefile
212
+ .PRECIOUS: Makefile
213
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
214
+ @case '$?' in \
215
+ *config.status*) \
216
+ echo ' $(SHELL) ./config.status'; \
217
+ $(SHELL) ./config.status;; \
218
+ *) \
219
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
220
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
221
+ esac;
222
+
223
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
224
+ $(SHELL) ./config.status --recheck
225
+
226
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
227
+ cd $(srcdir) && $(AUTOCONF)
228
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
229
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
230
+
231
+ config.h: stamp-h1
232
+ @if test ! -f $@; then \
233
+ rm -f stamp-h1; \
234
+ $(MAKE) stamp-h1; \
235
+ else :; fi
236
+
237
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
238
+ @rm -f stamp-h1
239
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
240
+ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
241
+ cd $(top_srcdir) && $(AUTOHEADER)
242
+ rm -f stamp-h1
243
+ touch $@
244
+
245
+ distclean-hdr:
246
+ -rm -f config.h stamp-h1
247
+
248
+ mostlyclean-libtool:
249
+ -rm -f *.lo
250
+
251
+ clean-libtool:
252
+ -rm -rf .libs _libs
253
+
254
+ distclean-libtool:
255
+ -rm -f libtool
256
+ uninstall-info-am:
257
+ install-docDATA: $(doc_DATA)
258
+ @$(NORMAL_INSTALL)
259
+ test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
260
+ @list='$(doc_DATA)'; for p in $$list; do \
261
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
262
+ f=$(am__strip_dir) \
263
+ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
264
+ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
265
+ done
266
+
267
+ uninstall-docDATA:
268
+ @$(NORMAL_UNINSTALL)
269
+ @list='$(doc_DATA)'; for p in $$list; do \
270
+ f=$(am__strip_dir) \
271
+ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
272
+ rm -f "$(DESTDIR)$(docdir)/$$f"; \
273
+ done
274
+
275
+ # This directory's subdirectories are mostly independent; you can cd
276
+ # into them and run `make' without going through this Makefile.
277
+ # To change the values of `make' variables: instead of editing Makefiles,
278
+ # (1) if the variable is set in `config.status', edit `config.status'
279
+ # (which will cause the Makefiles to be regenerated when you run `make');
280
+ # (2) otherwise, pass the desired values on the `make' command line.
281
+ $(RECURSIVE_TARGETS):
282
+ @set fnord $$MAKEFLAGS; amf=$$2; \
283
+ dot_seen=no; \
284
+ target=`echo $@ | sed s/-recursive//`; \
285
+ list='$(SUBDIRS)'; for subdir in $$list; do \
286
+ echo "Making $$target in $$subdir"; \
287
+ if test "$$subdir" = "."; then \
288
+ dot_seen=yes; \
289
+ local_target="$$target-am"; \
290
+ else \
291
+ local_target="$$target"; \
292
+ fi; \
293
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
294
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
295
+ done; \
296
+ if test "$$dot_seen" = "no"; then \
297
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
298
+ fi; test -z "$$fail"
299
+
300
+ mostlyclean-recursive clean-recursive distclean-recursive \
301
+ maintainer-clean-recursive:
302
+ @set fnord $$MAKEFLAGS; amf=$$2; \
303
+ dot_seen=no; \
304
+ case "$@" in \
305
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
306
+ *) list='$(SUBDIRS)' ;; \
307
+ esac; \
308
+ rev=''; for subdir in $$list; do \
309
+ if test "$$subdir" = "."; then :; else \
310
+ rev="$$subdir $$rev"; \
311
+ fi; \
312
+ done; \
313
+ rev="$$rev ."; \
314
+ target=`echo $@ | sed s/-recursive//`; \
315
+ for subdir in $$rev; do \
316
+ echo "Making $$target in $$subdir"; \
317
+ if test "$$subdir" = "."; then \
318
+ local_target="$$target-am"; \
319
+ else \
320
+ local_target="$$target"; \
321
+ fi; \
322
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
323
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
324
+ done && test -z "$$fail"
325
+ tags-recursive:
326
+ list='$(SUBDIRS)'; for subdir in $$list; do \
327
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
328
+ done
329
+ ctags-recursive:
330
+ list='$(SUBDIRS)'; for subdir in $$list; do \
331
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
332
+ done
333
+
334
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
335
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336
+ unique=`for i in $$list; do \
337
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338
+ done | \
339
+ $(AWK) ' { files[$$0] = 1; } \
340
+ END { for (i in files) print i; }'`; \
341
+ mkid -fID $$unique
342
+ tags: TAGS
343
+
344
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
345
+ $(TAGS_FILES) $(LISP)
346
+ tags=; \
347
+ here=`pwd`; \
348
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
349
+ include_option=--etags-include; \
350
+ empty_fix=.; \
351
+ else \
352
+ include_option=--include; \
353
+ empty_fix=; \
354
+ fi; \
355
+ list='$(SUBDIRS)'; for subdir in $$list; do \
356
+ if test "$$subdir" = .; then :; else \
357
+ test ! -f $$subdir/TAGS || \
358
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
359
+ fi; \
360
+ done; \
361
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
362
+ unique=`for i in $$list; do \
363
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
364
+ done | \
365
+ $(AWK) ' { files[$$0] = 1; } \
366
+ END { for (i in files) print i; }'`; \
367
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
368
+ test -n "$$unique" || unique=$$empty_fix; \
369
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
370
+ $$tags $$unique; \
371
+ fi
372
+ ctags: CTAGS
373
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
374
+ $(TAGS_FILES) $(LISP)
375
+ tags=; \
376
+ here=`pwd`; \
377
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
378
+ unique=`for i in $$list; do \
379
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
380
+ done | \
381
+ $(AWK) ' { files[$$0] = 1; } \
382
+ END { for (i in files) print i; }'`; \
383
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
384
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
385
+ $$tags $$unique
386
+
387
+ GTAGS:
388
+ here=`$(am__cd) $(top_builddir) && pwd` \
389
+ && cd $(top_srcdir) \
390
+ && gtags -i $(GTAGS_ARGS) $$here
391
+
392
+ distclean-tags:
393
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
394
+
395
+ distdir: $(DISTFILES)
396
+ $(am__remove_distdir)
397
+ mkdir $(distdir)
398
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
399
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
400
+ list='$(DISTFILES)'; for file in $$list; do \
401
+ case $$file in \
402
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
403
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
404
+ esac; \
405
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
406
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
407
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
408
+ dir="/$$dir"; \
409
+ $(mkdir_p) "$(distdir)$$dir"; \
410
+ else \
411
+ dir=''; \
412
+ fi; \
413
+ if test -d $$d/$$file; then \
414
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
415
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
416
+ fi; \
417
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
418
+ else \
419
+ test -f $(distdir)/$$file \
420
+ || cp -p $$d/$$file $(distdir)/$$file \
421
+ || exit 1; \
422
+ fi; \
423
+ done
424
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
425
+ if test "$$subdir" = .; then :; else \
426
+ test -d "$(distdir)/$$subdir" \
427
+ || $(mkdir_p) "$(distdir)/$$subdir" \
428
+ || exit 1; \
429
+ distdir=`$(am__cd) $(distdir) && pwd`; \
430
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
431
+ (cd $$subdir && \
432
+ $(MAKE) $(AM_MAKEFLAGS) \
433
+ top_distdir="$$top_distdir" \
434
+ distdir="$$distdir/$$subdir" \
435
+ distdir) \
436
+ || exit 1; \
437
+ fi; \
438
+ done
439
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
440
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
441
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
442
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
443
+ || chmod -R a+r $(distdir)
444
+ dist-gzip: distdir
445
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
446
+ $(am__remove_distdir)
447
+
448
+ dist-bzip2: distdir
449
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
450
+ $(am__remove_distdir)
451
+
452
+ dist-tarZ: distdir
453
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
454
+ $(am__remove_distdir)
455
+
456
+ dist-shar: distdir
457
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
458
+ $(am__remove_distdir)
459
+
460
+ dist-zip: distdir
461
+ -rm -f $(distdir).zip
462
+ zip -rq $(distdir).zip $(distdir)
463
+ $(am__remove_distdir)
464
+
465
+ dist dist-all: distdir
466
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
467
+ $(am__remove_distdir)
468
+
469
+ # This target untars the dist file and tries a VPATH configuration. Then
470
+ # it guarantees that the distribution is self-contained by making another
471
+ # tarfile.
472
+ distcheck: dist
473
+ case '$(DIST_ARCHIVES)' in \
474
+ *.tar.gz*) \
475
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
476
+ *.tar.bz2*) \
477
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
478
+ *.tar.Z*) \
479
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
480
+ *.shar.gz*) \
481
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
482
+ *.zip*) \
483
+ unzip $(distdir).zip ;;\
484
+ esac
485
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
486
+ mkdir $(distdir)/_build
487
+ mkdir $(distdir)/_inst
488
+ chmod a-w $(distdir)
489
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
490
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
491
+ && cd $(distdir)/_build \
492
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
493
+ $(DISTCHECK_CONFIGURE_FLAGS) \
494
+ && $(MAKE) $(AM_MAKEFLAGS) \
495
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
496
+ && $(MAKE) $(AM_MAKEFLAGS) check \
497
+ && $(MAKE) $(AM_MAKEFLAGS) install \
498
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
499
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
500
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
501
+ distuninstallcheck \
502
+ && chmod -R a-w "$$dc_install_base" \
503
+ && ({ \
504
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
505
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
506
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
507
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
508
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
509
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
510
+ && rm -rf "$$dc_destdir" \
511
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
512
+ && rm -rf $(DIST_ARCHIVES) \
513
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
514
+ $(am__remove_distdir)
515
+ @(echo "$(distdir) archives ready for distribution: "; \
516
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
517
+ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
518
+ distuninstallcheck:
519
+ @cd $(distuninstallcheck_dir) \
520
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
521
+ || { echo "ERROR: files left after uninstall:" ; \
522
+ if test -n "$(DESTDIR)"; then \
523
+ echo " (check DESTDIR support)"; \
524
+ fi ; \
525
+ $(distuninstallcheck_listfiles) ; \
526
+ exit 1; } >&2
527
+ distcleancheck: distclean
528
+ @if test '$(srcdir)' = . ; then \
529
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
530
+ exit 1 ; \
531
+ fi
532
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
533
+ || { echo "ERROR: files left in build directory after distclean:" ; \
534
+ $(distcleancheck_listfiles) ; \
535
+ exit 1; } >&2
536
+ check-am: all-am
537
+ check: check-recursive
538
+ all-am: Makefile $(DATA) config.h
539
+ installdirs: installdirs-recursive
540
+ installdirs-am:
541
+ for dir in "$(DESTDIR)$(docdir)"; do \
542
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
543
+ done
544
+ install: install-recursive
545
+ install-exec: install-exec-recursive
546
+ install-data: install-data-recursive
547
+ uninstall: uninstall-recursive
548
+
549
+ install-am: all-am
550
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
551
+
552
+ installcheck: installcheck-recursive
553
+ install-strip:
554
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
555
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
556
+ `test -z '$(STRIP)' || \
557
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
558
+ mostlyclean-generic:
559
+
560
+ clean-generic:
561
+
562
+ distclean-generic:
563
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
564
+
565
+ maintainer-clean-generic:
566
+ @echo "This command is intended for maintainers to use"
567
+ @echo "it deletes files that may require special tools to rebuild."
568
+ clean: clean-recursive
569
+
570
+ clean-am: clean-generic clean-libtool mostlyclean-am
571
+
572
+ distclean: distclean-recursive
573
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
574
+ -rm -f Makefile
575
+ distclean-am: clean-am distclean-generic distclean-hdr \
576
+ distclean-libtool distclean-tags
577
+
578
+ dvi: dvi-recursive
579
+
580
+ dvi-am:
581
+
582
+ html: html-recursive
583
+
584
+ info: info-recursive
585
+
586
+ info-am:
587
+
588
+ install-data-am: install-docDATA
589
+
590
+ install-exec-am:
591
+
592
+ install-info: install-info-recursive
593
+
594
+ install-man:
595
+
596
+ installcheck-am:
597
+
598
+ maintainer-clean: maintainer-clean-recursive
599
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
600
+ -rm -rf $(top_srcdir)/autom4te.cache
601
+ -rm -f Makefile
602
+ maintainer-clean-am: distclean-am maintainer-clean-generic
603
+
604
+ mostlyclean: mostlyclean-recursive
605
+
606
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
607
+
608
+ pdf: pdf-recursive
609
+
610
+ pdf-am:
611
+
612
+ ps: ps-recursive
613
+
614
+ ps-am:
615
+
616
+ uninstall-am: uninstall-docDATA uninstall-info-am
617
+
618
+ uninstall-info: uninstall-info-recursive
619
+
620
+ .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
621
+ check-am clean clean-generic clean-libtool clean-recursive \
622
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
623
+ dist-shar dist-tarZ dist-zip distcheck distclean \
624
+ distclean-generic distclean-hdr distclean-libtool \
625
+ distclean-recursive distclean-tags distcleancheck distdir \
626
+ distuninstallcheck dvi dvi-am html html-am info info-am \
627
+ install install-am install-data install-data-am \
628
+ install-docDATA install-exec install-exec-am install-info \
629
+ install-info-am install-man install-strip installcheck \
630
+ installcheck-am installdirs installdirs-am maintainer-clean \
631
+ maintainer-clean-generic maintainer-clean-recursive \
632
+ mostlyclean mostlyclean-generic mostlyclean-libtool \
633
+ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
634
+ uninstall uninstall-am uninstall-docDATA uninstall-info-am
635
+
636
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
637
+ # Otherwise a system limit (for SysV at least) may be exceeded.
638
+ .NOEXPORT: