mathematical 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -45
  3. data/Rakefile +6 -0
  4. data/ext/mathematical/extconf.rb +1 -1
  5. data/ext/mathematical/lasem/Makefile +1037 -0
  6. data/ext/mathematical/lasem/config.h +87 -0
  7. data/ext/mathematical/lasem/docs/Makefile +793 -0
  8. data/ext/mathematical/lasem/docs/reference/Makefile +735 -0
  9. data/ext/mathematical/lasem/docs/reference/lasem/Makefile +1023 -0
  10. data/ext/mathematical/lasem/itex2mml/Makefile +742 -0
  11. data/ext/mathematical/lasem/itex2mml/lex.yy.c +6294 -0
  12. data/ext/mathematical/lasem/itex2mml/y.tab.c +5796 -0
  13. data/ext/mathematical/lasem/itex2mml/y.tab.h +378 -0
  14. data/ext/mathematical/lasem/po/Makefile +413 -0
  15. data/ext/mathematical/lasem/src/Makefile +1322 -0
  16. data/ext/mathematical/lasem/src/lsmdomenumtypes.c +99 -0
  17. data/ext/mathematical/lasem/src/lsmdomenumtypes.h +26 -0
  18. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +22 -0
  19. data/ext/mathematical/lasem/src/lsmmathmlenums.c +8 -0
  20. data/ext/mathematical/lasem/src/lsmmathmlenums.h +7 -0
  21. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +737 -0
  22. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +93 -0
  23. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +9 -1
  24. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +8 -0
  25. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +78 -0
  26. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +7 -0
  27. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
  28. data/ext/mathematical/lasem/src/lsmmathmltraits.h +8 -0
  29. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +1083 -0
  30. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +111 -0
  31. data/ext/mathematical/lasem/tests/Makefile +765 -0
  32. data/ext/mathematical/mtex2MML/Makefile +25 -16
  33. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  34. data/ext/mathematical/mtex2MML/build/mtex2MML.h +1 -1
  35. data/ext/mathematical/mtex2MML/src/lex.yy.c +3140 -3130
  36. data/ext/mathematical/mtex2MML/src/main.c +1 -1
  37. data/ext/mathematical/mtex2MML/src/mtex2MML.h +1 -1
  38. data/ext/mathematical/mtex2MML/src/mtex2MML.l +4 -1
  39. data/ext/mathematical/mtex2MML/src/mtex2MML.y +41 -42
  40. data/ext/mathematical/mtex2MML/src/parse_extras.c +148 -58
  41. data/ext/mathematical/mtex2MML/src/parse_extras.h +11 -3
  42. data/ext/mathematical/mtex2MML/src/y.tab.c +5902 -6075
  43. data/ext/mathematical/mtex2MML/src/y.tab.h +306 -313
  44. data/ext/mathematical/mtex2MML/tests/basic.c +2 -2
  45. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +1 -1
  46. data/ext/mathematical/mtex2MML/tests/maliciousness.c +0 -1
  47. data/ext/mathematical/mtex2MML/tests/mathjax.c +11 -1
  48. data/ext/mathematical/mtex2MML/tests/numbered_equations.c +28 -1
  49. data/lib/mathematical/version.rb +1 -1
  50. data/mathematical.gemspec +3 -3
  51. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  52. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  53. data/test/mathematical/fixtures_test.rb +1 -6
  54. data/test/mathematical/mathjax_test.rb +2 -0
  55. data/test/test_helper.rb +10 -0
  56. metadata +28 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f255eab0881eb572422d7cffeb79f042b70a4223
4
- data.tar.gz: 99cdee5873c832ef1de1f1668ef15978115dbc0e
3
+ metadata.gz: dda3e76da788e8839bf017e98c4ede036bb2df68
4
+ data.tar.gz: 151ecfbed1cacadca2ebeaf3d8302de3e8e520b8
5
5
  SHA512:
6
- metadata.gz: 1f6cf81feedc4802c96446414ca66cc167805824d5daff5bc158a9f1cfb454dc6d50e71de834e696d8bc7efa7d4d9de100b5644cc1c72bcd356318b852c565d7
7
- data.tar.gz: c1334de8292283e8add116476d51db40792563eaef801561722e84b4055f6d37f1ee88e45eb94bb39ddbbf0eb9a8cad7f5b79cb9c0c9280ffb0cc5627ce2aba1
6
+ metadata.gz: 43e0d0fc23a2ee8996fb87786e3bd28c69ab273334eed9463ce6fc1388f34161d54372c34bb66f0801eda21e87f9a0e841db980d10628e38a2fe888f9a4330d8
7
+ data.tar.gz: 8de1fc15282fdde83b532fd9de3e23a515ca636840f753d187c4333ea2b1a9d0dc894b1b688cb2e6c3708e010bcdd4e74f2831859d5fcdd42d5695728d5e9801
data/README.md CHANGED
@@ -56,22 +56,16 @@ Rather than just a string, you can also provide an array of math inputs:
56
56
 
57
57
  ``` ruby
58
58
  inputs = []
59
- inputs << '$a$'
60
- inputs << '$b$'
61
- inputs << '$c$'
59
+ inputs << '$\pi$'
60
+ inputs << '$not__thisisnotreal$'
61
+ inputs << '$\alpha$'
62
62
 
63
63
  Mathematical.new.render(inputs)
64
64
  ```
65
65
 
66
- This returns an array of hashes, possessing the same keys as above. For example:
67
- ```
68
- array = ['$foof$', '$not__thisisnotreal$', '$poof$']
69
- ```
70
-
71
- You will receive the following output:
66
+ This returns an array of hashes, rendering the indices. For example, for the above, you will receive the following output:
72
67
 
73
68
  ```
74
- Mathematical.new.render(array)
75
69
  [ {:data => "...", :width => ... }, { :data => '$not__thisisnotreal$', :exception => "...", {:data => "...", :width => ... }]
76
70
  ```
77
71
 
@@ -107,22 +101,25 @@ Check out [SUPPORTED.md on the mtex2MML website](https://github.com/gjtorikian/m
107
101
 
108
102
  Before building this gem, you must install the following libraries:
109
103
 
104
+ * GNU make
110
105
  * glib-2.0
111
106
  * gdk-pixbuf-2.0
112
107
  * xml2
113
108
  * cairo
114
109
  * pango
110
+ * [Dependencies for mtex2MML](https://github.com/gjtorikian/mtex2MML#building)
115
111
 
116
- You will also need fonts for cmr10, cmmi10, cmex10, and cmsy10.
117
-
118
- ### Mac install
119
-
120
- To install these dependencies on a Mac, everything can be installed via Homebrew:
112
+ After cloning the repo, you can fetch dependencies and run the library by typing:
121
113
 
122
114
  ```
123
- brew install glib gdk-pixbuf cairo pango
115
+ script/bootstrap
116
+ bundle exec rake compile
124
117
  ```
125
118
 
119
+ If there were no errors, you're done! Otherwise, make sure to follow the dependency instructions.
120
+
121
+ ### Fonts and special notices for Mac OS X
122
+
126
123
  Install the fonts with:
127
124
 
128
125
  ```
@@ -134,46 +131,28 @@ curl -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/cmex10.ttf \
134
131
  -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/esint10.ttf \
135
132
  -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/eufm10.ttf \
136
133
  -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/msam10.ttf \
137
- -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/msbm10.ttf \
138
- -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/cmmi10.ttf
134
+ -LO http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/msbm10.ttf
139
135
  ```
140
136
 
141
- `xml2` should already be on your machine.
142
-
143
- ### *nix install
144
-
145
- To install these dependencies on a *nix machine, fetch the packages through your package manager. For example:
137
+ **Note**: There's [a severe issue](http://lists.cairographics.org/archives/cairo/2015-May/026257.html) with Cairo@1.14.2 and Yosemite. Don't use this version of Cairo. Instead, use the older 1.12.16 version, which you can install with:
146
138
 
147
139
  ```
148
- sudo apt-get -qq -y install libglib2.0-dev libxml2-dev libcairo2-dev libpango1.0-dev ttf-lyx libgdk-pixbuf2.0-dev
140
+ brew install https://raw.githubusercontent.com/Homebrew/homebrew/26d5775494b3535820c48442c23af44f72974880/Library/Formula/cairo.rb
149
141
  ```
150
142
 
151
- ### Windows install
143
+ You may also need to install the [XQuartz](http://xquartz.macosforge.org/landing/) tooling, as this is [required by Cairo](https://github.com/Homebrew/homebrew/issues/14123).
152
144
 
153
- On a Windows machine, I have no idea. Pull requests welcome!
145
+ ## Benchmark
154
146
 
155
- ## Benchmarks
147
+ Run benchmarks with `bundle exec rake benchmark`:
156
148
 
157
149
  ```
158
150
  Benchmarking....
159
- Size: 1164 kilobytes
160
- Iterations: 10
151
+ Count: 3868 equations
152
+ Iterations: 1
161
153
  user system total real
162
- Rendering... 18.070000 0.290000 18.360000 ( 23.003883)
163
-
164
- 19340 items converted!
165
- ```
166
-
167
- ## Hacking
168
-
169
- After cloning the repo:
170
-
154
+ Rendering... 3.280000 0.070000 3.350000 ( 4.324458)
171
155
  ```
172
- script/bootstrap
173
- bundle exec rake compile
174
- ```
175
-
176
- If there were no errors, you're done! Otherwise, make sure to follow the dependency instructions.
177
156
 
178
157
  ## History
179
158
 
@@ -238,9 +217,9 @@ composition of 880 equations, it took about eight seconds to complete. Could I
238
217
  do better?
239
218
 
240
219
  * I came across [Lasem](https://wiki.gnome.org/action/show/Projects/Lasem?action=show&redirect=Lasem),
241
- which meet every need. It has no external binary dependencies (only library packages),
220
+ which met every need. It has no external binary dependencies (only library packages),
242
221
  can convert directly to SVG, and it's fast. The same arbitrary 880 equations were
243
- rendered in less than three seconds.
222
+ rendered in moments.
244
223
 
245
224
  And thus a wrapper was born.
246
225
 
data/Rakefile CHANGED
@@ -58,3 +58,9 @@ task :format do
58
58
  puts `astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks \
59
59
  $(ack -n -f --type=cpp --type=cc ext/mathematical/)`
60
60
  end
61
+
62
+ desc 'Run a benchmark'
63
+ task :benchmark do
64
+ $:.unshift 'lib'
65
+ load 'script/benchmark.rb'
66
+ end
@@ -30,7 +30,7 @@ end
30
30
  FileUtils.cp_r(Dir.glob(File.join(MTEX2MML_DIR, 'build', '*.{a,h}')), File.dirname(__FILE__))
31
31
 
32
32
  $LDFLAGS << " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp}"
33
- $CFLAGS << " -g -O2 #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -I#{LASEM_DIR}"
33
+ $CFLAGS << " -O2 #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -I#{LASEM_DIR}"
34
34
  $LOCAL_LIBS << "#{MTEX2MML_DIR}/build/libmtex2MML.a"
35
35
 
36
36
  create_makefile('mathematical/mathematical')
@@ -0,0 +1,1037 @@
1
+ # Makefile.in generated by automake 1.15 from Makefile.am.
2
+ # Makefile. Generated from Makefile.in by configure.
3
+
4
+ # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
+
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
+
16
+
17
+ # GLIB - Library of useful C routines
18
+
19
+
20
+ am__is_gnu_make = { \
21
+ if test -z '$(MAKELEVEL)'; then \
22
+ false; \
23
+ elif test -n '$(MAKE_HOST)'; then \
24
+ true; \
25
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26
+ true; \
27
+ else \
28
+ false; \
29
+ fi; \
30
+ }
31
+ am__make_running_with_option = \
32
+ case $${target_option-} in \
33
+ ?) ;; \
34
+ *) echo "am__make_running_with_option: internal error: invalid" \
35
+ "target option '$${target_option-}' specified" >&2; \
36
+ exit 1;; \
37
+ esac; \
38
+ has_opt=no; \
39
+ sane_makeflags=$$MAKEFLAGS; \
40
+ if $(am__is_gnu_make); then \
41
+ sane_makeflags=$$MFLAGS; \
42
+ else \
43
+ case $$MAKEFLAGS in \
44
+ *\\[\ \ ]*) \
45
+ bs=\\; \
46
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
48
+ esac; \
49
+ fi; \
50
+ skip_next=no; \
51
+ strip_trailopt () \
52
+ { \
53
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54
+ }; \
55
+ for flg in $$sane_makeflags; do \
56
+ test $$skip_next = yes && { skip_next=no; continue; }; \
57
+ case $$flg in \
58
+ *=*|--*) continue;; \
59
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
60
+ -*I?*) strip_trailopt 'I';; \
61
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
62
+ -*O?*) strip_trailopt 'O';; \
63
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
64
+ -*l?*) strip_trailopt 'l';; \
65
+ -[dEDm]) skip_next=yes;; \
66
+ -[JT]) skip_next=yes;; \
67
+ esac; \
68
+ case $$flg in \
69
+ *$$target_option*) has_opt=yes; break;; \
70
+ esac; \
71
+ done; \
72
+ test $$has_opt = yes
73
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75
+ pkgdatadir = $(datadir)/lasem
76
+ pkgincludedir = $(includedir)/lasem
77
+ pkglibdir = $(libdir)/lasem
78
+ pkglibexecdir = $(libexecdir)/lasem
79
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80
+ install_sh_DATA = $(install_sh) -c -m 644
81
+ install_sh_PROGRAM = $(install_sh) -c
82
+ install_sh_SCRIPT = $(install_sh) -c
83
+ INSTALL_HEADER = $(INSTALL_DATA)
84
+ transform = $(program_transform_name)
85
+ NORMAL_INSTALL = :
86
+ PRE_INSTALL = :
87
+ POST_INSTALL = :
88
+ NORMAL_UNINSTALL = :
89
+ PRE_UNINSTALL = :
90
+ POST_UNINSTALL = :
91
+ build_triplet = x86_64-apple-darwin14.3.0
92
+ host_triplet = x86_64-apple-darwin14.3.0
93
+ subdir = .
94
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95
+ am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
96
+ $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/introspection.m4 \
97
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
98
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
99
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
100
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
101
+ $(ACLOCAL_M4)
102
+ DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
103
+ $(am__configure_deps) $(am__DIST_COMMON)
104
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
105
+ configure.lineno config.status.lineno
106
+ mkinstalldirs = $(install_sh) -d
107
+ CONFIG_HEADER = config.h
108
+ CONFIG_CLEAN_FILES = lasem.pc
109
+ CONFIG_CLEAN_VPATH_FILES =
110
+ AM_V_P = $(am__v_P_$(V))
111
+ am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
112
+ am__v_P_0 = false
113
+ am__v_P_1 = :
114
+ AM_V_GEN = $(am__v_GEN_$(V))
115
+ am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
116
+ am__v_GEN_0 = @echo " GEN " $@;
117
+ am__v_GEN_1 =
118
+ AM_V_at = $(am__v_at_$(V))
119
+ am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
120
+ am__v_at_0 = @
121
+ am__v_at_1 =
122
+ SOURCES =
123
+ DIST_SOURCES =
124
+ RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
125
+ ctags-recursive dvi-recursive html-recursive info-recursive \
126
+ install-data-recursive install-dvi-recursive \
127
+ install-exec-recursive install-html-recursive \
128
+ install-info-recursive install-pdf-recursive \
129
+ install-ps-recursive install-recursive installcheck-recursive \
130
+ installdirs-recursive pdf-recursive ps-recursive \
131
+ tags-recursive uninstall-recursive
132
+ am__can_run_installinfo = \
133
+ case $$AM_UPDATE_INFO_DIR in \
134
+ n|no|NO) false;; \
135
+ *) (install-info --version) >/dev/null 2>&1;; \
136
+ esac
137
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
138
+ am__vpath_adj = case $$p in \
139
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
140
+ *) f=$$p;; \
141
+ esac;
142
+ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
143
+ am__install_max = 40
144
+ am__nobase_strip_setup = \
145
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
146
+ am__nobase_strip = \
147
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
148
+ am__nobase_list = $(am__nobase_strip_setup); \
149
+ for p in $$list; do echo "$$p $$p"; done | \
150
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
151
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
152
+ if (++n[$$2] == $(am__install_max)) \
153
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
154
+ END { for (dir in files) print dir, files[dir] }'
155
+ am__base_list = \
156
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
157
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
158
+ am__uninstall_files_from_dir = { \
159
+ test -z "$$files" \
160
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
161
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
162
+ $(am__cd) "$$dir" && rm -f $$files; }; \
163
+ }
164
+ am__installdirs = "$(DESTDIR)$(lasemdocdir)" \
165
+ "$(DESTDIR)$(pkgconfigdir)"
166
+ DATA = $(lasemdoc_DATA) $(pkgconfig_DATA)
167
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
168
+ distclean-recursive maintainer-clean-recursive
169
+ am__recursive_targets = \
170
+ $(RECURSIVE_TARGETS) \
171
+ $(RECURSIVE_CLEAN_TARGETS) \
172
+ $(am__extra_recursive_targets)
173
+ AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
174
+ cscope distdir dist dist-all distcheck
175
+ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
176
+ $(LISP)config.h.in
177
+ # Read a list of newline-separated strings from the standard input,
178
+ # and print each of them once, without duplicates. Input order is
179
+ # *not* preserved.
180
+ am__uniquify_input = $(AWK) '\
181
+ BEGIN { nonempty = 0; } \
182
+ { items[$$0] = 1; nonempty = 1; } \
183
+ END { if (nonempty) { for (i in items) print i; }; } \
184
+ '
185
+ # Make sure the list of sources is unique. This is necessary because,
186
+ # e.g., the same source file might be shared among _SOURCES variables
187
+ # for different programs/libraries.
188
+ am__define_uniq_tagged_files = \
189
+ list='$(am__tagged_files)'; \
190
+ unique=`for i in $$list; do \
191
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
192
+ done | $(am__uniquify_input)`
193
+ ETAGS = etags
194
+ CTAGS = ctags
195
+ CSCOPE = cscope
196
+ DIST_SUBDIRS = $(SUBDIRS)
197
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
198
+ $(srcdir)/lasem.pc.in $(top_srcdir)/Makefile.decl AUTHORS \
199
+ COPYING ChangeLog INSTALL NEWS README TODO compile \
200
+ config.guess config.sub install-sh ltmain.sh missing
201
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
202
+ distdir = $(PACKAGE)-$(VERSION)
203
+ top_distdir = $(distdir)
204
+ am__remove_distdir = \
205
+ if test -d "$(distdir)"; then \
206
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
207
+ && rm -rf "$(distdir)" \
208
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
209
+ else :; fi
210
+ am__post_remove_distdir = $(am__remove_distdir)
211
+ am__relativize = \
212
+ dir0=`pwd`; \
213
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
214
+ sed_rest='s,^[^/]*/*,,'; \
215
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
216
+ sed_butlast='s,/*[^/]*$$,,'; \
217
+ while test -n "$$dir1"; do \
218
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
219
+ if test "$$first" != "."; then \
220
+ if test "$$first" = ".."; then \
221
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
222
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
223
+ else \
224
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
225
+ if test "$$first2" = "$$first"; then \
226
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
227
+ else \
228
+ dir2="../$$dir2"; \
229
+ fi; \
230
+ dir0="$$dir0"/"$$first"; \
231
+ fi; \
232
+ fi; \
233
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
234
+ done; \
235
+ reldir="$$dir2"
236
+ DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
237
+ GZIP_ENV = --best
238
+ DIST_TARGETS = dist-bzip2 dist-gzip
239
+ distuninstallcheck_listfiles = find . -type f -print
240
+ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
241
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
242
+ distcleancheck_listfiles = find . -type f -print
243
+ ACLOCAL = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing aclocal-1.15
244
+ ALL_LINGUAS =
245
+ AMTAR = $${TAR-tar}
246
+ AM_DEFAULT_VERBOSITY = 0
247
+ AR = ar
248
+ AUTOCONF = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing autoconf
249
+ AUTOHEADER = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing autoheader
250
+ AUTOMAKE = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing automake-1.15
251
+ AWK = awk
252
+ CATALOGS =
253
+ CATOBJEXT = .gmo
254
+ CC = gcc
255
+ CCDEPMODE = depmode=gcc3
256
+ CFLAGS = -I/usr/local/include -Wformat=2 -Wmissing-format-attribute -Wextra -Wundef -Wstrict-prototypes -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wmissing-declarations -Wcast-align -Winline -Waddress-space -Wbitwise -Wcast-to-as -Wno-pointer-sign -Wdefault-bitfield-sign -Wdo-while -Wparen-string -Wptr-subtraction-blows -Wreturn-void -Wtypesign -Wno-unused-parameter -Wno-sign-compare
257
+ CPP = gcc -E
258
+ CPPFLAGS =
259
+ CYGPATH_W = echo
260
+ DATADIRNAME = share
261
+ DEFS = -DHAVE_CONFIG_H
262
+ DEPDIR = .deps
263
+ DLLTOOL = false
264
+ DSYMUTIL = dsymutil
265
+ DUMPBIN =
266
+ ECHO_C = \c
267
+ ECHO_N =
268
+ ECHO_T =
269
+ EGREP = /usr/bin/grep -E
270
+ EXEEXT =
271
+ FGREP = /usr/bin/grep -F
272
+ GETTEXT_PACKAGE = lasem-0.6
273
+ GLIB_MKENUMS = /usr/local/bin/glib-mkenums
274
+ GMOFILES =
275
+ GMSGFMT = /usr/local/bin/msgfmt
276
+ GREP = /usr/bin/grep
277
+ GTKDOC_CHECK = gtkdoc-check.test
278
+ GTKDOC_CHECK_PATH = /usr/local/bin/gtkdoc-check
279
+ GTKDOC_DEPS_CFLAGS = -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include
280
+ GTKDOC_DEPS_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgobject-2.0 -lglib-2.0 -lintl
281
+ GTKDOC_MKPDF = /usr/local/bin/gtkdoc-mkpdf
282
+ GTKDOC_REBASE = /usr/local/bin/gtkdoc-rebase
283
+ HTML_DIR = ${datadir}/gtk-doc/html
284
+ INSTALL = /usr/bin/install -c
285
+ INSTALL_DATA = ${INSTALL} -m 644
286
+ INSTALL_PROGRAM = ${INSTALL}
287
+ INSTALL_SCRIPT = ${INSTALL}
288
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
289
+ INSTOBJEXT = .mo
290
+ INTLLIBS = -lintl
291
+ INTLTOOL_EXTRACT = /usr/local/bin/intltool-extract
292
+ INTLTOOL_MERGE = /usr/local/bin/intltool-merge
293
+ INTLTOOL_PERL = /usr/bin/perl
294
+ INTLTOOL_UPDATE = /usr/local/bin/intltool-update
295
+ INTLTOOL_V_MERGE = $(INTLTOOL__v_MERGE_$(V))
296
+ INTLTOOL_V_MERGE_OPTIONS = $(intltool__v_merge_options_$(V))
297
+ INTLTOOL__v_MERGE_ = $(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))
298
+ INTLTOOL__v_MERGE_0 = @echo " ITMRG " $@;
299
+ INTROSPECTION_CFLAGS =
300
+ INTROSPECTION_COMPILER =
301
+ INTROSPECTION_GENERATE =
302
+ INTROSPECTION_GIRDIR =
303
+ INTROSPECTION_LIBS =
304
+ INTROSPECTION_MAKEFILE =
305
+ INTROSPECTION_SCANNER =
306
+ INTROSPECTION_TYPELIBDIR =
307
+ LASEM_API_VERSION = 0.6
308
+ LASEM_API_VERSION_U = 0_6
309
+ LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
310
+ LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
311
+ LASEM_LIBTOOL_VERSION = 5:1:0
312
+ LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
313
+ LDFLAGS = -L/usr/local/lib
314
+ LEX = flex
315
+ LEXLIB = -ll
316
+ LEX_OUTPUT_ROOT = lex.yy
317
+ LIBOBJS =
318
+ LIBS =
319
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
320
+ LIPO = lipo
321
+ LN_S = ln -s
322
+ LTLIBOBJS =
323
+ LT_SYS_LIBRARY_PATH =
324
+ MAINT =
325
+ MAKEINFO = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing makeinfo
326
+ MANIFEST_TOOL = :
327
+ MKDIR_P = ./install-sh -c -d
328
+ MKINSTALLDIRS = ./mkinstalldirs
329
+ MSGFMT = /usr/local/bin/msgfmt
330
+ MSGFMT_OPTS = -c
331
+ MSGMERGE = /usr/local/bin/msgmerge
332
+ NM = /usr/bin/nm
333
+ NMEDIT = nmedit
334
+ OBJDUMP = false
335
+ OBJEXT = o
336
+ OTOOL = otool
337
+ OTOOL64 = :
338
+ PACKAGE = lasem
339
+ PACKAGE_BUGREPORT = http://bugzilla.gnome.org/
340
+ PACKAGE_NAME = lasem
341
+ PACKAGE_STRING = lasem 0.5.1
342
+ PACKAGE_TARNAME = lasem
343
+ PACKAGE_URL =
344
+ PACKAGE_VERSION = 0.5.1
345
+ PATH_SEPARATOR = :
346
+ PKG_CONFIG = /usr/local/bin/pkg-config
347
+ PKG_CONFIG_LIBDIR =
348
+ PKG_CONFIG_PATH =
349
+ POFILES =
350
+ POSUB = po
351
+ PO_IN_DATADIR_FALSE =
352
+ PO_IN_DATADIR_TRUE =
353
+ RANLIB = ranlib
354
+ SED = /usr/bin/sed
355
+ SET_MAKE =
356
+ SHELL = /bin/sh
357
+ STRIP = strip
358
+ USE_NLS = yes
359
+ VERSION = 0.5.1
360
+ XGETTEXT = /usr/local/bin/xgettext
361
+ YACC = bison -y
362
+ YFLAGS =
363
+ abs_builddir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
364
+ abs_srcdir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
365
+ abs_top_builddir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
366
+ abs_top_srcdir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
367
+ ac_ct_AR = ar
368
+ ac_ct_CC = gcc
369
+ ac_ct_DUMPBIN =
370
+ am__include = include
371
+ am__leading_dot = .
372
+ am__quote =
373
+ am__tar = $${TAR-tar} chof - "$$tardir"
374
+ am__untar = $${TAR-tar} xf -
375
+ bindir = ${exec_prefix}/bin
376
+ build = x86_64-apple-darwin14.3.0
377
+ build_alias =
378
+ build_cpu = x86_64
379
+ build_os = darwin14.3.0
380
+ build_vendor = apple
381
+ builddir = .
382
+ datadir = ${datarootdir}
383
+ datarootdir = ${prefix}/share
384
+ docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
385
+ dvidir = ${docdir}
386
+ exec_prefix = ${prefix}
387
+ host = x86_64-apple-darwin14.3.0
388
+ host_alias =
389
+ host_cpu = x86_64
390
+ host_os = darwin14.3.0
391
+ host_vendor = apple
392
+ htmldir = ${docdir}
393
+ includedir = ${prefix}/include
394
+ infodir = ${datarootdir}/info
395
+ install_sh = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/install-sh
396
+ intltool__v_merge_options_ = $(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))
397
+ intltool__v_merge_options_0 = -q
398
+ libdir = ${exec_prefix}/lib
399
+ libexecdir = ${exec_prefix}/libexec
400
+ localedir = ${datarootdir}/locale
401
+ localstatedir = ${prefix}/var
402
+ mandir = ${datarootdir}/man
403
+ mkdir_p = $(MKDIR_P)
404
+ oldincludedir = /usr/include
405
+ pdfdir = ${docdir}
406
+ prefix = /usr/local
407
+ program_transform_name = s,x,x,
408
+ psdir = ${docdir}
409
+ sbindir = ${exec_prefix}/sbin
410
+ sharedstatedir = ${prefix}/com
411
+ srcdir = .
412
+ sysconfdir = ${prefix}/etc
413
+ target_alias =
414
+ top_build_prefix =
415
+ top_builddir = .
416
+ top_srcdir = .
417
+ GTESTER = gtester
418
+ GTESTER_REPORT = gtester-report
419
+
420
+ # initialize variables for unconditional += appending
421
+ TEST_PROGS =
422
+ ACLOCAL_AMFLAGS = -I m4
423
+ DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
424
+ SUBDIRS = itex2mml src tests po docs
425
+ lasemdocdir = ${prefix}/doc/lasem-0.6
426
+ lasemdoc_DATA = \
427
+ README \
428
+ COPYING \
429
+ ChangeLog \
430
+ AUTHORS \
431
+ INSTALL \
432
+ NEWS
433
+
434
+ EXTRA_DIST = $(lasemdoc_DATA) m4/introspection.m4
435
+ pkgconfigdir = $(libdir)/pkgconfig
436
+ pkgconfig_DATA = lasem-0.6.pc
437
+ CLEANFILES = $(pkgconfig_DATA)
438
+ all: config.h
439
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
440
+
441
+ .SUFFIXES:
442
+ am--refresh: Makefile
443
+ @:
444
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps)
445
+ @for dep in $?; do \
446
+ case '$(am__configure_deps)' in \
447
+ *$$dep*) \
448
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
449
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
450
+ && exit 0; \
451
+ exit 1;; \
452
+ esac; \
453
+ done; \
454
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
455
+ $(am__cd) $(top_srcdir) && \
456
+ $(AUTOMAKE) --gnu Makefile
457
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
458
+ @case '$?' in \
459
+ *config.status*) \
460
+ echo ' $(SHELL) ./config.status'; \
461
+ $(SHELL) ./config.status;; \
462
+ *) \
463
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
464
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
465
+ esac;
466
+ $(top_srcdir)/Makefile.decl $(am__empty):
467
+
468
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
469
+ $(SHELL) ./config.status --recheck
470
+
471
+ $(top_srcdir)/configure: $(am__configure_deps)
472
+ $(am__cd) $(srcdir) && $(AUTOCONF)
473
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
474
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
475
+ $(am__aclocal_m4_deps):
476
+
477
+ config.h: stamp-h1
478
+ @test -f $@ || rm -f stamp-h1
479
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
480
+
481
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
482
+ @rm -f stamp-h1
483
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
484
+ $(srcdir)/config.h.in: $(am__configure_deps)
485
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
486
+ rm -f stamp-h1
487
+ touch $@
488
+
489
+ distclean-hdr:
490
+ -rm -f config.h stamp-h1
491
+ lasem.pc: $(top_builddir)/config.status $(srcdir)/lasem.pc.in
492
+ cd $(top_builddir) && $(SHELL) ./config.status $@
493
+
494
+ mostlyclean-libtool:
495
+ -rm -f *.lo
496
+
497
+ clean-libtool:
498
+ -rm -rf .libs _libs
499
+
500
+ distclean-libtool:
501
+ -rm -f libtool config.lt
502
+ install-lasemdocDATA: $(lasemdoc_DATA)
503
+ @$(NORMAL_INSTALL)
504
+ @list='$(lasemdoc_DATA)'; test -n "$(lasemdocdir)" || list=; \
505
+ if test -n "$$list"; then \
506
+ echo " $(MKDIR_P) '$(DESTDIR)$(lasemdocdir)'"; \
507
+ $(MKDIR_P) "$(DESTDIR)$(lasemdocdir)" || exit 1; \
508
+ fi; \
509
+ for p in $$list; do \
510
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
511
+ echo "$$d$$p"; \
512
+ done | $(am__base_list) | \
513
+ while read files; do \
514
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(lasemdocdir)'"; \
515
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(lasemdocdir)" || exit $$?; \
516
+ done
517
+
518
+ uninstall-lasemdocDATA:
519
+ @$(NORMAL_UNINSTALL)
520
+ @list='$(lasemdoc_DATA)'; test -n "$(lasemdocdir)" || list=; \
521
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
522
+ dir='$(DESTDIR)$(lasemdocdir)'; $(am__uninstall_files_from_dir)
523
+ install-pkgconfigDATA: $(pkgconfig_DATA)
524
+ @$(NORMAL_INSTALL)
525
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
526
+ if test -n "$$list"; then \
527
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
528
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
529
+ fi; \
530
+ for p in $$list; do \
531
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
532
+ echo "$$d$$p"; \
533
+ done | $(am__base_list) | \
534
+ while read files; do \
535
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
536
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
537
+ done
538
+
539
+ uninstall-pkgconfigDATA:
540
+ @$(NORMAL_UNINSTALL)
541
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
542
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
543
+ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
544
+
545
+ # This directory's subdirectories are mostly independent; you can cd
546
+ # into them and run 'make' without going through this Makefile.
547
+ # To change the values of 'make' variables: instead of editing Makefiles,
548
+ # (1) if the variable is set in 'config.status', edit 'config.status'
549
+ # (which will cause the Makefiles to be regenerated when you run 'make');
550
+ # (2) otherwise, pass the desired values on the 'make' command line.
551
+ $(am__recursive_targets):
552
+ @fail=; \
553
+ if $(am__make_keepgoing); then \
554
+ failcom='fail=yes'; \
555
+ else \
556
+ failcom='exit 1'; \
557
+ fi; \
558
+ dot_seen=no; \
559
+ target=`echo $@ | sed s/-recursive//`; \
560
+ case "$@" in \
561
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
562
+ *) list='$(SUBDIRS)' ;; \
563
+ esac; \
564
+ for subdir in $$list; do \
565
+ echo "Making $$target in $$subdir"; \
566
+ if test "$$subdir" = "."; then \
567
+ dot_seen=yes; \
568
+ local_target="$$target-am"; \
569
+ else \
570
+ local_target="$$target"; \
571
+ fi; \
572
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
573
+ || eval $$failcom; \
574
+ done; \
575
+ if test "$$dot_seen" = "no"; then \
576
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
577
+ fi; test -z "$$fail"
578
+
579
+ ID: $(am__tagged_files)
580
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
581
+ tags: tags-recursive
582
+ TAGS: tags
583
+
584
+ tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
585
+ set x; \
586
+ here=`pwd`; \
587
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
588
+ include_option=--etags-include; \
589
+ empty_fix=.; \
590
+ else \
591
+ include_option=--include; \
592
+ empty_fix=; \
593
+ fi; \
594
+ list='$(SUBDIRS)'; for subdir in $$list; do \
595
+ if test "$$subdir" = .; then :; else \
596
+ test ! -f $$subdir/TAGS || \
597
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
598
+ fi; \
599
+ done; \
600
+ $(am__define_uniq_tagged_files); \
601
+ shift; \
602
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
603
+ test -n "$$unique" || unique=$$empty_fix; \
604
+ if test $$# -gt 0; then \
605
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
606
+ "$$@" $$unique; \
607
+ else \
608
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
609
+ $$unique; \
610
+ fi; \
611
+ fi
612
+ ctags: ctags-recursive
613
+
614
+ CTAGS: ctags
615
+ ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
616
+ $(am__define_uniq_tagged_files); \
617
+ test -z "$(CTAGS_ARGS)$$unique" \
618
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
619
+ $$unique
620
+
621
+ GTAGS:
622
+ here=`$(am__cd) $(top_builddir) && pwd` \
623
+ && $(am__cd) $(top_srcdir) \
624
+ && gtags -i $(GTAGS_ARGS) "$$here"
625
+ cscope: cscope.files
626
+ test ! -s cscope.files \
627
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
628
+ clean-cscope:
629
+ -rm -f cscope.files
630
+ cscope.files: clean-cscope cscopelist
631
+ cscopelist: cscopelist-recursive
632
+
633
+ cscopelist-am: $(am__tagged_files)
634
+ list='$(am__tagged_files)'; \
635
+ case "$(srcdir)" in \
636
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
637
+ *) sdir=$(subdir)/$(srcdir) ;; \
638
+ esac; \
639
+ for i in $$list; do \
640
+ if test -f "$$i"; then \
641
+ echo "$(subdir)/$$i"; \
642
+ else \
643
+ echo "$$sdir/$$i"; \
644
+ fi; \
645
+ done >> $(top_builddir)/cscope.files
646
+
647
+ distclean-tags:
648
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
649
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
650
+
651
+ distdir: $(DISTFILES)
652
+ $(am__remove_distdir)
653
+ test -d "$(distdir)" || mkdir "$(distdir)"
654
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
655
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
656
+ list='$(DISTFILES)'; \
657
+ dist_files=`for file in $$list; do echo $$file; done | \
658
+ sed -e "s|^$$srcdirstrip/||;t" \
659
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
660
+ case $$dist_files in \
661
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
662
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
663
+ sort -u` ;; \
664
+ esac; \
665
+ for file in $$dist_files; do \
666
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
667
+ if test -d $$d/$$file; then \
668
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
669
+ if test -d "$(distdir)/$$file"; then \
670
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
671
+ fi; \
672
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
673
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
674
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
675
+ fi; \
676
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
677
+ else \
678
+ test -f "$(distdir)/$$file" \
679
+ || cp -p $$d/$$file "$(distdir)/$$file" \
680
+ || exit 1; \
681
+ fi; \
682
+ done
683
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
684
+ if test "$$subdir" = .; then :; else \
685
+ $(am__make_dryrun) \
686
+ || test -d "$(distdir)/$$subdir" \
687
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
688
+ || exit 1; \
689
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
690
+ $(am__relativize); \
691
+ new_distdir=$$reldir; \
692
+ dir1=$$subdir; dir2="$(top_distdir)"; \
693
+ $(am__relativize); \
694
+ new_top_distdir=$$reldir; \
695
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
696
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
697
+ ($(am__cd) $$subdir && \
698
+ $(MAKE) $(AM_MAKEFLAGS) \
699
+ top_distdir="$$new_top_distdir" \
700
+ distdir="$$new_distdir" \
701
+ am__remove_distdir=: \
702
+ am__skip_length_check=: \
703
+ am__skip_mode_fix=: \
704
+ distdir) \
705
+ || exit 1; \
706
+ fi; \
707
+ done
708
+ $(MAKE) $(AM_MAKEFLAGS) \
709
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
710
+ dist-hook
711
+ -test -n "$(am__skip_mode_fix)" \
712
+ || find "$(distdir)" -type d ! -perm -755 \
713
+ -exec chmod u+rwx,go+rx {} \; -o \
714
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
715
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
716
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
717
+ || chmod -R a+r "$(distdir)"
718
+ dist-gzip: distdir
719
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
720
+ $(am__post_remove_distdir)
721
+ dist-bzip2: distdir
722
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
723
+ $(am__post_remove_distdir)
724
+
725
+ dist-lzip: distdir
726
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
727
+ $(am__post_remove_distdir)
728
+
729
+ dist-xz: distdir
730
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
731
+ $(am__post_remove_distdir)
732
+
733
+ dist-tarZ: distdir
734
+ @echo WARNING: "Support for distribution archives compressed with" \
735
+ "legacy program 'compress' is deprecated." >&2
736
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
737
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
738
+ $(am__post_remove_distdir)
739
+
740
+ dist-shar: distdir
741
+ @echo WARNING: "Support for shar distribution archives is" \
742
+ "deprecated." >&2
743
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
744
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
745
+ $(am__post_remove_distdir)
746
+
747
+ dist-zip: distdir
748
+ -rm -f $(distdir).zip
749
+ zip -rq $(distdir).zip $(distdir)
750
+ $(am__post_remove_distdir)
751
+
752
+ dist dist-all:
753
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
754
+ $(am__post_remove_distdir)
755
+
756
+ # This target untars the dist file and tries a VPATH configuration. Then
757
+ # it guarantees that the distribution is self-contained by making another
758
+ # tarfile.
759
+ distcheck: dist
760
+ case '$(DIST_ARCHIVES)' in \
761
+ *.tar.gz*) \
762
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
763
+ *.tar.bz2*) \
764
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
765
+ *.tar.lz*) \
766
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
767
+ *.tar.xz*) \
768
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
769
+ *.tar.Z*) \
770
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
771
+ *.shar.gz*) \
772
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
773
+ *.zip*) \
774
+ unzip $(distdir).zip ;;\
775
+ esac
776
+ chmod -R a-w $(distdir)
777
+ chmod u+w $(distdir)
778
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
779
+ chmod a-w $(distdir)
780
+ test -d $(distdir)/_build || exit 0; \
781
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
782
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
783
+ && am__cwd=`pwd` \
784
+ && $(am__cd) $(distdir)/_build/sub \
785
+ && ../../configure \
786
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
787
+ $(DISTCHECK_CONFIGURE_FLAGS) \
788
+ --srcdir=../.. --prefix="$$dc_install_base" \
789
+ && $(MAKE) $(AM_MAKEFLAGS) \
790
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
791
+ && $(MAKE) $(AM_MAKEFLAGS) check \
792
+ && $(MAKE) $(AM_MAKEFLAGS) install \
793
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
794
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
795
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
796
+ distuninstallcheck \
797
+ && chmod -R a-w "$$dc_install_base" \
798
+ && ({ \
799
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
800
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
801
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
802
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
803
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
804
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
805
+ && rm -rf "$$dc_destdir" \
806
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
807
+ && rm -rf $(DIST_ARCHIVES) \
808
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
809
+ && cd "$$am__cwd" \
810
+ || exit 1
811
+ $(am__post_remove_distdir)
812
+ @(echo "$(distdir) archives ready for distribution: "; \
813
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
814
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
815
+ distuninstallcheck:
816
+ @test -n '$(distuninstallcheck_dir)' || { \
817
+ echo 'ERROR: trying to run $@ with an empty' \
818
+ '$$(distuninstallcheck_dir)' >&2; \
819
+ exit 1; \
820
+ }; \
821
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
822
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
823
+ exit 1; \
824
+ }; \
825
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
826
+ || { echo "ERROR: files left after uninstall:" ; \
827
+ if test -n "$(DESTDIR)"; then \
828
+ echo " (check DESTDIR support)"; \
829
+ fi ; \
830
+ $(distuninstallcheck_listfiles) ; \
831
+ exit 1; } >&2
832
+ distcleancheck: distclean
833
+ @if test '$(srcdir)' = . ; then \
834
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
835
+ exit 1 ; \
836
+ fi
837
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
838
+ || { echo "ERROR: files left in build directory after distclean:" ; \
839
+ $(distcleancheck_listfiles) ; \
840
+ exit 1; } >&2
841
+ check-am: all-am
842
+ $(MAKE) $(AM_MAKEFLAGS) check-local
843
+ check: check-recursive
844
+ all-am: Makefile $(DATA) config.h
845
+ installdirs: installdirs-recursive
846
+ installdirs-am:
847
+ for dir in "$(DESTDIR)$(lasemdocdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
848
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
849
+ done
850
+ install: install-recursive
851
+ install-exec: install-exec-recursive
852
+ install-data: install-data-recursive
853
+ uninstall: uninstall-recursive
854
+
855
+ install-am: all-am
856
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
857
+
858
+ installcheck: installcheck-recursive
859
+ install-strip:
860
+ if test -z '$(STRIP)'; then \
861
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
862
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
863
+ install; \
864
+ else \
865
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
866
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
867
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
868
+ fi
869
+ mostlyclean-generic:
870
+
871
+ clean-generic:
872
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
873
+
874
+ distclean-generic:
875
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
876
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
877
+
878
+ maintainer-clean-generic:
879
+ @echo "This command is intended for maintainers to use"
880
+ @echo "it deletes files that may require special tools to rebuild."
881
+ clean: clean-recursive
882
+
883
+ clean-am: clean-generic clean-libtool mostlyclean-am
884
+
885
+ distclean: distclean-recursive
886
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
887
+ -rm -f Makefile
888
+ distclean-am: clean-am distclean-generic distclean-hdr \
889
+ distclean-libtool distclean-tags
890
+
891
+ dvi: dvi-recursive
892
+
893
+ dvi-am:
894
+
895
+ html: html-recursive
896
+
897
+ html-am:
898
+
899
+ info: info-recursive
900
+
901
+ info-am:
902
+
903
+ install-data-am: install-lasemdocDATA install-pkgconfigDATA
904
+
905
+ install-dvi: install-dvi-recursive
906
+
907
+ install-dvi-am:
908
+
909
+ install-exec-am:
910
+
911
+ install-html: install-html-recursive
912
+
913
+ install-html-am:
914
+
915
+ install-info: install-info-recursive
916
+
917
+ install-info-am:
918
+
919
+ install-man:
920
+
921
+ install-pdf: install-pdf-recursive
922
+
923
+ install-pdf-am:
924
+
925
+ install-ps: install-ps-recursive
926
+
927
+ install-ps-am:
928
+
929
+ installcheck-am:
930
+
931
+ maintainer-clean: maintainer-clean-recursive
932
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
933
+ -rm -rf $(top_srcdir)/autom4te.cache
934
+ -rm -f Makefile
935
+ maintainer-clean-am: distclean-am maintainer-clean-generic
936
+
937
+ mostlyclean: mostlyclean-recursive
938
+
939
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
940
+
941
+ pdf: pdf-recursive
942
+
943
+ pdf-am:
944
+
945
+ ps: ps-recursive
946
+
947
+ ps-am:
948
+
949
+ uninstall-am: uninstall-lasemdocDATA uninstall-pkgconfigDATA
950
+
951
+ .MAKE: $(am__recursive_targets) all check-am install-am install-strip
952
+
953
+ .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
954
+ am--refresh check check-am check-local clean clean-cscope \
955
+ clean-generic clean-libtool cscope cscopelist-am ctags \
956
+ ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
957
+ dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
958
+ distclean distclean-generic distclean-hdr distclean-libtool \
959
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
960
+ dvi-am html html-am info info-am install install-am \
961
+ install-data install-data-am install-dvi install-dvi-am \
962
+ install-exec install-exec-am install-html install-html-am \
963
+ install-info install-info-am install-lasemdocDATA install-man \
964
+ install-pdf install-pdf-am install-pkgconfigDATA install-ps \
965
+ install-ps-am install-strip installcheck installcheck-am \
966
+ installdirs installdirs-am maintainer-clean \
967
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
968
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
969
+ uninstall-am uninstall-lasemdocDATA uninstall-pkgconfigDATA
970
+
971
+ .PRECIOUS: Makefile
972
+
973
+
974
+ ### testing rules
975
+
976
+ # test: run all tests in cwd and subdirs
977
+ test: ${TEST_PROGS}
978
+ @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
979
+ @ for subdir in $(SUBDIRS) . ; do \
980
+ test "$$subdir" = "." -o "$$subdir" = "po" || \
981
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
982
+ done
983
+
984
+ # test-report: run tests in subdirs and generate report
985
+ # perf-report: run tests in subdirs with -m perf and generate report
986
+ # full-report: like test-report: with -m perf and -m slow
987
+ test-report perf-report full-report: ${TEST_PROGS}
988
+ @test -z "${TEST_PROGS}" || { \
989
+ case $@ in \
990
+ test-report) test_options="-k";; \
991
+ perf-report) test_options="-k -m=perf";; \
992
+ full-report) test_options="-k -m=perf -m=slow";; \
993
+ esac ; \
994
+ if test -z "$$GTESTER_LOGDIR" ; then \
995
+ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
996
+ elif test -n "${TEST_PROGS}" ; then \
997
+ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
998
+ fi ; \
999
+ }
1000
+ @ ignore_logdir=true ; \
1001
+ if test -z "$$GTESTER_LOGDIR" ; then \
1002
+ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
1003
+ ignore_logdir=false ; \
1004
+ fi ; \
1005
+ for subdir in $(SUBDIRS) . ; do \
1006
+ test "$$subdir" = "." -o "$$subdir" = "po" || \
1007
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
1008
+ done ; \
1009
+ $$ignore_logdir || { \
1010
+ echo '<?xml version="1.0"?>' > $@.xml ; \
1011
+ echo '<report-collection>' >> $@.xml ; \
1012
+ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
1013
+ sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
1014
+ done ; \
1015
+ echo >> $@.xml ; \
1016
+ echo '</report-collection>' >> $@.xml ; \
1017
+ rm -rf "$$GTESTER_LOGDIR"/ ; \
1018
+ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
1019
+ }
1020
+ .PHONY: test test-report perf-report full-report
1021
+ # run make test as part of make check
1022
+ check-local: test
1023
+
1024
+ # Copy all the spec files. Of cource, only one is actually used.
1025
+ dist-hook:
1026
+ for specfile in *.spec; do \
1027
+ if test -f $$specfile; then \
1028
+ cp -p $$specfile $(distdir); \
1029
+ fi \
1030
+ done
1031
+
1032
+ %-0.6.pc: %.pc
1033
+ cp $< $@
1034
+
1035
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
1036
+ # Otherwise a system limit (for SysV at least) may be exceeded.
1037
+ .NOEXPORT: