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,353 @@
1
+ #! /bin/sh
2
+ # Common stub for a few missing GNU programs while installing.
3
+
4
+ scriptversion=2004-09-07.08
5
+
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
7
+ # Free Software Foundation, Inc.
8
+ # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
+
10
+ # This program is free software; you can redistribute it and/or modify
11
+ # it under the terms of the GNU General Public License as published by
12
+ # the Free Software Foundation; either version 2, or (at your option)
13
+ # any later version.
14
+
15
+ # This program is distributed in the hope that it will be useful,
16
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ # GNU General Public License for more details.
19
+
20
+ # You should have received a copy of the GNU General Public License
21
+ # along with this program; if not, write to the Free Software
22
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23
+ # 02111-1307, USA.
24
+
25
+ # As a special exception to the GNU General Public License, if you
26
+ # distribute this file as part of a program that contains a
27
+ # configuration script generated by Autoconf, you may include it under
28
+ # the same distribution terms that you use for the rest of that program.
29
+
30
+ if test $# -eq 0; then
31
+ echo 1>&2 "Try \`$0 --help' for more information"
32
+ exit 1
33
+ fi
34
+
35
+ run=:
36
+
37
+ # In the cases where this matters, `missing' is being run in the
38
+ # srcdir already.
39
+ if test -f configure.ac; then
40
+ configure_ac=configure.ac
41
+ else
42
+ configure_ac=configure.in
43
+ fi
44
+
45
+ msg="missing on your system"
46
+
47
+ case "$1" in
48
+ --run)
49
+ # Try to run requested program, and just exit if it succeeds.
50
+ run=
51
+ shift
52
+ "$@" && exit 0
53
+ # Exit code 63 means version mismatch. This often happens
54
+ # when the user try to use an ancient version of a tool on
55
+ # a file that requires a minimum version. In this case we
56
+ # we should proceed has if the program had been absent, or
57
+ # if --run hadn't been passed.
58
+ if test $? = 63; then
59
+ run=:
60
+ msg="probably too old"
61
+ fi
62
+ ;;
63
+
64
+ -h|--h|--he|--hel|--help)
65
+ echo "\
66
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
67
+
68
+ Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
69
+ error status if there is no known handling for PROGRAM.
70
+
71
+ Options:
72
+ -h, --help display this help and exit
73
+ -v, --version output version information and exit
74
+ --run try to run the given command, and emulate it if it fails
75
+
76
+ Supported PROGRAM values:
77
+ aclocal touch file \`aclocal.m4'
78
+ autoconf touch file \`configure'
79
+ autoheader touch file \`config.h.in'
80
+ automake touch all \`Makefile.in' files
81
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
82
+ flex create \`lex.yy.c', if possible, from existing .c
83
+ help2man touch the output file
84
+ lex create \`lex.yy.c', if possible, from existing .c
85
+ makeinfo touch the output file
86
+ tar try tar, gnutar, gtar, then tar without non-portable flags
87
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
88
+
89
+ Send bug reports to <bug-automake@gnu.org>."
90
+ exit 0
91
+ ;;
92
+
93
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
94
+ echo "missing $scriptversion (GNU Automake)"
95
+ exit 0
96
+ ;;
97
+
98
+ -*)
99
+ echo 1>&2 "$0: Unknown \`$1' option"
100
+ echo 1>&2 "Try \`$0 --help' for more information"
101
+ exit 1
102
+ ;;
103
+
104
+ esac
105
+
106
+ # Now exit if we have it, but it failed. Also exit now if we
107
+ # don't have it and --version was passed (most likely to detect
108
+ # the program).
109
+ case "$1" in
110
+ lex|yacc)
111
+ # Not GNU programs, they don't have --version.
112
+ ;;
113
+
114
+ tar)
115
+ if test -n "$run"; then
116
+ echo 1>&2 "ERROR: \`tar' requires --run"
117
+ exit 1
118
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
119
+ exit 1
120
+ fi
121
+ ;;
122
+
123
+ *)
124
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
125
+ # We have it, but it failed.
126
+ exit 1
127
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
128
+ # Could not run --version or --help. This is probably someone
129
+ # running `$TOOL --version' or `$TOOL --help' to check whether
130
+ # $TOOL exists and not knowing $TOOL uses missing.
131
+ exit 1
132
+ fi
133
+ ;;
134
+ esac
135
+
136
+ # If it does not exist, or fails to run (possibly an outdated version),
137
+ # try to emulate it.
138
+ case "$1" in
139
+ aclocal*)
140
+ echo 1>&2 "\
141
+ WARNING: \`$1' is $msg. You should only need it if
142
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
143
+ to install the \`Automake' and \`Perl' packages. Grab them from
144
+ any GNU archive site."
145
+ touch aclocal.m4
146
+ ;;
147
+
148
+ autoconf)
149
+ echo 1>&2 "\
150
+ WARNING: \`$1' is $msg. You should only need it if
151
+ you modified \`${configure_ac}'. You might want to install the
152
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
153
+ archive site."
154
+ touch configure
155
+ ;;
156
+
157
+ autoheader)
158
+ echo 1>&2 "\
159
+ WARNING: \`$1' is $msg. You should only need it if
160
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
161
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
162
+ from any GNU archive site."
163
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
164
+ test -z "$files" && files="config.h"
165
+ touch_files=
166
+ for f in $files; do
167
+ case "$f" in
168
+ *:*) touch_files="$touch_files "`echo "$f" |
169
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
170
+ *) touch_files="$touch_files $f.in";;
171
+ esac
172
+ done
173
+ touch $touch_files
174
+ ;;
175
+
176
+ automake*)
177
+ echo 1>&2 "\
178
+ WARNING: \`$1' is $msg. You should only need it if
179
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
180
+ You might want to install the \`Automake' and \`Perl' packages.
181
+ Grab them from any GNU archive site."
182
+ find . -type f -name Makefile.am -print |
183
+ sed 's/\.am$/.in/' |
184
+ while read f; do touch "$f"; done
185
+ ;;
186
+
187
+ autom4te)
188
+ echo 1>&2 "\
189
+ WARNING: \`$1' is needed, but is $msg.
190
+ You might have modified some files without having the
191
+ proper tools for further handling them.
192
+ You can get \`$1' as part of \`Autoconf' from any GNU
193
+ archive site."
194
+
195
+ file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
196
+ test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
197
+ if test -f "$file"; then
198
+ touch $file
199
+ else
200
+ test -z "$file" || exec >$file
201
+ echo "#! /bin/sh"
202
+ echo "# Created by GNU Automake missing as a replacement of"
203
+ echo "# $ $@"
204
+ echo "exit 0"
205
+ chmod +x $file
206
+ exit 1
207
+ fi
208
+ ;;
209
+
210
+ bison|yacc)
211
+ echo 1>&2 "\
212
+ WARNING: \`$1' $msg. You should only need it if
213
+ you modified a \`.y' file. You may need the \`Bison' package
214
+ in order for those modifications to take effect. You can get
215
+ \`Bison' from any GNU archive site."
216
+ rm -f y.tab.c y.tab.h
217
+ if [ $# -ne 1 ]; then
218
+ eval LASTARG="\${$#}"
219
+ case "$LASTARG" in
220
+ *.y)
221
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
222
+ if [ -f "$SRCFILE" ]; then
223
+ cp "$SRCFILE" y.tab.c
224
+ fi
225
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
226
+ if [ -f "$SRCFILE" ]; then
227
+ cp "$SRCFILE" y.tab.h
228
+ fi
229
+ ;;
230
+ esac
231
+ fi
232
+ if [ ! -f y.tab.h ]; then
233
+ echo >y.tab.h
234
+ fi
235
+ if [ ! -f y.tab.c ]; then
236
+ echo 'main() { return 0; }' >y.tab.c
237
+ fi
238
+ ;;
239
+
240
+ lex|flex)
241
+ echo 1>&2 "\
242
+ WARNING: \`$1' is $msg. You should only need it if
243
+ you modified a \`.l' file. You may need the \`Flex' package
244
+ in order for those modifications to take effect. You can get
245
+ \`Flex' from any GNU archive site."
246
+ rm -f lex.yy.c
247
+ if [ $# -ne 1 ]; then
248
+ eval LASTARG="\${$#}"
249
+ case "$LASTARG" in
250
+ *.l)
251
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
252
+ if [ -f "$SRCFILE" ]; then
253
+ cp "$SRCFILE" lex.yy.c
254
+ fi
255
+ ;;
256
+ esac
257
+ fi
258
+ if [ ! -f lex.yy.c ]; then
259
+ echo 'main() { return 0; }' >lex.yy.c
260
+ fi
261
+ ;;
262
+
263
+ help2man)
264
+ echo 1>&2 "\
265
+ WARNING: \`$1' is $msg. You should only need it if
266
+ you modified a dependency of a manual page. You may need the
267
+ \`Help2man' package in order for those modifications to take
268
+ effect. You can get \`Help2man' from any GNU archive site."
269
+
270
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
271
+ if test -z "$file"; then
272
+ file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
273
+ fi
274
+ if [ -f "$file" ]; then
275
+ touch $file
276
+ else
277
+ test -z "$file" || exec >$file
278
+ echo ".ab help2man is required to generate this page"
279
+ exit 1
280
+ fi
281
+ ;;
282
+
283
+ makeinfo)
284
+ echo 1>&2 "\
285
+ WARNING: \`$1' is $msg. You should only need it if
286
+ you modified a \`.texi' or \`.texinfo' file, or any other file
287
+ indirectly affecting the aspect of the manual. The spurious
288
+ call might also be the consequence of using a buggy \`make' (AIX,
289
+ DU, IRIX). You might want to install the \`Texinfo' package or
290
+ the \`GNU make' package. Grab either from any GNU archive site."
291
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
292
+ if test -z "$file"; then
293
+ file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
294
+ file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
295
+ fi
296
+ touch $file
297
+ ;;
298
+
299
+ tar)
300
+ shift
301
+
302
+ # We have already tried tar in the generic part.
303
+ # Look for gnutar/gtar before invocation to avoid ugly error
304
+ # messages.
305
+ if (gnutar --version > /dev/null 2>&1); then
306
+ gnutar "$@" && exit 0
307
+ fi
308
+ if (gtar --version > /dev/null 2>&1); then
309
+ gtar "$@" && exit 0
310
+ fi
311
+ firstarg="$1"
312
+ if shift; then
313
+ case "$firstarg" in
314
+ *o*)
315
+ firstarg=`echo "$firstarg" | sed s/o//`
316
+ tar "$firstarg" "$@" && exit 0
317
+ ;;
318
+ esac
319
+ case "$firstarg" in
320
+ *h*)
321
+ firstarg=`echo "$firstarg" | sed s/h//`
322
+ tar "$firstarg" "$@" && exit 0
323
+ ;;
324
+ esac
325
+ fi
326
+
327
+ echo 1>&2 "\
328
+ WARNING: I can't seem to be able to run \`tar' with the given arguments.
329
+ You may want to install GNU tar or Free paxutils, or check the
330
+ command line arguments."
331
+ exit 1
332
+ ;;
333
+
334
+ *)
335
+ echo 1>&2 "\
336
+ WARNING: \`$1' is needed, and is $msg.
337
+ You might have modified some files without having the
338
+ proper tools for further handling them. Check the \`README' file,
339
+ it often tells you about the needed prerequisites for installing
340
+ this package. You may also peek at any GNU archive site, in case
341
+ some other package would contain this missing \`$1' program."
342
+ exit 1
343
+ ;;
344
+ esac
345
+
346
+ exit 0
347
+
348
+ # Local variables:
349
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
350
+ # time-stamp-start: "scriptversion="
351
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
352
+ # time-stamp-end: "$"
353
+ # End:
@@ -0,0 +1,15 @@
1
+ # $Id$
2
+
3
+ EXTRA_DIST = \
4
+ sample.cpp \
5
+ sample.vcxproj
6
+
7
+ noinst_PROGRAMS = sample
8
+
9
+ sample_SOURCES = \
10
+ sample.c
11
+
12
+ sample_LDADD = ../lib/liblbfgs.la
13
+
14
+ AM_CFLAGS = @CFLAGS@
15
+ INCLUDES = @INCLUDES@
@@ -0,0 +1,433 @@
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
+ SOURCES = $(sample_SOURCES)
20
+
21
+ srcdir = @srcdir@
22
+ top_srcdir = @top_srcdir@
23
+ VPATH = @srcdir@
24
+ pkgdatadir = $(datadir)/@PACKAGE@
25
+ pkglibdir = $(libdir)/@PACKAGE@
26
+ pkgincludedir = $(includedir)/@PACKAGE@
27
+ top_builddir = ..
28
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29
+ INSTALL = @INSTALL@
30
+ install_sh_DATA = $(install_sh) -c -m 644
31
+ install_sh_PROGRAM = $(install_sh) -c
32
+ install_sh_SCRIPT = $(install_sh) -c
33
+ INSTALL_HEADER = $(INSTALL_DATA)
34
+ transform = $(program_transform_name)
35
+ NORMAL_INSTALL = :
36
+ PRE_INSTALL = :
37
+ POST_INSTALL = :
38
+ NORMAL_UNINSTALL = :
39
+ PRE_UNINSTALL = :
40
+ POST_UNINSTALL = :
41
+ build_triplet = @build@
42
+ host_triplet = @host@
43
+ noinst_PROGRAMS = sample$(EXEEXT)
44
+ subdir = sample
45
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
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
+ mkinstalldirs = $(install_sh) -d
51
+ CONFIG_HEADER = $(top_builddir)/config.h
52
+ CONFIG_CLEAN_FILES =
53
+ PROGRAMS = $(noinst_PROGRAMS)
54
+ am_sample_OBJECTS = sample.$(OBJEXT)
55
+ sample_OBJECTS = $(am_sample_OBJECTS)
56
+ sample_DEPENDENCIES = ../lib/liblbfgs.la
57
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
58
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
59
+ am__depfiles_maybe = depfiles
60
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
61
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
62
+ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
63
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
64
+ $(AM_CFLAGS) $(CFLAGS)
65
+ CCLD = $(CC)
66
+ LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
67
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
68
+ SOURCES = $(sample_SOURCES)
69
+ DIST_SOURCES = $(sample_SOURCES)
70
+ ETAGS = etags
71
+ CTAGS = ctags
72
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73
+ ACLOCAL = @ACLOCAL@
74
+ AMDEP_FALSE = @AMDEP_FALSE@
75
+ AMDEP_TRUE = @AMDEP_TRUE@
76
+ AMTAR = @AMTAR@
77
+ AR = @AR@
78
+ AUTOCONF = @AUTOCONF@
79
+ AUTOHEADER = @AUTOHEADER@
80
+ AUTOMAKE = @AUTOMAKE@
81
+ AWK = @AWK@
82
+ CC = @CC@
83
+ CCDEPMODE = @CCDEPMODE@
84
+ CFLAGS = @CFLAGS@
85
+ CPP = @CPP@
86
+ CPPFLAGS = @CPPFLAGS@
87
+ CXX = @CXX@
88
+ CXXCPP = @CXXCPP@
89
+ CXXDEPMODE = @CXXDEPMODE@
90
+ CXXFLAGS = @CXXFLAGS@
91
+ CYGPATH_W = @CYGPATH_W@
92
+ DEFS = @DEFS@
93
+ DEPDIR = @DEPDIR@
94
+ ECHO = @ECHO@
95
+ ECHO_C = @ECHO_C@
96
+ ECHO_N = @ECHO_N@
97
+ ECHO_T = @ECHO_T@
98
+ EGREP = @EGREP@
99
+ EXEEXT = @EXEEXT@
100
+ F77 = @F77@
101
+ FFLAGS = @FFLAGS@
102
+ INCLUDES = @INCLUDES@
103
+ INSTALL_DATA = @INSTALL_DATA@
104
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
105
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
106
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
107
+ LDFLAGS = @LDFLAGS@
108
+ LIBOBJS = @LIBOBJS@
109
+ LIBS = @LIBS@
110
+ LIBTOOL = @LIBTOOL@
111
+ LN_S = @LN_S@
112
+ LTLIBOBJS = @LTLIBOBJS@
113
+ MAINT = @MAINT@
114
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
115
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
116
+ MAKEINFO = @MAKEINFO@
117
+ OBJEXT = @OBJEXT@
118
+ PACKAGE = @PACKAGE@
119
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
120
+ PACKAGE_NAME = @PACKAGE_NAME@
121
+ PACKAGE_STRING = @PACKAGE_STRING@
122
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
123
+ PACKAGE_VERSION = @PACKAGE_VERSION@
124
+ PATH_SEPARATOR = @PATH_SEPARATOR@
125
+ RANLIB = @RANLIB@
126
+ SET_MAKE = @SET_MAKE@
127
+ SHELL = @SHELL@
128
+ STRIP = @STRIP@
129
+ VERSION = @VERSION@
130
+ ac_ct_AR = @ac_ct_AR@
131
+ ac_ct_CC = @ac_ct_CC@
132
+ ac_ct_CXX = @ac_ct_CXX@
133
+ ac_ct_F77 = @ac_ct_F77@
134
+ ac_ct_RANLIB = @ac_ct_RANLIB@
135
+ ac_ct_STRIP = @ac_ct_STRIP@
136
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
137
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
138
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
139
+ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
140
+ am__include = @am__include@
141
+ am__leading_dot = @am__leading_dot@
142
+ am__quote = @am__quote@
143
+ am__tar = @am__tar@
144
+ am__untar = @am__untar@
145
+ bindir = @bindir@
146
+ build = @build@
147
+ build_alias = @build_alias@
148
+ build_cpu = @build_cpu@
149
+ build_os = @build_os@
150
+ build_vendor = @build_vendor@
151
+ datadir = @datadir@
152
+ exec_prefix = @exec_prefix@
153
+ host = @host@
154
+ host_alias = @host_alias@
155
+ host_cpu = @host_cpu@
156
+ host_os = @host_os@
157
+ host_vendor = @host_vendor@
158
+ includedir = @includedir@
159
+ infodir = @infodir@
160
+ install_sh = @install_sh@
161
+ libdir = @libdir@
162
+ libexecdir = @libexecdir@
163
+ localstatedir = @localstatedir@
164
+ mandir = @mandir@
165
+ mkdir_p = @mkdir_p@
166
+ oldincludedir = @oldincludedir@
167
+ prefix = @prefix@
168
+ program_transform_name = @program_transform_name@
169
+ sbindir = @sbindir@
170
+ sharedstatedir = @sharedstatedir@
171
+ sysconfdir = @sysconfdir@
172
+ target_alias = @target_alias@
173
+ EXTRA_DIST = \
174
+ sample.cpp \
175
+ sample.vcxproj
176
+
177
+ sample_SOURCES = \
178
+ sample.c
179
+
180
+ sample_LDADD = ../lib/liblbfgs.la
181
+ AM_CFLAGS = @CFLAGS@
182
+ all: all-am
183
+
184
+ .SUFFIXES:
185
+ .SUFFIXES: .c .lo .o .obj
186
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
187
+ @for dep in $?; do \
188
+ case '$(am__configure_deps)' in \
189
+ *$$dep*) \
190
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
191
+ && exit 0; \
192
+ exit 1;; \
193
+ esac; \
194
+ done; \
195
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sample/Makefile'; \
196
+ cd $(top_srcdir) && \
197
+ $(AUTOMAKE) --gnu sample/Makefile
198
+ .PRECIOUS: Makefile
199
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
200
+ @case '$?' in \
201
+ *config.status*) \
202
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
203
+ *) \
204
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
205
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
206
+ esac;
207
+
208
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
209
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
210
+
211
+ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
212
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
213
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
214
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
215
+
216
+ clean-noinstPROGRAMS:
217
+ @list='$(noinst_PROGRAMS)'; for p in $$list; do \
218
+ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
219
+ echo " rm -f $$p $$f"; \
220
+ rm -f $$p $$f ; \
221
+ done
222
+ sample$(EXEEXT): $(sample_OBJECTS) $(sample_DEPENDENCIES)
223
+ @rm -f sample$(EXEEXT)
224
+ $(LINK) $(sample_LDFLAGS) $(sample_OBJECTS) $(sample_LDADD) $(LIBS)
225
+
226
+ mostlyclean-compile:
227
+ -rm -f *.$(OBJEXT)
228
+
229
+ distclean-compile:
230
+ -rm -f *.tab.c
231
+
232
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sample.Po@am__quote@
233
+
234
+ .c.o:
235
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
236
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
237
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
238
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
239
+ @am__fastdepCC_FALSE@ $(COMPILE) -c $<
240
+
241
+ .c.obj:
242
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
243
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
244
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
245
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
246
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
247
+
248
+ .c.lo:
249
+ @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
250
+ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
251
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
252
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
253
+ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
254
+
255
+ mostlyclean-libtool:
256
+ -rm -f *.lo
257
+
258
+ clean-libtool:
259
+ -rm -rf .libs _libs
260
+
261
+ distclean-libtool:
262
+ -rm -f libtool
263
+ uninstall-info-am:
264
+
265
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
266
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
267
+ unique=`for i in $$list; do \
268
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
269
+ done | \
270
+ $(AWK) ' { files[$$0] = 1; } \
271
+ END { for (i in files) print i; }'`; \
272
+ mkid -fID $$unique
273
+ tags: TAGS
274
+
275
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
276
+ $(TAGS_FILES) $(LISP)
277
+ tags=; \
278
+ here=`pwd`; \
279
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
280
+ unique=`for i in $$list; do \
281
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
282
+ done | \
283
+ $(AWK) ' { files[$$0] = 1; } \
284
+ END { for (i in files) print i; }'`; \
285
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
286
+ test -n "$$unique" || unique=$$empty_fix; \
287
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
288
+ $$tags $$unique; \
289
+ fi
290
+ ctags: CTAGS
291
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
292
+ $(TAGS_FILES) $(LISP)
293
+ tags=; \
294
+ here=`pwd`; \
295
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
296
+ unique=`for i in $$list; do \
297
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
298
+ done | \
299
+ $(AWK) ' { files[$$0] = 1; } \
300
+ END { for (i in files) print i; }'`; \
301
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
302
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
303
+ $$tags $$unique
304
+
305
+ GTAGS:
306
+ here=`$(am__cd) $(top_builddir) && pwd` \
307
+ && cd $(top_srcdir) \
308
+ && gtags -i $(GTAGS_ARGS) $$here
309
+
310
+ distclean-tags:
311
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
312
+
313
+ distdir: $(DISTFILES)
314
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
315
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
316
+ list='$(DISTFILES)'; for file in $$list; do \
317
+ case $$file in \
318
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
319
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
320
+ esac; \
321
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
322
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
323
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
324
+ dir="/$$dir"; \
325
+ $(mkdir_p) "$(distdir)$$dir"; \
326
+ else \
327
+ dir=''; \
328
+ fi; \
329
+ if test -d $$d/$$file; then \
330
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
331
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
332
+ fi; \
333
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
334
+ else \
335
+ test -f $(distdir)/$$file \
336
+ || cp -p $$d/$$file $(distdir)/$$file \
337
+ || exit 1; \
338
+ fi; \
339
+ done
340
+ check-am: all-am
341
+ check: check-am
342
+ all-am: Makefile $(PROGRAMS)
343
+ installdirs:
344
+ install: install-am
345
+ install-exec: install-exec-am
346
+ install-data: install-data-am
347
+ uninstall: uninstall-am
348
+
349
+ install-am: all-am
350
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
351
+
352
+ installcheck: installcheck-am
353
+ install-strip:
354
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
355
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
356
+ `test -z '$(STRIP)' || \
357
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358
+ mostlyclean-generic:
359
+
360
+ clean-generic:
361
+
362
+ distclean-generic:
363
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
364
+
365
+ maintainer-clean-generic:
366
+ @echo "This command is intended for maintainers to use"
367
+ @echo "it deletes files that may require special tools to rebuild."
368
+ clean: clean-am
369
+
370
+ clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
371
+ mostlyclean-am
372
+
373
+ distclean: distclean-am
374
+ -rm -rf ./$(DEPDIR)
375
+ -rm -f Makefile
376
+ distclean-am: clean-am distclean-compile distclean-generic \
377
+ distclean-libtool distclean-tags
378
+
379
+ dvi: dvi-am
380
+
381
+ dvi-am:
382
+
383
+ html: html-am
384
+
385
+ info: info-am
386
+
387
+ info-am:
388
+
389
+ install-data-am:
390
+
391
+ install-exec-am:
392
+
393
+ install-info: install-info-am
394
+
395
+ install-man:
396
+
397
+ installcheck-am:
398
+
399
+ maintainer-clean: maintainer-clean-am
400
+ -rm -rf ./$(DEPDIR)
401
+ -rm -f Makefile
402
+ maintainer-clean-am: distclean-am maintainer-clean-generic
403
+
404
+ mostlyclean: mostlyclean-am
405
+
406
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
407
+ mostlyclean-libtool
408
+
409
+ pdf: pdf-am
410
+
411
+ pdf-am:
412
+
413
+ ps: ps-am
414
+
415
+ ps-am:
416
+
417
+ uninstall-am: uninstall-info-am
418
+
419
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
420
+ clean-libtool clean-noinstPROGRAMS ctags distclean \
421
+ distclean-compile distclean-generic distclean-libtool \
422
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
423
+ install install-am install-data install-data-am install-exec \
424
+ install-exec-am install-info install-info-am install-man \
425
+ install-strip installcheck installcheck-am installdirs \
426
+ maintainer-clean maintainer-clean-generic mostlyclean \
427
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
428
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
429
+ uninstall-info-am
430
+
431
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
432
+ # Otherwise a system limit (for SysV at least) may be exceeded.
433
+ .NOEXPORT: