gettext 1.5.0-mswin32 → 1.6.0-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) hide show
  1. data/ChangeLog +113 -0
  2. data/NEWS +17 -1
  3. data/README +56 -46
  4. data/Rakefile +7 -3
  5. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  6. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  7. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  8. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  9. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  10. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  11. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  12. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  13. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  14. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  15. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  16. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  17. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  28. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  29. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  30. data/ext/gettext/locale_system.c +3 -3
  31. data/lib/gettext.rb +149 -98
  32. data/lib/gettext/container.rb +3 -23
  33. data/lib/gettext/erb.rb +2 -2
  34. data/lib/gettext/locale_posix.rb +37 -5
  35. data/lib/gettext/locale_win32.rb +2 -1
  36. data/lib/gettext/mo.rb +6 -4
  37. data/lib/gettext/parser/activerecord.rb +7 -3
  38. data/lib/gettext/poparser.rb +298 -298
  39. data/lib/gettext/rails.rb +131 -112
  40. data/lib/gettext/rgettext.rb +3 -1
  41. data/lib/gettext/rmsgfmt.rb +3 -1
  42. data/lib/gettext/rmsgmerge.rb +3 -1
  43. data/lib/gettext/textdomain.rb +14 -8
  44. data/lib/gettext/textdomainmanager.rb +103 -0
  45. data/lib/gettext/version.rb +1 -1
  46. data/po/cs/rails.po +16 -16
  47. data/po/cs/rgettext.po +7 -3
  48. data/po/de/rails.po +16 -16
  49. data/po/de/rgettext.po +7 -3
  50. data/po/el/rails.po +16 -16
  51. data/po/el/rgettext.po +7 -3
  52. data/po/es/rails.po +16 -16
  53. data/po/es/rgettext.po +7 -3
  54. data/po/fr/rails.po +16 -16
  55. data/po/fr/rgettext.po +7 -3
  56. data/po/it/rails.po +79 -0
  57. data/po/it/rgettext.po +42 -32
  58. data/po/ja/rails.po +20 -18
  59. data/po/ja/rgettext.po +7 -3
  60. data/po/ko/rails.po +16 -16
  61. data/po/ko/rgettext.po +7 -3
  62. data/po/nl/rails.po +16 -16
  63. data/po/nl/rgettext.po +7 -3
  64. data/po/pt_BR/rails.po +16 -16
  65. data/po/pt_BR/rgettext.po +7 -3
  66. data/po/rails.pot +16 -16
  67. data/po/rgettext.pot +7 -3
  68. data/po/ru/rails.po +18 -18
  69. data/po/ru/rgettext.po +13 -9
  70. data/po/sv/rgettext.po +7 -3
  71. data/po/zh/rails.po +78 -0
  72. data/po/zh/rgettext.po +104 -0
  73. data/pre-setup.rb +1 -4
  74. data/samples/cgi/helloerb.rhtml +1 -0
  75. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
  76. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
  77. data/samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo +0 -0
  78. data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
  79. data/samples/cgi/po/zh/helloerb1.po +60 -0
  80. data/samples/cgi/po/zh/helloerb2.po +52 -0
  81. data/samples/cgi/po/zh/hellolib.po +24 -0
  82. data/samples/cgi/po/zh/main.po +80 -0
  83. data/samples/hello.rb +28 -5
  84. data/samples/hello2.rb +13 -6
  85. data/samples/hello_noop.rb +20 -8
  86. data/samples/hello_plural.rb +16 -6
  87. data/samples/hello_textdomain.rb +13 -4
  88. data/samples/hellogtk.rb +5 -4
  89. data/samples/hellogtk2.rb +5 -6
  90. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  91. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  92. data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
  93. data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
  94. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  95. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  96. data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
  97. data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
  98. data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
  99. data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
  100. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  101. data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
  102. data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
  103. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  104. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  105. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  106. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  107. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  108. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  109. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  110. data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
  111. data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
  112. data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
  113. data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
  114. data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
  115. data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
  116. data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
  117. data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
  118. data/samples/locale/zh/LC_MESSAGES/helloglade2.mo +0 -0
  119. data/samples/locale/zh/LC_MESSAGES/hellogtk.mo +0 -0
  120. data/samples/locale/zh/LC_MESSAGES/hellotk.mo +0 -0
  121. data/samples/po/cs/hello2.po +4 -4
  122. data/samples/po/cs/hello_plural.po +5 -5
  123. data/samples/po/de/hello2.po +4 -4
  124. data/samples/po/de/hello_plural.po +9 -6
  125. data/samples/po/el/hello2.po +4 -4
  126. data/samples/po/el/hello_plural.po +3 -3
  127. data/samples/po/es/hello2.po +4 -4
  128. data/samples/po/es/hello_plural.po +6 -6
  129. data/samples/po/fr/hello2.po +4 -4
  130. data/samples/po/fr/hello_plural.po +3 -3
  131. data/samples/po/hello2.pot +2 -2
  132. data/samples/po/hello_plural.pot +1 -1
  133. data/samples/po/it/hello2.po +4 -4
  134. data/samples/po/it/hello_plural.po +4 -5
  135. data/samples/po/ja/hello2.po +4 -4
  136. data/samples/po/ja/hello_plural.po +4 -5
  137. data/samples/po/ko/hello2.po +4 -4
  138. data/samples/po/ko/hello_plural.po +10 -7
  139. data/samples/po/nl/hello2.po +4 -4
  140. data/samples/po/nl/hello_plural.po +6 -7
  141. data/samples/po/pt_BR/hello2.po +4 -4
  142. data/samples/po/pt_BR/hello_plural.po +6 -6
  143. data/samples/po/ru/hello2.po +4 -4
  144. data/samples/po/ru/hello_plural.po +10 -7
  145. data/samples/po/sv/hello2.po +4 -4
  146. data/samples/po/sv/hello_plural.po +4 -4
  147. data/samples/po/zh/hello.po +23 -0
  148. data/samples/po/zh/hello2.po +31 -0
  149. data/samples/po/zh/hello_noop.po +27 -0
  150. data/samples/po/zh/hello_plural.po +25 -0
  151. data/samples/po/zh/helloglade2.po +31 -0
  152. data/samples/po/zh/hellogtk.po +23 -0
  153. data/samples/po/zh/hellotk.po +23 -0
  154. data/samples/rails/README +2 -2
  155. data/samples/rails/lib/tasks/gettext.rake +0 -3
  156. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  157. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  158. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  159. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  160. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  161. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  162. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  163. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  164. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  165. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  166. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  167. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  168. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  169. data/samples/rails/po/blog.pot +1 -1
  170. data/samples/rails/po/cs/blog.po +1 -1
  171. data/samples/rails/po/de/blog.po +1 -1
  172. data/samples/rails/po/el/blog.po +1 -1
  173. data/samples/rails/po/en/blog.po +3 -3
  174. data/samples/rails/po/es/blog.po +1 -1
  175. data/samples/rails/po/fr/blog.po +1 -1
  176. data/samples/rails/po/it/blog.po +109 -0
  177. data/samples/rails/po/ja/blog.po +1 -14
  178. data/samples/rails/po/ko/blog.po +2 -2
  179. data/samples/rails/po/nl/blog.po +1 -1
  180. data/samples/rails/po/pt_BR/blog.po +1 -1
  181. data/samples/rails/po/ru/blog.po +1 -2
  182. data/samples/rails/po/zh/blog.po +109 -0
  183. data/samples/rails/vendor/plugins/gettext/README +17 -0
  184. data/samples/rails/vendor/plugins/gettext/Rakefile +17 -0
  185. data/samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb +16 -35
  186. data/samples/rails/{locale → vendor/plugins/gettext/locale}/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  187. data/samples/rails/{locale → vendor/plugins/gettext/locale}/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  188. data/samples/rails/{locale → vendor/plugins/gettext/locale}/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  189. data/samples/rails/{locale → vendor/plugins/gettext/locale}/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  190. data/samples/rails/{locale → vendor/plugins/gettext/locale}/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  191. data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
  192. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  193. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  194. data/samples/rails/{locale → vendor/plugins/gettext/locale}/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  195. data/samples/rails/{locale → vendor/plugins/gettext/locale}/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  196. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
  197. data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
  198. data/samples/rails/{po → vendor/plugins/gettext/po}/cs/gettext_plugin.po +4 -4
  199. data/samples/rails/{po → vendor/plugins/gettext/po}/de/gettext_plugin.po +4 -4
  200. data/samples/rails/{po → vendor/plugins/gettext/po}/el/gettext_plugin.po +4 -4
  201. data/samples/rails/{po → vendor/plugins/gettext/po}/es/gettext_plugin.po +4 -4
  202. data/samples/rails/{po → vendor/plugins/gettext/po}/fr/gettext_plugin.po +4 -4
  203. data/samples/rails/{po → vendor/plugins/gettext/po}/gettext_plugin.pot +4 -4
  204. data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +27 -0
  205. data/samples/rails/{po → vendor/plugins/gettext/po}/ja/gettext_plugin.po +4 -4
  206. data/samples/rails/{po → vendor/plugins/gettext/po}/ko/gettext_plugin.po +4 -4
  207. data/samples/rails/{po → vendor/plugins/gettext/po}/nl/gettext_plugin.po +4 -4
  208. data/samples/rails/{po → vendor/plugins/gettext/po}/pt_BR/gettext_plugin.po +4 -4
  209. data/samples/rails/{po → vendor/plugins/gettext/po}/ru/gettext_plugin.po +4 -5
  210. data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +27 -0
  211. data/test/gettext_test.rb +18 -14
  212. data/test/gettext_test_multi_textdomain.rb +49 -0
  213. data/test/locale/fr/LC_MESSAGES/test6.mo +0 -0
  214. data/test/locale/ja/LC_MESSAGES/test6.mo +0 -0
  215. data/test/po/fr/test6.po +23 -0
  216. data/test/po/ja/test6.po +23 -0
  217. data/test/test.sh +3 -1
  218. data/test/testlib1.rb +0 -5
  219. data/test/testlib5.rb +70 -0
  220. data/test/testlib6.rb +19 -0
  221. metadata +128 -33
  222. data/COPYING.ja +0 -51
  223. data/ext/gettext/Makefile +0 -178
  224. data/ext/gettext/locale_system-i386-mswin32.def +0 -2
  225. data/ext/gettext/locale_system.exp +0 -0
  226. data/ext/gettext/locale_system.lib +0 -0
  227. data/ext/gettext/locale_system.obj +0 -0
  228. data/ext/gettext/locale_system.pdb +0 -0
  229. data/ext/gettext/locale_system.so +0 -0
  230. data/ext/gett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ED
@@ -1,178 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = .
7
- topdir = e:/ruby/lib/ruby/1.8/i386-mswin32
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir);$(topdir);$(hdrdir)
10
-
11
- DESTDIR = e:
12
- prefix = $(DESTDIR)/ruby
13
- exec_prefix = $(prefix)
14
- sitedir = $(prefix)/lib/ruby/site_ruby
15
- rubylibdir = $(libdir)/ruby/$(ruby_version)
16
- top_srcdir = $(DESTDIR)/develop/win/ruby/ruby-1.8.4
17
- archdir = $(rubylibdir)/$(arch)
18
- sbindir = $(exec_prefix)/sbin
19
- datadir = $(prefix)/share
20
- includedir = $(prefix)/include
21
- infodir = $(prefix)/info
22
- sysconfdir = $(prefix)/etc
23
- mandir = $(prefix)/man
24
- libdir = $(exec_prefix)/lib
25
- sharedstatedir = $(DESTDIR)/etc
26
- oldincludedir = $(DESTDIR)/usr/include
27
- sitearchdir = $(sitelibdir)/$(sitearch)
28
- localstatedir = $(DESTDIR)/var
29
- bindir = $(exec_prefix)/bin
30
- sitelibdir = $(sitedir)/$(ruby_version)
31
- libexecdir = $(exec_prefix)/libexec
32
-
33
- CC = cl -nologo
34
- LIBRUBY = $(RUBY_SO_NAME).lib
35
- LIBRUBY_A = $(RUBY_SO_NAME)-static.lib
36
- LIBRUBYARG_SHARED = $(LIBRUBY)
37
- LIBRUBYARG_STATIC = $(LIBRUBY_A)
38
-
39
- CFLAGS = -MD -Zi -O2b2xg- -G6
40
- CPPFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir) -DHAVE_WINDOWS_H
41
- CXXFLAGS = $(CFLAGS)
42
- DLDFLAGS = -link -incremental:no -debug -opt:ref -opt:icf -dll $(LIBPATH) -def:$(DEFFILE) -implib:$(*F:.so=)-$(arch).lib -pdb:$(*F:.so=)-$(arch).pdb
43
- LDSHARED = cl -nologo -LD
44
- AR = lib -nologo
45
- EXEEXT = .exe
46
-
47
- RUBY_INSTALL_NAME = ruby
48
- RUBY_SO_NAME = msvcrt-ruby18
49
- arch = i386-mswin32
50
- sitearch = i386-msvcrt
51
- ruby_version = 1.8
52
- ruby = e:/ruby/bin/ruby
53
- RUBY = $(ruby:/=\)
54
- RM = $(RUBY) -run -e rm -- -f
55
- MAKEDIRS = @$(RUBY) -run -e mkdir -- -p
56
- INSTALL = copy > nul
57
- INSTALL_PROG = $(INSTALL)
58
- INSTALL_DATA = $(INSTALL)
59
- COPY = copy > nul
60
-
61
- #### End of system configuration section. ####
62
-
63
- preload =
64
-
65
- libpath = $(libdir)
66
- LIBPATH = -libpath:"$(libdir)"
67
- DEFFILE = $(TARGET)-$(arch).def
68
-
69
- CLEANFILES =
70
- DISTCLEANFILES = vc*.pdb $(DEFFILE)
71
-
72
- extout =
73
- extout_prefix =
74
- target_prefix =
75
- LOCAL_LIBS =
76
- LIBS = $(LIBRUBYARG_SHARED) oldnames.lib user32.lib advapi32.lib wsock32.lib
77
- SRCS = locale_system.c
78
- OBJS = locale_system.obj
79
- TARGET = locale_system
80
- DLLIB = $(TARGET).so
81
- STATIC_LIB =
82
-
83
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
84
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
85
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
86
-
87
- TARGET_SO = $(DLLIB)
88
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
89
- CLEANOBJS = *.obj *.lib *.s[ol] *.pdb *.exp *.bak
90
-
91
- all: $(DLLIB)
92
- static: $(STATIC_LIB)
93
-
94
- clean:
95
- @-$(RM) $(CLEANLIBS:/=\) $(CLEANOBJS:/=\) $(CLEANFILES:/=\)
96
-
97
- distclean: clean
98
- @-$(RM) Makefile extconf.h conftest.* mkmf.log
99
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES:/=\)
100
-
101
- realclean: distclean
102
- install: install-so install-rb
103
-
104
- install-so: $(RUBYARCHDIR)
105
- install-so: $(RUBYARCHDIR)/$(DLLIB)
106
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
107
- $(INSTALL_PROG) $(DLLIB:/=\) $(RUBYARCHDIR:/=\)
108
- install-rb: pre-install-rb install-rb-default
109
- install-rb-default: pre-install-rb-default
110
- pre-install-rb: Makefile
111
- pre-install-rb-default: Makefile
112
- $(RUBYARCHDIR):
113
- $(MAKEDIRS) $@
114
-
115
- site-install: site-install-so site-install-rb
116
- site-install-so: install-so
117
- site-install-rb: install-rb
118
-
119
- .SUFFIXES: .c .m .cc .cxx .cpp .obj
120
-
121
- {$(srcdir)}.cc{}.obj:
122
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
123
-
124
- {$(topdir)}.cc{}.obj:
125
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
126
-
127
- {$(hdrdir)}.cc{}.obj:
128
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
129
-
130
- .cc.obj:
131
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
132
-
133
- {$(srcdir)}.cxx{}.obj:
134
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
135
-
136
- {$(topdir)}.cxx{}.obj:
137
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
138
-
139
- {$(hdrdir)}.cxx{}.obj:
140
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
141
-
142
- .cxx.obj:
143
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
144
-
145
- {$(srcdir)}.cpp{}.obj:
146
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
147
-
148
- {$(topdir)}.cpp{}.obj:
149
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
150
-
151
- {$(hdrdir)}.cpp{}.obj:
152
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
153
-
154
- .cpp.obj:
155
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(<:\=/)
156
-
157
- {$(srcdir)}.c{}.obj:
158
- $(CC) $(CFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
159
-
160
- {$(topdir)}.c{}.obj:
161
- $(CC) $(CFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
162
-
163
- {$(hdrdir)}.c{}.obj:
164
- $(CC) $(CFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
165
-
166
- .c.obj:
167
- $(CC) $(CFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
168
-
169
- $(DLLIB): $(DEFFILE) $(OBJS)
170
- @-$(RM) $@
171
- $(LDSHARED) -Fe$(@) $(OBJS) $(LIBS) $(LOCAL_LIBS) $(DLDFLAGS)
172
-
173
-
174
-
175
- $(DEFFILE):
176
- $(RUBY) -e "puts 'EXPORTS', 'Init_$(TARGET)'" > $@
177
-
178
- $(OBJS): {.;$(srcdir);$(topdir);$(hdrdir)}ruby.h {.;$(srcdir);$(topdir);$(hdrdir)}defines.h
@@ -1,2 +0,0 @@
1
- EXPORTS
2
- Init_locale_system
Binary file
Binary file
Binary file
Binary file
Binary file
data/ext/gettext/mkmf.log DELETED
@@ -1,16 +0,0 @@
1
- have_header: checking for windows.h... -------------------- yes
2
-
3
- "cl -I. -Ie:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c -P"
4
- Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
5
- Copyright (C) Microsoft Corporation. All rights reserved.
6
-
7
- cl : Command line warning D9035 : option 'Og-' has been deprecated and will be removed in a future release
8
- cl : Command line warning D9002 : ignoring unknown option '-G6'
9
- conftest.c
10
- checked program was:
11
- /* begin */
12
- #include <windows.h>
13
- /* end */
14
-
15
- --------------------
16
-
data/ext/gettext/vc70.pdb DELETED
Binary file