opener-opinion-detector-base 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +101 -0
  3. data/bin/opinion-detector-base +19 -0
  4. data/core/annotation.cfg.erb +9 -0
  5. data/core/packages/KafNafParser-1.4.tar.gz +0 -0
  6. data/core/packages/VUA_pylib-1.5.tar.gz +0 -0
  7. data/core/python-scripts/LICENSE +339 -0
  8. data/core/python-scripts/README.md +226 -0
  9. data/core/python-scripts/classify_kaf_naf_file.py +499 -0
  10. data/core/python-scripts/cross_validation.py +634 -0
  11. data/core/python-scripts/generate_folds.py +134 -0
  12. data/core/python-scripts/models.cfg +10 -0
  13. data/core/python-scripts/my_templates/README +33 -0
  14. data/core/python-scripts/my_templates/templates_exp.only0.txt +6 -0
  15. data/core/python-scripts/my_templates/templates_exp.pol0.txt +10 -0
  16. data/core/python-scripts/my_templates/templates_exp.red.txt +7 -0
  17. data/core/python-scripts/my_templates/templates_exp.txt +10 -0
  18. data/core/python-scripts/my_templates/templates_holder.only0.txt +11 -0
  19. data/core/python-scripts/my_templates/templates_holder.red.txt +9 -0
  20. data/core/python-scripts/my_templates/templates_holder.txt +10 -0
  21. data/core/python-scripts/my_templates/templates_target.only0.txt +11 -0
  22. data/core/python-scripts/my_templates/templates_target.red.txt +9 -0
  23. data/core/python-scripts/my_templates/templates_target.txt +10 -0
  24. data/core/python-scripts/run_all_experiments.sh +49 -0
  25. data/core/python-scripts/run_basic.py +20 -0
  26. data/core/python-scripts/run_experiment.sh +42 -0
  27. data/core/python-scripts/scripts/__init__.py +1 -0
  28. data/core/python-scripts/scripts/config_manager.py +314 -0
  29. data/core/python-scripts/scripts/crfutils.py +215 -0
  30. data/core/python-scripts/scripts/extract_feats_relations.py +295 -0
  31. data/core/python-scripts/scripts/extract_features.py +376 -0
  32. data/core/python-scripts/scripts/feats_to_crf.exp.py +105 -0
  33. data/core/python-scripts/scripts/lexicons.py +44 -0
  34. data/core/python-scripts/scripts/link_entities_distance.py +77 -0
  35. data/core/python-scripts/scripts/relation_classifier.py +250 -0
  36. data/core/python-scripts/train.py +566 -0
  37. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/PKG-INFO +10 -0
  38. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/SOURCES.txt +22 -0
  39. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/dependency_links.txt +1 -0
  40. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/installed-files.txt +47 -0
  41. data/core/site-packages/pre_build/KafNafParser-1.4-py2.7.egg-info/top_level.txt +1 -0
  42. data/core/site-packages/pre_build/KafNafParser/KafNafParserMod.py +390 -0
  43. data/core/site-packages/pre_build/KafNafParser/KafNafParserMod.pyc +0 -0
  44. data/core/site-packages/pre_build/KafNafParser/__init__.py +14 -0
  45. data/core/site-packages/pre_build/KafNafParser/__init__.pyc +0 -0
  46. data/core/site-packages/pre_build/KafNafParser/constituency_data.py +125 -0
  47. data/core/site-packages/pre_build/KafNafParser/constituency_data.pyc +0 -0
  48. data/core/site-packages/pre_build/KafNafParser/coreference_data.py +52 -0
  49. data/core/site-packages/pre_build/KafNafParser/coreference_data.pyc +0 -0
  50. data/core/site-packages/pre_build/KafNafParser/dependency_data.py +78 -0
  51. data/core/site-packages/pre_build/KafNafParser/dependency_data.pyc +0 -0
  52. data/core/site-packages/pre_build/KafNafParser/entity_data.py +59 -0
  53. data/core/site-packages/pre_build/KafNafParser/entity_data.pyc +0 -0
  54. data/core/site-packages/pre_build/KafNafParser/external_references_data.py +41 -0
  55. data/core/site-packages/pre_build/KafNafParser/external_references_data.pyc +0 -0
  56. data/core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.py +2 -0
  57. data/core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.pyc +0 -0
  58. data/core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.py +205 -0
  59. data/core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.pyc +0 -0
  60. data/core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.py +309 -0
  61. data/core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.pyc +0 -0
  62. data/core/site-packages/pre_build/KafNafParser/features_data.py +131 -0
  63. data/core/site-packages/pre_build/KafNafParser/features_data.pyc +0 -0
  64. data/core/site-packages/pre_build/KafNafParser/header_data.py +127 -0
  65. data/core/site-packages/pre_build/KafNafParser/header_data.pyc +0 -0
  66. data/core/site-packages/pre_build/KafNafParser/opinion_data.py +211 -0
  67. data/core/site-packages/pre_build/KafNafParser/opinion_data.pyc +0 -0
  68. data/core/site-packages/pre_build/KafNafParser/references_data.py +23 -0
  69. data/core/site-packages/pre_build/KafNafParser/references_data.pyc +0 -0
  70. data/core/site-packages/pre_build/KafNafParser/span_data.py +63 -0
  71. data/core/site-packages/pre_build/KafNafParser/span_data.pyc +0 -0
  72. data/core/site-packages/pre_build/KafNafParser/term_data.py +111 -0
  73. data/core/site-packages/pre_build/KafNafParser/term_data.pyc +0 -0
  74. data/core/site-packages/pre_build/KafNafParser/term_sentiment_data.py +42 -0
  75. data/core/site-packages/pre_build/KafNafParser/term_sentiment_data.pyc +0 -0
  76. data/core/site-packages/pre_build/KafNafParser/text_data.py +99 -0
  77. data/core/site-packages/pre_build/KafNafParser/text_data.pyc +0 -0
  78. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/PKG-INFO +10 -0
  79. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/SOURCES.txt +14 -0
  80. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/dependency_links.txt +1 -0
  81. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/installed-files.txt +23 -0
  82. data/core/site-packages/pre_build/VUA_pylib-1.5-py2.7.egg-info/top_level.txt +1 -0
  83. data/core/site-packages/pre_build/VUA_pylib/__init__.py +1 -0
  84. data/core/site-packages/pre_build/VUA_pylib/__init__.pyc +0 -0
  85. data/core/site-packages/pre_build/VUA_pylib/common/__init__.py +1 -0
  86. data/core/site-packages/pre_build/VUA_pylib/common/__init__.pyc +0 -0
  87. data/core/site-packages/pre_build/VUA_pylib/common/common.py +28 -0
  88. data/core/site-packages/pre_build/VUA_pylib/common/common.pyc +0 -0
  89. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.py +1 -0
  90. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.pyc +0 -0
  91. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.py +156 -0
  92. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.pyc +0 -0
  93. data/core/site-packages/pre_build/VUA_pylib/io_utils/__init__.py +1 -0
  94. data/core/site-packages/pre_build/VUA_pylib/io_utils/__init__.pyc +0 -0
  95. data/core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.py +121 -0
  96. data/core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.pyc +0 -0
  97. data/core/site-packages/pre_build/VUA_pylib/lexicon/__init__.py +1 -0
  98. data/core/site-packages/pre_build/VUA_pylib/lexicon/__init__.pyc +0 -0
  99. data/core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.py +72 -0
  100. data/core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.pyc +0 -0
  101. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO +10 -0
  102. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt +7 -0
  103. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/dependency_links.txt +1 -0
  104. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt +11 -0
  105. data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt +1 -0
  106. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py +165 -0
  107. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc +0 -0
  108. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.py +439 -0
  109. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc +0 -0
  110. data/core/site-packages/pre_build/VUKafParserPy/__init__.py +7 -0
  111. data/core/site-packages/pre_build/VUKafParserPy/__init__.pyc +0 -0
  112. data/core/vendor/src/crfsuite/AUTHORS +1 -0
  113. data/core/vendor/src/crfsuite/COPYING +27 -0
  114. data/core/vendor/src/crfsuite/ChangeLog +103 -0
  115. data/core/vendor/src/crfsuite/INSTALL +236 -0
  116. data/core/vendor/src/crfsuite/Makefile.am +19 -0
  117. data/core/vendor/src/crfsuite/Makefile.in +783 -0
  118. data/core/vendor/src/crfsuite/README +183 -0
  119. data/core/vendor/src/crfsuite/aclocal.m4 +9018 -0
  120. data/core/vendor/src/crfsuite/autogen.sh +38 -0
  121. data/core/vendor/src/crfsuite/compile +143 -0
  122. data/core/vendor/src/crfsuite/config.guess +1502 -0
  123. data/core/vendor/src/crfsuite/config.h.in +198 -0
  124. data/core/vendor/src/crfsuite/config.sub +1714 -0
  125. data/core/vendor/src/crfsuite/configure +14273 -0
  126. data/core/vendor/src/crfsuite/configure.in +149 -0
  127. data/core/vendor/src/crfsuite/crfsuite.sln +42 -0
  128. data/core/vendor/src/crfsuite/depcomp +630 -0
  129. data/core/vendor/src/crfsuite/example/chunking.py +49 -0
  130. data/core/vendor/src/crfsuite/example/crfutils.py +179 -0
  131. data/core/vendor/src/crfsuite/example/ner.py +270 -0
  132. data/core/vendor/src/crfsuite/example/pos.py +78 -0
  133. data/core/vendor/src/crfsuite/example/template.py +88 -0
  134. data/core/vendor/src/crfsuite/frontend/Makefile.am +29 -0
  135. data/core/vendor/src/crfsuite/frontend/Makefile.in +640 -0
  136. data/core/vendor/src/crfsuite/frontend/dump.c +116 -0
  137. data/core/vendor/src/crfsuite/frontend/frontend.vcxproj +129 -0
  138. data/core/vendor/src/crfsuite/frontend/iwa.c +273 -0
  139. data/core/vendor/src/crfsuite/frontend/iwa.h +65 -0
  140. data/core/vendor/src/crfsuite/frontend/learn.c +439 -0
  141. data/core/vendor/src/crfsuite/frontend/main.c +137 -0
  142. data/core/vendor/src/crfsuite/frontend/option.c +93 -0
  143. data/core/vendor/src/crfsuite/frontend/option.h +86 -0
  144. data/core/vendor/src/crfsuite/frontend/readdata.h +38 -0
  145. data/core/vendor/src/crfsuite/frontend/reader.c +136 -0
  146. data/core/vendor/src/crfsuite/frontend/tag.c +427 -0
  147. data/core/vendor/src/crfsuite/genbinary.sh.in +15 -0
  148. data/core/vendor/src/crfsuite/include/Makefile.am +11 -0
  149. data/core/vendor/src/crfsuite/include/Makefile.in +461 -0
  150. data/core/vendor/src/crfsuite/include/crfsuite.h +1063 -0
  151. data/core/vendor/src/crfsuite/include/crfsuite.hpp +555 -0
  152. data/core/vendor/src/crfsuite/include/crfsuite_api.hpp +400 -0
  153. data/core/vendor/src/crfsuite/include/os.h +61 -0
  154. data/core/vendor/src/crfsuite/install-sh +520 -0
  155. data/core/vendor/src/crfsuite/lib/cqdb/COPYING +28 -0
  156. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.am +21 -0
  157. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.in +549 -0
  158. data/core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj +86 -0
  159. data/core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h +524 -0
  160. data/core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c +587 -0
  161. data/core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c +976 -0
  162. data/core/vendor/src/crfsuite/lib/crf/Makefile.am +46 -0
  163. data/core/vendor/src/crfsuite/lib/crf/Makefile.in +721 -0
  164. data/core/vendor/src/crfsuite/lib/crf/crf.vcxproj +216 -0
  165. data/core/vendor/src/crfsuite/lib/crf/src/crf1d.h +353 -0
  166. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c +705 -0
  167. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c +943 -0
  168. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c +352 -0
  169. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c +994 -0
  170. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c +550 -0
  171. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite.c +492 -0
  172. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h +236 -0
  173. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c +272 -0
  174. data/core/vendor/src/crfsuite/lib/crf/src/dataset.c +106 -0
  175. data/core/vendor/src/crfsuite/lib/crf/src/dictionary.c +118 -0
  176. data/core/vendor/src/crfsuite/lib/crf/src/holdout.c +80 -0
  177. data/core/vendor/src/crfsuite/lib/crf/src/logging.c +91 -0
  178. data/core/vendor/src/crfsuite/lib/crf/src/logging.h +48 -0
  179. data/core/vendor/src/crfsuite/lib/crf/src/params.c +335 -0
  180. data/core/vendor/src/crfsuite/lib/crf/src/params.h +80 -0
  181. data/core/vendor/src/crfsuite/lib/crf/src/quark.c +172 -0
  182. data/core/vendor/src/crfsuite/lib/crf/src/quark.h +46 -0
  183. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.c +1107 -0
  184. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.h +160 -0
  185. data/core/vendor/src/crfsuite/lib/crf/src/train_arow.c +408 -0
  186. data/core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c +242 -0
  187. data/core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c +507 -0
  188. data/core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c +338 -0
  189. data/core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c +435 -0
  190. data/core/vendor/src/crfsuite/lib/crf/src/vecmath.h +341 -0
  191. data/core/vendor/src/crfsuite/ltmain.sh +8413 -0
  192. data/core/vendor/src/crfsuite/missing +376 -0
  193. data/core/vendor/src/crfsuite/swig/Makefile.am +13 -0
  194. data/core/vendor/src/crfsuite/swig/Makefile.in +365 -0
  195. data/core/vendor/src/crfsuite/swig/crfsuite.cpp +2 -0
  196. data/core/vendor/src/crfsuite/swig/export.i +32 -0
  197. data/core/vendor/src/crfsuite/swig/python/README +92 -0
  198. data/core/vendor/src/crfsuite/swig/python/crfsuite.py +329 -0
  199. data/core/vendor/src/crfsuite/swig/python/export_wrap.cpp +14355 -0
  200. data/core/vendor/src/crfsuite/swig/python/export_wrap.h +63 -0
  201. data/core/vendor/src/crfsuite/swig/python/prepare.sh +9 -0
  202. data/core/vendor/src/crfsuite/swig/python/sample_tag.py +52 -0
  203. data/core/vendor/src/crfsuite/swig/python/sample_train.py +68 -0
  204. data/core/vendor/src/crfsuite/swig/python/setup.py +44 -0
  205. data/core/vendor/src/crfsuite/win32/stdint.h +679 -0
  206. data/core/vendor/src/liblbfgs/AUTHORS +1 -0
  207. data/core/vendor/src/liblbfgs/COPYING +22 -0
  208. data/core/vendor/src/liblbfgs/ChangeLog +120 -0
  209. data/core/vendor/src/liblbfgs/INSTALL +231 -0
  210. data/core/vendor/src/liblbfgs/Makefile.am +10 -0
  211. data/core/vendor/src/liblbfgs/Makefile.in +638 -0
  212. data/core/vendor/src/liblbfgs/NEWS +0 -0
  213. data/core/vendor/src/liblbfgs/README +71 -0
  214. data/core/vendor/src/liblbfgs/aclocal.m4 +6985 -0
  215. data/core/vendor/src/liblbfgs/autogen.sh +38 -0
  216. data/core/vendor/src/liblbfgs/config.guess +1411 -0
  217. data/core/vendor/src/liblbfgs/config.h.in +64 -0
  218. data/core/vendor/src/liblbfgs/config.sub +1500 -0
  219. data/core/vendor/src/liblbfgs/configure +21146 -0
  220. data/core/vendor/src/liblbfgs/configure.in +107 -0
  221. data/core/vendor/src/liblbfgs/depcomp +522 -0
  222. data/core/vendor/src/liblbfgs/include/lbfgs.h +745 -0
  223. data/core/vendor/src/liblbfgs/install-sh +322 -0
  224. data/core/vendor/src/liblbfgs/lbfgs.sln +26 -0
  225. data/core/vendor/src/liblbfgs/lib/Makefile.am +24 -0
  226. data/core/vendor/src/liblbfgs/lib/Makefile.in +499 -0
  227. data/core/vendor/src/liblbfgs/lib/arithmetic_ansi.h +133 -0
  228. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h +294 -0
  229. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h +298 -0
  230. data/core/vendor/src/liblbfgs/lib/lbfgs.c +1371 -0
  231. data/core/vendor/src/liblbfgs/lib/lib.vcxproj +95 -0
  232. data/core/vendor/src/liblbfgs/ltmain.sh +6426 -0
  233. data/core/vendor/src/liblbfgs/missing +353 -0
  234. data/core/vendor/src/liblbfgs/sample/Makefile.am +15 -0
  235. data/core/vendor/src/liblbfgs/sample/Makefile.in +433 -0
  236. data/core/vendor/src/liblbfgs/sample/sample.c +81 -0
  237. data/core/vendor/src/liblbfgs/sample/sample.cpp +126 -0
  238. data/core/vendor/src/liblbfgs/sample/sample.vcxproj +105 -0
  239. data/core/vendor/src/svm_light/LICENSE.txt +59 -0
  240. data/core/vendor/src/svm_light/Makefile +105 -0
  241. data/core/vendor/src/svm_light/kernel.h +40 -0
  242. data/core/vendor/src/svm_light/svm_classify.c +197 -0
  243. data/core/vendor/src/svm_light/svm_common.c +985 -0
  244. data/core/vendor/src/svm_light/svm_common.h +301 -0
  245. data/core/vendor/src/svm_light/svm_hideo.c +1062 -0
  246. data/core/vendor/src/svm_light/svm_learn.c +4147 -0
  247. data/core/vendor/src/svm_light/svm_learn.h +169 -0
  248. data/core/vendor/src/svm_light/svm_learn_main.c +397 -0
  249. data/core/vendor/src/svm_light/svm_loqo.c +211 -0
  250. data/ext/hack/Rakefile +17 -0
  251. data/ext/hack/support.rb +88 -0
  252. data/lib/opener/opinion_detectors/base.rb +112 -0
  253. data/lib/opener/opinion_detectors/base/version.rb +7 -0
  254. data/lib/opener/opinion_detectors/configuration_creator.rb +86 -0
  255. data/lib/opener/opinion_detectors/de.rb +7 -0
  256. data/lib/opener/opinion_detectors/en.rb +7 -0
  257. data/lib/opener/opinion_detectors/it.rb +7 -0
  258. data/lib/opener/opinion_detectors/nl.rb +6 -0
  259. data/opener-opinion-detector-base.gemspec +35 -0
  260. data/pre_build_requirements.txt +3 -0
  261. metadata +374 -0
@@ -0,0 +1,322 @@
1
+ #!/bin/sh
2
+ # install - install a program, script, or datafile
3
+
4
+ scriptversion=2004-09-10.20
5
+
6
+ # This originates from X11R5 (mit/util/scripts/install.sh), which was
7
+ # later released in X11R6 (xc/config/util/install.sh) with the
8
+ # following copyright and license.
9
+ #
10
+ # Copyright (C) 1994 X Consortium
11
+ #
12
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ # of this software and associated documentation files (the "Software"), to
14
+ # deal in the Software without restriction, including without limitation the
15
+ # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16
+ # sell copies of the Software, and to permit persons to whom the Software is
17
+ # furnished to do so, subject to the following conditions:
18
+ #
19
+ # The above copyright notice and this permission notice shall be included in
20
+ # all copies or substantial portions of the Software.
21
+ #
22
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26
+ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
27
+ # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
+ #
29
+ # Except as contained in this notice, the name of the X Consortium shall not
30
+ # be used in advertising or otherwise to promote the sale, use or other deal-
31
+ # ings in this Software without prior written authorization from the X Consor-
32
+ # tium.
33
+ #
34
+ #
35
+ # FSF changes to this file are in the public domain.
36
+ #
37
+ # Calling this script install-sh is preferred over install.sh, to prevent
38
+ # `make' implicit rules from creating a file called install from it
39
+ # when there is no Makefile.
40
+ #
41
+ # This script is compatible with the BSD install script, but was written
42
+ # from scratch. It can only install one file at a time, a restriction
43
+ # shared with many OS's install programs.
44
+
45
+ # set DOITPROG to echo to test this script
46
+
47
+ # Don't use :- since 4.3BSD and earlier shells don't like it.
48
+ doit="${DOITPROG-}"
49
+
50
+ # put in absolute paths if you don't have them in your path; or use env. vars.
51
+
52
+ mvprog="${MVPROG-mv}"
53
+ cpprog="${CPPROG-cp}"
54
+ chmodprog="${CHMODPROG-chmod}"
55
+ chownprog="${CHOWNPROG-chown}"
56
+ chgrpprog="${CHGRPPROG-chgrp}"
57
+ stripprog="${STRIPPROG-strip}"
58
+ rmprog="${RMPROG-rm}"
59
+ mkdirprog="${MKDIRPROG-mkdir}"
60
+
61
+ chmodcmd="$chmodprog 0755"
62
+ chowncmd=
63
+ chgrpcmd=
64
+ stripcmd=
65
+ rmcmd="$rmprog -f"
66
+ mvcmd="$mvprog"
67
+ src=
68
+ dst=
69
+ dir_arg=
70
+ dstarg=
71
+ no_target_directory=
72
+
73
+ usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
74
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
75
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
76
+ or: $0 [OPTION]... -d DIRECTORIES...
77
+
78
+ In the 1st form, copy SRCFILE to DSTFILE.
79
+ In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
80
+ In the 4th, create DIRECTORIES.
81
+
82
+ Options:
83
+ -c (ignored)
84
+ -d create directories instead of installing files.
85
+ -g GROUP $chgrpprog installed files to GROUP.
86
+ -m MODE $chmodprog installed files to MODE.
87
+ -o USER $chownprog installed files to USER.
88
+ -s $stripprog installed files.
89
+ -t DIRECTORY install into DIRECTORY.
90
+ -T report an error if DSTFILE is a directory.
91
+ --help display this help and exit.
92
+ --version display version info and exit.
93
+
94
+ Environment variables override the default commands:
95
+ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
96
+ "
97
+
98
+ while test -n "$1"; do
99
+ case $1 in
100
+ -c) shift
101
+ continue;;
102
+
103
+ -d) dir_arg=true
104
+ shift
105
+ continue;;
106
+
107
+ -g) chgrpcmd="$chgrpprog $2"
108
+ shift
109
+ shift
110
+ continue;;
111
+
112
+ --help) echo "$usage"; exit 0;;
113
+
114
+ -m) chmodcmd="$chmodprog $2"
115
+ shift
116
+ shift
117
+ continue;;
118
+
119
+ -o) chowncmd="$chownprog $2"
120
+ shift
121
+ shift
122
+ continue;;
123
+
124
+ -s) stripcmd=$stripprog
125
+ shift
126
+ continue;;
127
+
128
+ -t) dstarg=$2
129
+ shift
130
+ shift
131
+ continue;;
132
+
133
+ -T) no_target_directory=true
134
+ shift
135
+ continue;;
136
+
137
+ --version) echo "$0 $scriptversion"; exit 0;;
138
+
139
+ *) # When -d is used, all remaining arguments are directories to create.
140
+ # When -t is used, the destination is already specified.
141
+ test -n "$dir_arg$dstarg" && break
142
+ # Otherwise, the last argument is the destination. Remove it from $@.
143
+ for arg
144
+ do
145
+ if test -n "$dstarg"; then
146
+ # $@ is not empty: it contains at least $arg.
147
+ set fnord "$@" "$dstarg"
148
+ shift # fnord
149
+ fi
150
+ shift # arg
151
+ dstarg=$arg
152
+ done
153
+ break;;
154
+ esac
155
+ done
156
+
157
+ if test -z "$1"; then
158
+ if test -z "$dir_arg"; then
159
+ echo "$0: no input file specified." >&2
160
+ exit 1
161
+ fi
162
+ # It's OK to call `install-sh -d' without argument.
163
+ # This can happen when creating conditional directories.
164
+ exit 0
165
+ fi
166
+
167
+ for src
168
+ do
169
+ # Protect names starting with `-'.
170
+ case $src in
171
+ -*) src=./$src ;;
172
+ esac
173
+
174
+ if test -n "$dir_arg"; then
175
+ dst=$src
176
+ src=
177
+
178
+ if test -d "$dst"; then
179
+ mkdircmd=:
180
+ chmodcmd=
181
+ else
182
+ mkdircmd=$mkdirprog
183
+ fi
184
+ else
185
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
186
+ # might cause directories to be created, which would be especially bad
187
+ # if $src (and thus $dsttmp) contains '*'.
188
+ if test ! -f "$src" && test ! -d "$src"; then
189
+ echo "$0: $src does not exist." >&2
190
+ exit 1
191
+ fi
192
+
193
+ if test -z "$dstarg"; then
194
+ echo "$0: no destination specified." >&2
195
+ exit 1
196
+ fi
197
+
198
+ dst=$dstarg
199
+ # Protect names starting with `-'.
200
+ case $dst in
201
+ -*) dst=./$dst ;;
202
+ esac
203
+
204
+ # If destination is a directory, append the input filename; won't work
205
+ # if double slashes aren't ignored.
206
+ if test -d "$dst"; then
207
+ if test -n "$no_target_directory"; then
208
+ echo "$0: $dstarg: Is a directory" >&2
209
+ exit 1
210
+ fi
211
+ dst=$dst/`basename "$src"`
212
+ fi
213
+ fi
214
+
215
+ # This sed command emulates the dirname command.
216
+ dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
217
+
218
+ # Make sure that the destination directory exists.
219
+
220
+ # Skip lots of stat calls in the usual case.
221
+ if test ! -d "$dstdir"; then
222
+ defaultIFS='
223
+ '
224
+ IFS="${IFS-$defaultIFS}"
225
+
226
+ oIFS=$IFS
227
+ # Some sh's can't handle IFS=/ for some reason.
228
+ IFS='%'
229
+ set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
230
+ IFS=$oIFS
231
+
232
+ pathcomp=
233
+
234
+ while test $# -ne 0 ; do
235
+ pathcomp=$pathcomp$1
236
+ shift
237
+ if test ! -d "$pathcomp"; then
238
+ $mkdirprog "$pathcomp"
239
+ # mkdir can fail with a `File exist' error in case several
240
+ # install-sh are creating the directory concurrently. This
241
+ # is OK.
242
+ test -d "$pathcomp" || exit
243
+ fi
244
+ pathcomp=$pathcomp/
245
+ done
246
+ fi
247
+
248
+ if test -n "$dir_arg"; then
249
+ $doit $mkdircmd "$dst" \
250
+ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
251
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
252
+ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
253
+ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
254
+
255
+ else
256
+ dstfile=`basename "$dst"`
257
+
258
+ # Make a couple of temp file names in the proper directory.
259
+ dsttmp=$dstdir/_inst.$$_
260
+ rmtmp=$dstdir/_rm.$$_
261
+
262
+ # Trap to clean up those temp files at exit.
263
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
264
+ trap '(exit $?); exit' 1 2 13 15
265
+
266
+ # Copy the file name to the temp name.
267
+ $doit $cpprog "$src" "$dsttmp" &&
268
+
269
+ # and set any options; do chmod last to preserve setuid bits.
270
+ #
271
+ # If any of these fail, we abort the whole thing. If we want to
272
+ # ignore errors from any of these, just make sure not to ignore
273
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
274
+ #
275
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
276
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
277
+ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
278
+ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
279
+
280
+ # Now rename the file to the real destination.
281
+ { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
282
+ || {
283
+ # The rename failed, perhaps because mv can't rename something else
284
+ # to itself, or perhaps because mv is so ancient that it does not
285
+ # support -f.
286
+
287
+ # Now remove or move aside any old file at destination location.
288
+ # We try this two ways since rm can't unlink itself on some
289
+ # systems and the destination file might be busy for other
290
+ # reasons. In this case, the final cleanup might fail but the new
291
+ # file should still install successfully.
292
+ {
293
+ if test -f "$dstdir/$dstfile"; then
294
+ $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
295
+ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
296
+ || {
297
+ echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
298
+ (exit 1); exit
299
+ }
300
+ else
301
+ :
302
+ fi
303
+ } &&
304
+
305
+ # Now rename the file to the real destination.
306
+ $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
307
+ }
308
+ }
309
+ fi || { (exit 1); exit; }
310
+ done
311
+
312
+ # The final little trick to "correctly" pass the exit status to the exit trap.
313
+ {
314
+ (exit 0); exit
315
+ }
316
+
317
+ # Local variables:
318
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
319
+ # time-stamp-start: "scriptversion="
320
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
321
+ # time-stamp-end: "$"
322
+ # End:
@@ -0,0 +1,26 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 11.00
3
+ # Visual Studio 2010
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib", "lib\lib.vcxproj", "{C4405B73-A899-44BF-8681-04CE040B6705}"
5
+ EndProject
6
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample", "sample\sample.vcxproj", "{B4D7D5F5-4A4E-49D5-B38A-E5673520DE66}"
7
+ EndProject
8
+ Global
9
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+ Debug|Win32 = Debug|Win32
11
+ Release|Win32 = Release|Win32
12
+ EndGlobalSection
13
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+ {C4405B73-A899-44BF-8681-04CE040B6705}.Debug|Win32.ActiveCfg = Debug|Win32
15
+ {C4405B73-A899-44BF-8681-04CE040B6705}.Debug|Win32.Build.0 = Debug|Win32
16
+ {C4405B73-A899-44BF-8681-04CE040B6705}.Release|Win32.ActiveCfg = Release|Win32
17
+ {C4405B73-A899-44BF-8681-04CE040B6705}.Release|Win32.Build.0 = Release|Win32
18
+ {B4D7D5F5-4A4E-49D5-B38A-E5673520DE66}.Debug|Win32.ActiveCfg = Debug|Win32
19
+ {B4D7D5F5-4A4E-49D5-B38A-E5673520DE66}.Debug|Win32.Build.0 = Debug|Win32
20
+ {B4D7D5F5-4A4E-49D5-B38A-E5673520DE66}.Release|Win32.ActiveCfg = Release|Win32
21
+ {B4D7D5F5-4A4E-49D5-B38A-E5673520DE66}.Release|Win32.Build.0 = Release|Win32
22
+ EndGlobalSection
23
+ GlobalSection(SolutionProperties) = preSolution
24
+ HideSolutionNode = FALSE
25
+ EndGlobalSection
26
+ EndGlobal
@@ -0,0 +1,24 @@
1
+ # $Id$
2
+
3
+ EXTRA_DIST = \
4
+ lib.vcxproj
5
+
6
+ liblbfgsincludedir = $(includedir)
7
+ liblbfgsinclude_HEADERS = \
8
+ ../include/lbfgs.h
9
+
10
+ lib_LTLIBRARIES = liblbfgs.la
11
+
12
+ liblbfgs_la_SOURCES = \
13
+ arithmetic_ansi.h \
14
+ arithmetic_sse_double.h \
15
+ arithmetic_sse_float.h \
16
+ ../include/lbfgs.h \
17
+ lbfgs.c
18
+
19
+ liblbfgs_la_LDFLAGS = \
20
+ -no-undefined \
21
+ -release @VERSION@
22
+
23
+ AM_CFLAGS = @CFLAGS@
24
+ INCLUDES = @INCLUDES@
@@ -0,0 +1,499 @@
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
+
20
+ SOURCES = $(liblbfgs_la_SOURCES)
21
+
22
+ srcdir = @srcdir@
23
+ top_srcdir = @top_srcdir@
24
+ VPATH = @srcdir@
25
+ pkgdatadir = $(datadir)/@PACKAGE@
26
+ pkglibdir = $(libdir)/@PACKAGE@
27
+ pkgincludedir = $(includedir)/@PACKAGE@
28
+ top_builddir = ..
29
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30
+ INSTALL = @INSTALL@
31
+ install_sh_DATA = $(install_sh) -c -m 644
32
+ install_sh_PROGRAM = $(install_sh) -c
33
+ install_sh_SCRIPT = $(install_sh) -c
34
+ INSTALL_HEADER = $(INSTALL_DATA)
35
+ transform = $(program_transform_name)
36
+ NORMAL_INSTALL = :
37
+ PRE_INSTALL = :
38
+ POST_INSTALL = :
39
+ NORMAL_UNINSTALL = :
40
+ PRE_UNINSTALL = :
41
+ POST_UNINSTALL = :
42
+ build_triplet = @build@
43
+ host_triplet = @host@
44
+ subdir = lib
45
+ DIST_COMMON = $(liblbfgsinclude_HEADERS) $(srcdir)/Makefile.am \
46
+ $(srcdir)/Makefile.in
47
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
49
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50
+ $(ACLOCAL_M4)
51
+ mkinstalldirs = $(install_sh) -d
52
+ CONFIG_HEADER = $(top_builddir)/config.h
53
+ CONFIG_CLEAN_FILES =
54
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55
+ am__vpath_adj = case $$p in \
56
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57
+ *) f=$$p;; \
58
+ esac;
59
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
60
+ am__installdirs = "$(DESTDIR)$(libdir)" \
61
+ "$(DESTDIR)$(liblbfgsincludedir)"
62
+ libLTLIBRARIES_INSTALL = $(INSTALL)
63
+ LTLIBRARIES = $(lib_LTLIBRARIES)
64
+ liblbfgs_la_LIBADD =
65
+ am_liblbfgs_la_OBJECTS = lbfgs.lo
66
+ liblbfgs_la_OBJECTS = $(am_liblbfgs_la_OBJECTS)
67
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
68
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
69
+ am__depfiles_maybe = depfiles
70
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
71
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
72
+ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
73
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
74
+ $(AM_CFLAGS) $(CFLAGS)
75
+ CCLD = $(CC)
76
+ LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
77
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
78
+ SOURCES = $(liblbfgs_la_SOURCES)
79
+ DIST_SOURCES = $(liblbfgs_la_SOURCES)
80
+ liblbfgsincludeHEADERS_INSTALL = $(INSTALL_HEADER)
81
+ HEADERS = $(liblbfgsinclude_HEADERS)
82
+ ETAGS = etags
83
+ CTAGS = ctags
84
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
85
+ ACLOCAL = @ACLOCAL@
86
+ AMDEP_FALSE = @AMDEP_FALSE@
87
+ AMDEP_TRUE = @AMDEP_TRUE@
88
+ AMTAR = @AMTAR@
89
+ AR = @AR@
90
+ AUTOCONF = @AUTOCONF@
91
+ AUTOHEADER = @AUTOHEADER@
92
+ AUTOMAKE = @AUTOMAKE@
93
+ AWK = @AWK@
94
+ CC = @CC@
95
+ CCDEPMODE = @CCDEPMODE@
96
+ CFLAGS = @CFLAGS@
97
+ CPP = @CPP@
98
+ CPPFLAGS = @CPPFLAGS@
99
+ CXX = @CXX@
100
+ CXXCPP = @CXXCPP@
101
+ CXXDEPMODE = @CXXDEPMODE@
102
+ CXXFLAGS = @CXXFLAGS@
103
+ CYGPATH_W = @CYGPATH_W@
104
+ DEFS = @DEFS@
105
+ DEPDIR = @DEPDIR@
106
+ ECHO = @ECHO@
107
+ ECHO_C = @ECHO_C@
108
+ ECHO_N = @ECHO_N@
109
+ ECHO_T = @ECHO_T@
110
+ EGREP = @EGREP@
111
+ EXEEXT = @EXEEXT@
112
+ F77 = @F77@
113
+ FFLAGS = @FFLAGS@
114
+ INCLUDES = @INCLUDES@
115
+ INSTALL_DATA = @INSTALL_DATA@
116
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
117
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
118
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
119
+ LDFLAGS = @LDFLAGS@
120
+ LIBOBJS = @LIBOBJS@
121
+ LIBS = @LIBS@
122
+ LIBTOOL = @LIBTOOL@
123
+ LN_S = @LN_S@
124
+ LTLIBOBJS = @LTLIBOBJS@
125
+ MAINT = @MAINT@
126
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
127
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
128
+ MAKEINFO = @MAKEINFO@
129
+ OBJEXT = @OBJEXT@
130
+ PACKAGE = @PACKAGE@
131
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
132
+ PACKAGE_NAME = @PACKAGE_NAME@
133
+ PACKAGE_STRING = @PACKAGE_STRING@
134
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
135
+ PACKAGE_VERSION = @PACKAGE_VERSION@
136
+ PATH_SEPARATOR = @PATH_SEPARATOR@
137
+ RANLIB = @RANLIB@
138
+ SET_MAKE = @SET_MAKE@
139
+ SHELL = @SHELL@
140
+ STRIP = @STRIP@
141
+ VERSION = @VERSION@
142
+ ac_ct_AR = @ac_ct_AR@
143
+ ac_ct_CC = @ac_ct_CC@
144
+ ac_ct_CXX = @ac_ct_CXX@
145
+ ac_ct_F77 = @ac_ct_F77@
146
+ ac_ct_RANLIB = @ac_ct_RANLIB@
147
+ ac_ct_STRIP = @ac_ct_STRIP@
148
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
149
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
150
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
151
+ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
152
+ am__include = @am__include@
153
+ am__leading_dot = @am__leading_dot@
154
+ am__quote = @am__quote@
155
+ am__tar = @am__tar@
156
+ am__untar = @am__untar@
157
+ bindir = @bindir@
158
+ build = @build@
159
+ build_alias = @build_alias@
160
+ build_cpu = @build_cpu@
161
+ build_os = @build_os@
162
+ build_vendor = @build_vendor@
163
+ datadir = @datadir@
164
+ exec_prefix = @exec_prefix@
165
+ host = @host@
166
+ host_alias = @host_alias@
167
+ host_cpu = @host_cpu@
168
+ host_os = @host_os@
169
+ host_vendor = @host_vendor@
170
+ includedir = @includedir@
171
+ infodir = @infodir@
172
+ install_sh = @install_sh@
173
+ libdir = @libdir@
174
+ libexecdir = @libexecdir@
175
+ localstatedir = @localstatedir@
176
+ mandir = @mandir@
177
+ mkdir_p = @mkdir_p@
178
+ oldincludedir = @oldincludedir@
179
+ prefix = @prefix@
180
+ program_transform_name = @program_transform_name@
181
+ sbindir = @sbindir@
182
+ sharedstatedir = @sharedstatedir@
183
+ sysconfdir = @sysconfdir@
184
+ target_alias = @target_alias@
185
+ EXTRA_DIST = \
186
+ lib.vcxproj
187
+
188
+ liblbfgsincludedir = $(includedir)
189
+ liblbfgsinclude_HEADERS = \
190
+ ../include/lbfgs.h
191
+
192
+ lib_LTLIBRARIES = liblbfgs.la
193
+ liblbfgs_la_SOURCES = \
194
+ arithmetic_ansi.h \
195
+ arithmetic_sse_double.h \
196
+ arithmetic_sse_float.h \
197
+ ../include/lbfgs.h \
198
+ lbfgs.c
199
+
200
+ liblbfgs_la_LDFLAGS = \
201
+ -no-undefined \
202
+ -release @VERSION@
203
+
204
+ AM_CFLAGS = @CFLAGS@
205
+ all: all-am
206
+
207
+ .SUFFIXES:
208
+ .SUFFIXES: .c .lo .o .obj
209
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
210
+ @for dep in $?; do \
211
+ case '$(am__configure_deps)' in \
212
+ *$$dep*) \
213
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
214
+ && exit 0; \
215
+ exit 1;; \
216
+ esac; \
217
+ done; \
218
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
219
+ cd $(top_srcdir) && \
220
+ $(AUTOMAKE) --gnu lib/Makefile
221
+ .PRECIOUS: Makefile
222
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
223
+ @case '$?' in \
224
+ *config.status*) \
225
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
226
+ *) \
227
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
228
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
229
+ esac;
230
+
231
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
232
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
233
+
234
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
235
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
236
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
237
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
238
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
239
+ @$(NORMAL_INSTALL)
240
+ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
241
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
242
+ if test -f $$p; then \
243
+ f=$(am__strip_dir) \
244
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
245
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
246
+ else :; fi; \
247
+ done
248
+
249
+ uninstall-libLTLIBRARIES:
250
+ @$(NORMAL_UNINSTALL)
251
+ @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
252
+ p=$(am__strip_dir) \
253
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
254
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
255
+ done
256
+
257
+ clean-libLTLIBRARIES:
258
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
259
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
260
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
261
+ test "$$dir" != "$$p" || dir=.; \
262
+ echo "rm -f \"$${dir}/so_locations\""; \
263
+ rm -f "$${dir}/so_locations"; \
264
+ done
265
+ liblbfgs.la: $(liblbfgs_la_OBJECTS) $(liblbfgs_la_DEPENDENCIES)
266
+ $(LINK) -rpath $(libdir) $(liblbfgs_la_LDFLAGS) $(liblbfgs_la_OBJECTS) $(liblbfgs_la_LIBADD) $(LIBS)
267
+
268
+ mostlyclean-compile:
269
+ -rm -f *.$(OBJEXT)
270
+
271
+ distclean-compile:
272
+ -rm -f *.tab.c
273
+
274
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lbfgs.Plo@am__quote@
275
+
276
+ .c.o:
277
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
278
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
279
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
280
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281
+ @am__fastdepCC_FALSE@ $(COMPILE) -c $<
282
+
283
+ .c.obj:
284
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
285
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
286
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
287
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
288
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
289
+
290
+ .c.lo:
291
+ @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
292
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
293
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
294
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
295
+ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
296
+
297
+ mostlyclean-libtool:
298
+ -rm -f *.lo
299
+
300
+ clean-libtool:
301
+ -rm -rf .libs _libs
302
+
303
+ distclean-libtool:
304
+ -rm -f libtool
305
+ uninstall-info-am:
306
+ install-liblbfgsincludeHEADERS: $(liblbfgsinclude_HEADERS)
307
+ @$(NORMAL_INSTALL)
308
+ test -z "$(liblbfgsincludedir)" || $(mkdir_p) "$(DESTDIR)$(liblbfgsincludedir)"
309
+ @list='$(liblbfgsinclude_HEADERS)'; for p in $$list; do \
310
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
311
+ f=$(am__strip_dir) \
312
+ echo " $(liblbfgsincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(liblbfgsincludedir)/$$f'"; \
313
+ $(liblbfgsincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(liblbfgsincludedir)/$$f"; \
314
+ done
315
+
316
+ uninstall-liblbfgsincludeHEADERS:
317
+ @$(NORMAL_UNINSTALL)
318
+ @list='$(liblbfgsinclude_HEADERS)'; for p in $$list; do \
319
+ f=$(am__strip_dir) \
320
+ echo " rm -f '$(DESTDIR)$(liblbfgsincludedir)/$$f'"; \
321
+ rm -f "$(DESTDIR)$(liblbfgsincludedir)/$$f"; \
322
+ done
323
+
324
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
325
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
326
+ unique=`for i in $$list; do \
327
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
328
+ done | \
329
+ $(AWK) ' { files[$$0] = 1; } \
330
+ END { for (i in files) print i; }'`; \
331
+ mkid -fID $$unique
332
+ tags: TAGS
333
+
334
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
335
+ $(TAGS_FILES) $(LISP)
336
+ tags=; \
337
+ here=`pwd`; \
338
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
339
+ unique=`for i in $$list; do \
340
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341
+ done | \
342
+ $(AWK) ' { files[$$0] = 1; } \
343
+ END { for (i in files) print i; }'`; \
344
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
345
+ test -n "$$unique" || unique=$$empty_fix; \
346
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
347
+ $$tags $$unique; \
348
+ fi
349
+ ctags: CTAGS
350
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
351
+ $(TAGS_FILES) $(LISP)
352
+ tags=; \
353
+ here=`pwd`; \
354
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
355
+ unique=`for i in $$list; do \
356
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
357
+ done | \
358
+ $(AWK) ' { files[$$0] = 1; } \
359
+ END { for (i in files) print i; }'`; \
360
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
361
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
362
+ $$tags $$unique
363
+
364
+ GTAGS:
365
+ here=`$(am__cd) $(top_builddir) && pwd` \
366
+ && cd $(top_srcdir) \
367
+ && gtags -i $(GTAGS_ARGS) $$here
368
+
369
+ distclean-tags:
370
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
371
+
372
+ distdir: $(DISTFILES)
373
+ $(mkdir_p) $(distdir)/../include
374
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
375
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
376
+ list='$(DISTFILES)'; for file in $$list; do \
377
+ case $$file in \
378
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
379
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
380
+ esac; \
381
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
382
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
383
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
384
+ dir="/$$dir"; \
385
+ $(mkdir_p) "$(distdir)$$dir"; \
386
+ else \
387
+ dir=''; \
388
+ fi; \
389
+ if test -d $$d/$$file; then \
390
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
391
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
392
+ fi; \
393
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
394
+ else \
395
+ test -f $(distdir)/$$file \
396
+ || cp -p $$d/$$file $(distdir)/$$file \
397
+ || exit 1; \
398
+ fi; \
399
+ done
400
+ check-am: all-am
401
+ check: check-am
402
+ all-am: Makefile $(LTLIBRARIES) $(HEADERS)
403
+ installdirs:
404
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblbfgsincludedir)"; do \
405
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
406
+ done
407
+ install: install-am
408
+ install-exec: install-exec-am
409
+ install-data: install-data-am
410
+ uninstall: uninstall-am
411
+
412
+ install-am: all-am
413
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
414
+
415
+ installcheck: installcheck-am
416
+ install-strip:
417
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
418
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
419
+ `test -z '$(STRIP)' || \
420
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
421
+ mostlyclean-generic:
422
+
423
+ clean-generic:
424
+
425
+ distclean-generic:
426
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
427
+
428
+ maintainer-clean-generic:
429
+ @echo "This command is intended for maintainers to use"
430
+ @echo "it deletes files that may require special tools to rebuild."
431
+ clean: clean-am
432
+
433
+ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
434
+ mostlyclean-am
435
+
436
+ distclean: distclean-am
437
+ -rm -rf ./$(DEPDIR)
438
+ -rm -f Makefile
439
+ distclean-am: clean-am distclean-compile distclean-generic \
440
+ distclean-libtool distclean-tags
441
+
442
+ dvi: dvi-am
443
+
444
+ dvi-am:
445
+
446
+ html: html-am
447
+
448
+ info: info-am
449
+
450
+ info-am:
451
+
452
+ install-data-am: install-liblbfgsincludeHEADERS
453
+
454
+ install-exec-am: install-libLTLIBRARIES
455
+
456
+ install-info: install-info-am
457
+
458
+ install-man:
459
+
460
+ installcheck-am:
461
+
462
+ maintainer-clean: maintainer-clean-am
463
+ -rm -rf ./$(DEPDIR)
464
+ -rm -f Makefile
465
+ maintainer-clean-am: distclean-am maintainer-clean-generic
466
+
467
+ mostlyclean: mostlyclean-am
468
+
469
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
470
+ mostlyclean-libtool
471
+
472
+ pdf: pdf-am
473
+
474
+ pdf-am:
475
+
476
+ ps: ps-am
477
+
478
+ ps-am:
479
+
480
+ uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
481
+ uninstall-liblbfgsincludeHEADERS
482
+
483
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
484
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
485
+ distclean-compile distclean-generic distclean-libtool \
486
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
487
+ install install-am install-data install-data-am install-exec \
488
+ install-exec-am install-info install-info-am \
489
+ install-libLTLIBRARIES install-liblbfgsincludeHEADERS \
490
+ install-man install-strip installcheck installcheck-am \
491
+ installdirs maintainer-clean maintainer-clean-generic \
492
+ mostlyclean mostlyclean-compile mostlyclean-generic \
493
+ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
494
+ uninstall-am uninstall-info-am uninstall-libLTLIBRARIES \
495
+ uninstall-liblbfgsincludeHEADERS
496
+
497
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
498
+ # Otherwise a system limit (for SysV at least) may be exceeded.
499
+ .NOEXPORT: