rmmseg-cpp-traditional 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
File without changes
data/Manifest.txt CHANGED
File without changes
data/README CHANGED
File without changes
data/Rakefile CHANGED
File without changes
@@ -0,0 +1,187 @@
1
+
2
+ SHELL = /bin/sh
3
+
4
+ #### Start of system configuration section. ####
5
+
6
+ srcdir = .
7
+ topdir = /Users/michaelhsu/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1
8
+ hdrdir = /Users/michaelhsu/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1
9
+ arch_hdrdir = /Users/michaelhsu/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/$(arch)
10
+ VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
11
+ prefix = $(DESTDIR)/Users/michaelhsu/.rvm/rubies/ruby-1.9.2-p290
12
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
13
+ exec_prefix = $(prefix)
14
+ vendorhdrdir = $(rubyhdrdir)/vendor_ruby
15
+ sitehdrdir = $(rubyhdrdir)/site_ruby
16
+ rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
17
+ vendordir = $(rubylibprefix)/vendor_ruby
18
+ sitedir = $(rubylibprefix)/site_ruby
19
+ ridir = $(datarootdir)/$(RI_BASE_NAME)
20
+ mandir = $(datarootdir)/man
21
+ localedir = $(datarootdir)/locale
22
+ libdir = $(exec_prefix)/lib
23
+ psdir = $(docdir)
24
+ pdfdir = $(docdir)
25
+ dvidir = $(docdir)
26
+ htmldir = $(docdir)
27
+ infodir = $(datarootdir)/info
28
+ docdir = $(datarootdir)/doc/$(PACKAGE)
29
+ oldincludedir = $(DESTDIR)/usr/include
30
+ includedir = $(prefix)/include
31
+ localstatedir = $(prefix)/var
32
+ sharedstatedir = $(prefix)/com
33
+ sysconfdir = $(prefix)/etc
34
+ datadir = $(datarootdir)
35
+ datarootdir = $(prefix)/share
36
+ libexecdir = $(exec_prefix)/libexec
37
+ sbindir = $(exec_prefix)/sbin
38
+ bindir = $(exec_prefix)/bin
39
+ rubylibdir = $(rubylibprefix)/$(ruby_version)
40
+ archdir = $(rubylibdir)/$(arch)
41
+ sitelibdir = $(sitedir)/$(ruby_version)
42
+ sitearchdir = $(sitelibdir)/$(sitearch)
43
+ vendorlibdir = $(vendordir)/$(ruby_version)
44
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
45
+
46
+ CC = clang
47
+ CXX = g++
48
+ LIBRUBY = $(LIBRUBY_SO)
49
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
50
+ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
51
+ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
52
+ OUTFLAG = -o
53
+ COUTFLAG = -o
54
+
55
+ RUBY_EXTCONF_H =
56
+ cflags = $(optflags) $(debugflags) $(warnflags)
57
+ optflags = -O3
58
+ debugflags = -ggdb
59
+ warnflags = -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
60
+ CFLAGS = -fno-common -I/Users/michaelhsu/.rvm/usr/include -fno-common -pipe
61
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
62
+ DEFS =
63
+ CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) $(cppflags)
64
+ CXXFLAGS = $(CFLAGS) $(cxxflags)
65
+ ldflags = -L. -L/Users/michaelhsu/.rvm/usr/lib -L/usr/local/lib
66
+ dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
67
+ ARCH_FLAG =
68
+ DLDFLAGS = $(ldflags) $(dldflags)
69
+ LDSHARED = g++ -dynamiclib -single_module -flat_namespace -undefined suppress
70
+ LDSHAREDXX = $(CXX) -dynamic -bundle
71
+ AR = ar
72
+ EXEEXT =
73
+
74
+ RUBY_BASE_NAME = ruby
75
+ RUBY_INSTALL_NAME = ruby
76
+ RUBY_SO_NAME = ruby.1.9.1
77
+ arch = x86_64-darwin12.2.0
78
+ sitearch = $(arch)
79
+ ruby_version = 1.9.1
80
+ ruby = /Users/michaelhsu/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
81
+ RUBY = $(ruby)
82
+ RM = rm -f
83
+ RM_RF = $(RUBY) -run -e rm -- -rf
84
+ RMDIRS = $(RUBY) -run -e rmdir -- -p
85
+ MAKEDIRS = mkdir -p
86
+ INSTALL = /usr/bin/install -c
87
+ INSTALL_PROG = $(INSTALL) -m 0755
88
+ INSTALL_DATA = $(INSTALL) -m 644
89
+ COPY = cp
90
+
91
+ #### End of system configuration section. ####
92
+
93
+ preload =
94
+
95
+ libpath = . $(libdir)
96
+ LIBPATH = -L. -L$(libdir)
97
+ DEFFILE =
98
+
99
+ CLEANFILES = mkmf.log
100
+ DISTCLEANFILES =
101
+ DISTCLEANDIRS =
102
+
103
+ extout =
104
+ extout_prefix =
105
+ target_prefix =
106
+ LOCAL_LIBS =
107
+ LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lobjc
108
+ SRCS = algor.c dict.c memory.c rmmseg.c
109
+ OBJS = algor.o dict.o memory.o rmmseg.o
110
+ TARGET = rmmseg
111
+ DLLIB = $(TARGET).bundle
112
+ EXTSTATIC =
113
+ STATIC_LIB =
114
+
115
+ BINDIR = $(bindir)
116
+ RUBYCOMMONDIR = $(sitedir)$(target_prefix)
117
+ RUBYLIBDIR = /Users/michaelhsu/.rvm/gems/ruby-1.9.2-p290/gems/rmmseg-cpp-0.2.9/lib$(target_prefix)
118
+ RUBYARCHDIR = /Users/michaelhsu/.rvm/gems/ruby-1.9.2-p290/gems/rmmseg-cpp-0.2.9/lib$(target_prefix)
119
+ HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
120
+ ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
121
+
122
+ TARGET_SO = $(DLLIB)
123
+ CLEANLIBS = $(TARGET).bundle
124
+ CLEANOBJS = *.o *.bak
125
+
126
+ all: $(DLLIB)
127
+ static: $(STATIC_LIB)
128
+ .PHONY: all install static install-so install-rb
129
+ .PHONY: clean clean-so clean-rb
130
+
131
+ clean-rb-default::
132
+ clean-rb::
133
+ clean-so::
134
+ clean: clean-so clean-rb-default clean-rb
135
+ @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
136
+
137
+ distclean-rb-default::
138
+ distclean-rb::
139
+ distclean-so::
140
+ distclean: clean distclean-so distclean-rb-default distclean-rb
141
+ @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
142
+ @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
143
+ @-$(RMDIRS) $(DISTCLEANDIRS)
144
+
145
+ realclean: distclean
146
+ install: install-so install-rb
147
+
148
+ install-so: $(RUBYARCHDIR)
149
+ install-so: $(RUBYARCHDIR)/$(DLLIB)
150
+ $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
151
+ @-$(MAKEDIRS) $(@D)
152
+ $(INSTALL_PROG) $(DLLIB) $(@D)
153
+ install-rb: pre-install-rb install-rb-default
154
+ install-rb-default: pre-install-rb-default
155
+ pre-install-rb: Makefile
156
+ pre-install-rb-default: Makefile
157
+ $(RUBYARCHDIR):
158
+ $(MAKEDIRS) $@
159
+
160
+ site-install: site-install-so site-install-rb
161
+ site-install-so: install-so
162
+ site-install-rb: install-rb
163
+
164
+ .SUFFIXES: .c .m .cc .cxx .cpp .C .o
165
+
166
+ .cc.o:
167
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
168
+
169
+ .cxx.o:
170
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
171
+
172
+ .cpp.o:
173
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
174
+
175
+ .C.o:
176
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
177
+
178
+ .c.o:
179
+ $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
180
+
181
+ $(DLLIB): $(OBJS) Makefile
182
+ @-$(RM) $(@)
183
+ $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
184
+
185
+
186
+
187
+ $(OBJS): $(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h
data/ext/rmmseg/algor.cpp CHANGED
File without changes
data/ext/rmmseg/algor.h CHANGED
File without changes
Binary file
data/ext/rmmseg/chunk.h CHANGED
File without changes
data/ext/rmmseg/dict.cpp CHANGED
File without changes
data/ext/rmmseg/dict.h CHANGED
File without changes
data/ext/rmmseg/dict.o ADDED
Binary file
File without changes
File without changes
data/ext/rmmseg/memory.h CHANGED
File without changes
Binary file
Binary file
File without changes
Binary file
data/ext/rmmseg/rules.h CHANGED
File without changes
data/ext/rmmseg/token.h CHANGED
File without changes
data/ext/rmmseg/word.h CHANGED
File without changes
File without changes
data/lib/rmmseg/ferret.rb CHANGED
File without changes
data/lib/rmmseg.bundle ADDED
Binary file
data/lib/rmmseg.rb CHANGED
File without changes
data/misc/homepage.erb CHANGED
File without changes
data/misc/homepage.html CHANGED
File without changes
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "rmmseg-cpp-traditional"
8
- gem.version = "1.0.0"
8
+ gem.version = "1.0.1"
9
9
  gem.authors = ["MichaelHsu"]
10
10
  gem.email = ["evenchange4@gmail.com"]
11
11
  gem.description = %q{rmmseg-cpp-traditional}
data/spec/rmmseg_spec.rb CHANGED
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
data/tasks/ann.rake CHANGED
File without changes
data/tasks/bones.rake CHANGED
File without changes
data/tasks/gem.rake CHANGED
File without changes
data/tasks/git.rake CHANGED
File without changes
data/tasks/homepage.rake CHANGED
File without changes
data/tasks/manifest.rake CHANGED
File without changes
data/tasks/notes.rake CHANGED
File without changes
data/tasks/post_load.rake CHANGED
File without changes
data/tasks/rdoc.rake CHANGED
File without changes
data/tasks/rubyforge.rake CHANGED
File without changes
data/tasks/setup.rb CHANGED
File without changes
data/tasks/spec.rake CHANGED
File without changes
data/tasks/svn.rake CHANGED
File without changes
data/tasks/test.rake CHANGED
File without changes
data/test/test_rmmseg.rb CHANGED
File without changes
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - MichaelHsu
@@ -37,18 +37,25 @@ files:
37
37
  - bin/rmmseg
38
38
  - data/chars.dic
39
39
  - data/words.dic
40
+ - ext/rmmseg/Makefile
40
41
  - ext/rmmseg/algor.cpp
41
42
  - ext/rmmseg/algor.h
43
+ - ext/rmmseg/algor.o
42
44
  - ext/rmmseg/chunk.h
43
45
  - ext/rmmseg/dict.cpp
44
46
  - ext/rmmseg/dict.h
47
+ - ext/rmmseg/dict.o
45
48
  - ext/rmmseg/extconf.rb
46
49
  - ext/rmmseg/memory.cpp
47
50
  - ext/rmmseg/memory.h
51
+ - ext/rmmseg/memory.o
52
+ - ext/rmmseg/rmmseg.bundle
48
53
  - ext/rmmseg/rmmseg.cpp
54
+ - ext/rmmseg/rmmseg.o
49
55
  - ext/rmmseg/rules.h
50
56
  - ext/rmmseg/token.h
51
57
  - ext/rmmseg/word.h
58
+ - lib/rmmseg.bundle
52
59
  - lib/rmmseg.rb
53
60
  - lib/rmmseg/dictionary.rb
54
61
  - lib/rmmseg/ferret.rb