carray 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +451 -0
- data/carray_cast_func.c +8670 -0
- data/carray_config.h +26 -0
- data/carray_math.c +24805 -0
- data/carray_stat_proc.c +12170 -0
- data/lib/carray/base/struct.rb +4 -4
- data/lib/carray/graphics/gnuplot.rb +5 -5
- data/mkmf.log +375 -0
- data/rdoc_ext.rb +1115 -0
- data/version.h +4 -4
- metadata +11 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5fc53188a24959bceeb88f83a0af103116b416f61bb2c239d0228eb9927c171
|
4
|
+
data.tar.gz: 03f77de920930fd5fb18cc97fc548f2d1f524618c35ea6369753fa3ecd07eba8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7db8f918626c8ae29efe95ee83827043098a19655d24a57361157ec130e0eb7eb2af8a88b967dd78fc8ca523dcce4e423b92362c818f7e28ec0836eeade65047
|
7
|
+
data.tar.gz: 7da91021af2b3eed5bf55622860c303d803082f3df29f14344563953ba25a4904742c47edb79408efeda043f5d7ab7fde50a04d5973f26bf6b2825c5a7139d92
|
data/Makefile
ADDED
@@ -0,0 +1,451 @@
|
|
1
|
+
|
2
|
+
SHELL = /bin/sh
|
3
|
+
|
4
|
+
# V=0 quiet, V=1 verbose. other values don't work.
|
5
|
+
V = 0
|
6
|
+
Q1 = $(V:1=)
|
7
|
+
Q = $(Q1:0=@)
|
8
|
+
ECHO1 = $(V:1=@ :)
|
9
|
+
ECHO = $(ECHO1:0=@ echo)
|
10
|
+
NULLCMD = :
|
11
|
+
|
12
|
+
#### Start of system configuration section. ####
|
13
|
+
|
14
|
+
srcdir = .
|
15
|
+
topdir = /Users/himotoyoshi/.rbenv/versions/2.4.2/include/ruby-2.4.0
|
16
|
+
hdrdir = $(topdir)
|
17
|
+
arch_hdrdir = /Users/himotoyoshi/.rbenv/versions/2.4.2/include/ruby-2.4.0/x86_64-darwin16
|
18
|
+
PATH_SEPARATOR = :
|
19
|
+
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
20
|
+
prefix = $(DESTDIR)/Users/himotoyoshi/.rbenv/versions/2.4.2
|
21
|
+
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
22
|
+
rubyarchprefix = $(rubylibprefix)/$(arch)
|
23
|
+
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
24
|
+
exec_prefix = $(prefix)
|
25
|
+
vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
|
26
|
+
sitearchhdrdir = $(sitehdrdir)/$(sitearch)
|
27
|
+
rubyarchhdrdir = $(rubyhdrdir)/$(arch)
|
28
|
+
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
29
|
+
sitehdrdir = $(rubyhdrdir)/site_ruby
|
30
|
+
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
31
|
+
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
|
+
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
|
+
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
+
sitearchdir = $(sitelibdir)/$(sitearch)
|
35
|
+
sitelibdir = $(sitedir)/$(ruby_version)
|
36
|
+
sitedir = $(rubylibprefix)/site_ruby
|
37
|
+
rubyarchdir = $(rubylibdir)/$(arch)
|
38
|
+
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
39
|
+
sitearchincludedir = $(includedir)/$(sitearch)
|
40
|
+
archincludedir = $(includedir)/$(arch)
|
41
|
+
sitearchlibdir = $(libdir)/$(sitearch)
|
42
|
+
archlibdir = $(libdir)/$(arch)
|
43
|
+
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
44
|
+
mandir = $(datarootdir)/man
|
45
|
+
localedir = $(datarootdir)/locale
|
46
|
+
libdir = $(exec_prefix)/lib
|
47
|
+
psdir = $(docdir)
|
48
|
+
pdfdir = $(docdir)
|
49
|
+
dvidir = $(docdir)
|
50
|
+
htmldir = $(docdir)
|
51
|
+
infodir = $(datarootdir)/info
|
52
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
53
|
+
oldincludedir = $(SDKROOT)/usr/include
|
54
|
+
includedir = $(prefix)/include
|
55
|
+
localstatedir = $(prefix)/var
|
56
|
+
sharedstatedir = $(prefix)/com
|
57
|
+
sysconfdir = $(prefix)/etc
|
58
|
+
datadir = $(datarootdir)
|
59
|
+
datarootdir = $(prefix)/share
|
60
|
+
libexecdir = $(exec_prefix)/libexec
|
61
|
+
sbindir = $(exec_prefix)/sbin
|
62
|
+
bindir = $(exec_prefix)/bin
|
63
|
+
archdir = $(rubyarchdir)
|
64
|
+
|
65
|
+
|
66
|
+
CC = clang
|
67
|
+
CXX = clang++
|
68
|
+
LIBRUBY = $(LIBRUBY_A)
|
69
|
+
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
70
|
+
LIBRUBYARG_SHARED =
|
71
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static -framework CoreFoundation
|
72
|
+
empty =
|
73
|
+
OUTFLAG = -o $(empty)
|
74
|
+
COUTFLAG = -o $(empty)
|
75
|
+
CSRCFLAG = $(empty)
|
76
|
+
|
77
|
+
RUBY_EXTCONF_H = carray_config.h
|
78
|
+
cflags = $(optflags) $(debugflags) $(warnflags)
|
79
|
+
cxxflags = $(optflags) $(debugflags) $(warnflags)
|
80
|
+
optflags = -O3 -fno-fast-math
|
81
|
+
debugflags = -ggdb3
|
82
|
+
warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens
|
83
|
+
CCDLFLAGS = -fno-common
|
84
|
+
CFLAGS = $(CCDLFLAGS) $(cflags) -pipe -Wall -O2 $(ARCH_FLAG)
|
85
|
+
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
86
|
+
DEFS =
|
87
|
+
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/Users/himotoyoshi/.rbenv/versions/2.4.2/include -I/usr/local/opt/qt/include: -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags)
|
88
|
+
CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
|
89
|
+
ldflags = -L. -L/Users/himotoyoshi/.rbenv/versions/2.4.2/lib -L/usr/local/opt/qt/lib: -fstack-protector -L/usr/local/lib
|
90
|
+
dldflags = -L/Users/himotoyoshi/.rbenv/versions/2.4.2/lib -L/usr/local/opt/qt/lib: -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
|
91
|
+
ARCH_FLAG =
|
92
|
+
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
93
|
+
LDSHARED = $(CC) -dynamic -bundle
|
94
|
+
LDSHAREDXX = $(CXX) -dynamic -bundle
|
95
|
+
AR = ar
|
96
|
+
EXEEXT =
|
97
|
+
|
98
|
+
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
99
|
+
RUBY_SO_NAME = ruby
|
100
|
+
RUBYW_INSTALL_NAME =
|
101
|
+
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
102
|
+
RUBYW_BASE_NAME = rubyw
|
103
|
+
RUBY_BASE_NAME = ruby
|
104
|
+
|
105
|
+
arch = x86_64-darwin16
|
106
|
+
sitearch = $(arch)
|
107
|
+
ruby_version = 2.4.0
|
108
|
+
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
109
|
+
RUBY = $(ruby)
|
110
|
+
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
|
111
|
+
|
112
|
+
RM = rm -f
|
113
|
+
RM_RF = $(RUBY) -run -e rm -- -rf
|
114
|
+
RMDIRS = rmdir -p
|
115
|
+
MAKEDIRS = mkdir -p
|
116
|
+
INSTALL = /usr/bin/install -c
|
117
|
+
INSTALL_PROG = $(INSTALL) -m 0755
|
118
|
+
INSTALL_DATA = $(INSTALL) -m 644
|
119
|
+
COPY = cp
|
120
|
+
TOUCH = exit >
|
121
|
+
|
122
|
+
#### End of system configuration section. ####
|
123
|
+
|
124
|
+
preload =
|
125
|
+
libpath = . $(libdir)
|
126
|
+
LIBPATH = -L. -L$(libdir)
|
127
|
+
DEFFILE =
|
128
|
+
|
129
|
+
CLEANFILES = mkmf.log
|
130
|
+
DISTCLEANFILES =
|
131
|
+
DISTCLEANDIRS =
|
132
|
+
|
133
|
+
extout =
|
134
|
+
extout_prefix =
|
135
|
+
target_prefix =
|
136
|
+
LOCAL_LIBS =
|
137
|
+
LIBS = -lpthread -lgmp -ldl -lobjc
|
138
|
+
ORIG_SRCS = ca_iter_block.c ca_iter_dimension.c ca_iter_window.c ca_obj_array.c ca_obj_bitarray.c ca_obj_bitfield.c ca_obj_block.c ca_obj_fake.c ca_obj_farray.c ca_obj_field.c ca_obj_grid.c ca_obj_mapping.c ca_obj_object.c ca_obj_reduce.c ca_obj_refer.c ca_obj_repeat.c ca_obj_select.c ca_obj_shift.c ca_obj_transpose.c ca_obj_unbound_repeat.c ca_obj_window.c carray_access.c carray_attribute.c carray_call_cfunc.c carray_cast.c carray_cast_func.c carray_class.c carray_conversion.c carray_copy.c carray_core.c carray_element.c carray_generate.c carray_iterator.c carray_loop.c carray_mask.c carray_math.c carray_numeric.c carray_operator.c carray_order.c carray_random.c carray_sort_addr.c carray_stat.c carray_stat_proc.c carray_test.c carray_undef.c carray_utils.c mt19937ar.c ruby_carray.c ruby_ccomplex.c ruby_float_func.c
|
139
|
+
SRCS = $(ORIG_SRCS)
|
140
|
+
OBJS = ca_iter_block.o ca_iter_dimension.o ca_iter_window.o ca_obj_array.o ca_obj_bitarray.o ca_obj_bitfield.o ca_obj_block.o ca_obj_fake.o ca_obj_farray.o ca_obj_field.o ca_obj_grid.o ca_obj_mapping.o ca_obj_object.o ca_obj_reduce.o ca_obj_refer.o ca_obj_repeat.o ca_obj_select.o ca_obj_shift.o ca_obj_transpose.o ca_obj_unbound_repeat.o ca_obj_window.o carray_access.o carray_attribute.o carray_call_cfunc.o carray_cast.o carray_cast_func.o carray_class.o carray_conversion.o carray_copy.o carray_core.o carray_element.o carray_generate.o carray_iterator.o carray_loop.o carray_mask.o carray_math.o carray_numeric.o carray_operator.o carray_order.o carray_random.o carray_sort_addr.o carray_stat.o carray_stat_proc.o carray_test.o carray_undef.o carray_utils.o mt19937ar.o ruby_carray.o ruby_ccomplex.o ruby_float_func.o
|
141
|
+
HDRS = $(srcdir)/version.h $(srcdir)/carray_config.h $(srcdir)/carray.h $(srcdir)/mt19937ar.h
|
142
|
+
LOCAL_HDRS =
|
143
|
+
TARGET = carray_ext
|
144
|
+
TARGET_NAME = carray_ext
|
145
|
+
TARGET_ENTRY = Init_$(TARGET_NAME)
|
146
|
+
DLLIB = $(TARGET).bundle
|
147
|
+
EXTSTATIC =
|
148
|
+
STATIC_LIB =
|
149
|
+
|
150
|
+
TIMESTAMP_DIR = .
|
151
|
+
BINDIR = $(bindir)
|
152
|
+
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
153
|
+
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
154
|
+
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
155
|
+
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
156
|
+
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
157
|
+
TARGET_SO_DIR =
|
158
|
+
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
159
|
+
CLEANLIBS = $(TARGET_SO)
|
160
|
+
CLEANOBJS = *.o *.bak
|
161
|
+
|
162
|
+
all: $(DLLIB)
|
163
|
+
static: $(STATIC_LIB)
|
164
|
+
.PHONY: all install static install-so install-rb
|
165
|
+
.PHONY: clean clean-so clean-static clean-rb
|
166
|
+
|
167
|
+
clean-static::
|
168
|
+
clean-rb-default::
|
169
|
+
clean-rb::
|
170
|
+
clean-so::
|
171
|
+
clean: clean-so clean-static clean-rb-default clean-rb
|
172
|
+
-$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
|
173
|
+
|
174
|
+
distclean-rb-default::
|
175
|
+
distclean-rb::
|
176
|
+
distclean-so::
|
177
|
+
distclean-static::
|
178
|
+
distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
179
|
+
-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
180
|
+
-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
181
|
+
-$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
182
|
+
|
183
|
+
realclean: distclean
|
184
|
+
install: install-so install-rb
|
185
|
+
|
186
|
+
install-so: $(DLLIB) $(TIMESTAMP_DIR)/.sitearchdir.time
|
187
|
+
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
188
|
+
clean-static::
|
189
|
+
-$(Q)$(RM) $(STATIC_LIB)
|
190
|
+
install-rb: pre-install-rb do-install-rb install-rb-default
|
191
|
+
install-rb-default: pre-install-rb-default do-install-rb-default
|
192
|
+
pre-install-rb: Makefile
|
193
|
+
pre-install-rb-default: Makefile
|
194
|
+
do-install-rb:
|
195
|
+
do-install-rb-default:
|
196
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.time
|
197
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/info.rb
|
198
|
+
$(RUBYLIBDIR)/carray/info.rb: $(srcdir)/lib/carray/info.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.time
|
199
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/info.rb $(@D)
|
200
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/mkmf.rb
|
201
|
+
$(RUBYLIBDIR)/carray/mkmf.rb: $(srcdir)/lib/carray/mkmf.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.time
|
202
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/mkmf.rb $(@D)
|
203
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
204
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/io/table.rb
|
205
|
+
$(RUBYLIBDIR)/carray/io/table.rb: $(srcdir)/lib/carray/io/table.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
206
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/io/table.rb $(@D)
|
207
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/io/sqlite3.rb
|
208
|
+
$(RUBYLIBDIR)/carray/io/sqlite3.rb: $(srcdir)/lib/carray/io/sqlite3.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
209
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/io/sqlite3.rb $(@D)
|
210
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/io/csv.rb
|
211
|
+
$(RUBYLIBDIR)/carray/io/csv.rb: $(srcdir)/lib/carray/io/csv.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
212
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/io/csv.rb $(@D)
|
213
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/io/imagemagick.rb
|
214
|
+
$(RUBYLIBDIR)/carray/io/imagemagick.rb: $(srcdir)/lib/carray/io/imagemagick.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
215
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/io/imagemagick.rb $(@D)
|
216
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/io/pg.rb
|
217
|
+
$(RUBYLIBDIR)/carray/io/pg.rb: $(srcdir)/lib/carray/io/pg.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time
|
218
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/io/pg.rb $(@D)
|
219
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.time
|
220
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/math/interp.rb
|
221
|
+
$(RUBYLIBDIR)/carray/math/interp.rb: $(srcdir)/lib/carray/math/interp.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.time
|
222
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/math/interp.rb $(@D)
|
223
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/math/histogram.rb
|
224
|
+
$(RUBYLIBDIR)/carray/math/histogram.rb: $(srcdir)/lib/carray/math/histogram.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.time
|
225
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/math/histogram.rb $(@D)
|
226
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/math/recurrence.rb
|
227
|
+
$(RUBYLIBDIR)/carray/math/recurrence.rb: $(srcdir)/lib/carray/math/recurrence.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.time
|
228
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/math/recurrence.rb $(@D)
|
229
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.-.interp.time
|
230
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/math/interp/adapter_gsl_spline.rb
|
231
|
+
$(RUBYLIBDIR)/carray/math/interp/adapter_gsl_spline.rb: $(srcdir)/lib/carray/math/interp/adapter_gsl_spline.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.-.interp.time
|
232
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/math/interp/adapter_gsl_spline.rb $(@D)
|
233
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.object.time
|
234
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/object/ca_obj_iterator.rb
|
235
|
+
$(RUBYLIBDIR)/carray/object/ca_obj_iterator.rb: $(srcdir)/lib/carray/object/ca_obj_iterator.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.object.time
|
236
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/object/ca_obj_iterator.rb $(@D)
|
237
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/object/ca_obj_pack.rb
|
238
|
+
$(RUBYLIBDIR)/carray/object/ca_obj_pack.rb: $(srcdir)/lib/carray/object/ca_obj_pack.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.object.time
|
239
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/object/ca_obj_pack.rb $(@D)
|
240
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/object/ca_obj_link.rb
|
241
|
+
$(RUBYLIBDIR)/carray/object/ca_obj_link.rb: $(srcdir)/lib/carray/object/ca_obj_link.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.object.time
|
242
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/object/ca_obj_link.rb $(@D)
|
243
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
244
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_io_table.rb
|
245
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_io_table.rb: $(srcdir)/lib/carray/autoload/autoload_io_table.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
246
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_io_table.rb $(@D)
|
247
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_math_histogram.rb
|
248
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_math_histogram.rb: $(srcdir)/lib/carray/autoload/autoload_math_histogram.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
249
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_math_histogram.rb $(@D)
|
250
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_io_csv.rb
|
251
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_io_csv.rb: $(srcdir)/lib/carray/autoload/autoload_io_csv.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
252
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_io_csv.rb $(@D)
|
253
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_io_pg.rb
|
254
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_io_pg.rb: $(srcdir)/lib/carray/autoload/autoload_io_pg.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
255
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_io_pg.rb $(@D)
|
256
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_math_interp.rb
|
257
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_math_interp.rb: $(srcdir)/lib/carray/autoload/autoload_math_interp.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
258
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_math_interp.rb $(@D)
|
259
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_io_imagemagick.rb
|
260
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_io_imagemagick.rb: $(srcdir)/lib/carray/autoload/autoload_io_imagemagick.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
261
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_io_imagemagick.rb $(@D)
|
262
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_math_recurrence.rb
|
263
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_math_recurrence.rb: $(srcdir)/lib/carray/autoload/autoload_math_recurrence.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
264
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_math_recurrence.rb $(@D)
|
265
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_io_sqlite3.rb
|
266
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_io_sqlite3.rb: $(srcdir)/lib/carray/autoload/autoload_io_sqlite3.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
267
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_io_sqlite3.rb $(@D)
|
268
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_graphics_zimg.rb
|
269
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_graphics_zimg.rb: $(srcdir)/lib/carray/autoload/autoload_graphics_zimg.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
270
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_graphics_zimg.rb $(@D)
|
271
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_graphics_gnuplot.rb
|
272
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_graphics_gnuplot.rb: $(srcdir)/lib/carray/autoload/autoload_graphics_gnuplot.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
273
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_graphics_gnuplot.rb $(@D)
|
274
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_base.rb
|
275
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_base.rb: $(srcdir)/lib/carray/autoload/autoload_base.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
276
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_base.rb $(@D)
|
277
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_object_link.rb
|
278
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_object_link.rb: $(srcdir)/lib/carray/autoload/autoload_object_link.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
279
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_object_link.rb $(@D)
|
280
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_object_pack.rb
|
281
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_object_pack.rb: $(srcdir)/lib/carray/autoload/autoload_object_pack.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
282
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_object_pack.rb $(@D)
|
283
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/autoload/autoload_object_iterator.rb
|
284
|
+
$(RUBYLIBDIR)/carray/autoload/autoload_object_iterator.rb: $(srcdir)/lib/carray/autoload/autoload_object_iterator.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time
|
285
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/autoload/autoload_object_iterator.rb $(@D)
|
286
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.graphics.time
|
287
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/graphics/gnuplot.rb
|
288
|
+
$(RUBYLIBDIR)/carray/graphics/gnuplot.rb: $(srcdir)/lib/carray/graphics/gnuplot.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.graphics.time
|
289
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/graphics/gnuplot.rb $(@D)
|
290
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/graphics/zimg.rb
|
291
|
+
$(RUBYLIBDIR)/carray/graphics/zimg.rb: $(srcdir)/lib/carray/graphics/zimg.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.graphics.time
|
292
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/graphics/zimg.rb $(@D)
|
293
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
294
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/struct.rb
|
295
|
+
$(RUBYLIBDIR)/carray/base/struct.rb: $(srcdir)/lib/carray/base/struct.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
296
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/struct.rb $(@D)
|
297
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/math.rb
|
298
|
+
$(RUBYLIBDIR)/carray/base/math.rb: $(srcdir)/lib/carray/base/math.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
299
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/math.rb $(@D)
|
300
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/inspect.rb
|
301
|
+
$(RUBYLIBDIR)/carray/base/inspect.rb: $(srcdir)/lib/carray/base/inspect.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
302
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/inspect.rb $(@D)
|
303
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/iterator.rb
|
304
|
+
$(RUBYLIBDIR)/carray/base/iterator.rb: $(srcdir)/lib/carray/base/iterator.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
305
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/iterator.rb $(@D)
|
306
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/basic.rb
|
307
|
+
$(RUBYLIBDIR)/carray/base/basic.rb: $(srcdir)/lib/carray/base/basic.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
308
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/basic.rb $(@D)
|
309
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/autoload.rb
|
310
|
+
$(RUBYLIBDIR)/carray/base/autoload.rb: $(srcdir)/lib/carray/base/autoload.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
311
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/autoload.rb $(@D)
|
312
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/obsolete.rb
|
313
|
+
$(RUBYLIBDIR)/carray/base/obsolete.rb: $(srcdir)/lib/carray/base/obsolete.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
314
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/obsolete.rb $(@D)
|
315
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray/base/serialize.rb
|
316
|
+
$(RUBYLIBDIR)/carray/base/serialize.rb: $(srcdir)/lib/carray/base/serialize.rb $(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time
|
317
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray/base/serialize.rb $(@D)
|
318
|
+
pre-install-rb-default: $(TIMESTAMP_DIR)/.sitelibdir.time
|
319
|
+
do-install-rb-default: $(RUBYLIBDIR)/carray.rb
|
320
|
+
$(RUBYLIBDIR)/carray.rb: $(srcdir)/lib/carray.rb $(TIMESTAMP_DIR)/.sitelibdir.time
|
321
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/lib/carray.rb $(@D)
|
322
|
+
pre-install-rb-default:
|
323
|
+
$(Q1:0=@$(MAKE) -q do-install-rb-default || )$(ECHO1:0=echo) installing default carray_ext libraries
|
324
|
+
pre-install-rb: $(TIMESTAMP_DIR)/.sitearchdir.time
|
325
|
+
do-install-rb: $(RUBYARCHDIR)/carray.h
|
326
|
+
$(RUBYARCHDIR)/carray.h: $(srcdir)/carray.h $(TIMESTAMP_DIR)/.sitearchdir.time
|
327
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/carray.h $(@D)
|
328
|
+
do-install-rb: $(RUBYARCHDIR)/carray_config.h
|
329
|
+
$(RUBYARCHDIR)/carray_config.h: $(srcdir)/carray_config.h $(TIMESTAMP_DIR)/.sitearchdir.time
|
330
|
+
$(Q) $(INSTALL_DATA) $(srcdir)/carray_config.h $(@D)
|
331
|
+
pre-install-rb:
|
332
|
+
$(Q1:0=@$(MAKE) -q do-install-rb || )$(ECHO1:0=echo) installing carray_ext libraries
|
333
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.time:
|
334
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray
|
335
|
+
$(Q) $(TOUCH) $@
|
336
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.io.time:
|
337
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/io
|
338
|
+
$(Q) $(TOUCH) $@
|
339
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.time:
|
340
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/math
|
341
|
+
$(Q) $(TOUCH) $@
|
342
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.math.-.interp.time:
|
343
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/math/interp
|
344
|
+
$(Q) $(TOUCH) $@
|
345
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.object.time:
|
346
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/object
|
347
|
+
$(Q) $(TOUCH) $@
|
348
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.autoload.time:
|
349
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/autoload
|
350
|
+
$(Q) $(TOUCH) $@
|
351
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.graphics.time:
|
352
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/graphics
|
353
|
+
$(Q) $(TOUCH) $@
|
354
|
+
$(TIMESTAMP_DIR)/.sitelibdir.-.carray.-.base.time:
|
355
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)/carray/base
|
356
|
+
$(Q) $(TOUCH) $@
|
357
|
+
$(TIMESTAMP_DIR)/.sitelibdir.time:
|
358
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYLIBDIR)
|
359
|
+
$(Q) $(TOUCH) $@
|
360
|
+
$(TIMESTAMP_DIR)/.sitearchdir.time:
|
361
|
+
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
362
|
+
$(Q) $(TOUCH) $@
|
363
|
+
|
364
|
+
site-install: site-install-so site-install-rb
|
365
|
+
site-install-so: install-so
|
366
|
+
site-install-rb: install-rb
|
367
|
+
|
368
|
+
.SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
|
369
|
+
|
370
|
+
.cc.o:
|
371
|
+
$(ECHO) compiling $(<)
|
372
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
373
|
+
|
374
|
+
.cc.S:
|
375
|
+
$(ECHO) translating $(<)
|
376
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
377
|
+
|
378
|
+
.mm.o:
|
379
|
+
$(ECHO) compiling $(<)
|
380
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
381
|
+
|
382
|
+
.mm.S:
|
383
|
+
$(ECHO) translating $(<)
|
384
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
385
|
+
|
386
|
+
.cxx.o:
|
387
|
+
$(ECHO) compiling $(<)
|
388
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
389
|
+
|
390
|
+
.cxx.S:
|
391
|
+
$(ECHO) translating $(<)
|
392
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
393
|
+
|
394
|
+
.cpp.o:
|
395
|
+
$(ECHO) compiling $(<)
|
396
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
397
|
+
|
398
|
+
.cpp.S:
|
399
|
+
$(ECHO) translating $(<)
|
400
|
+
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
401
|
+
|
402
|
+
.c.o:
|
403
|
+
$(ECHO) compiling $(<)
|
404
|
+
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
405
|
+
|
406
|
+
.c.S:
|
407
|
+
$(ECHO) translating $(<)
|
408
|
+
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
409
|
+
|
410
|
+
.m.o:
|
411
|
+
$(ECHO) compiling $(<)
|
412
|
+
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
413
|
+
|
414
|
+
.m.S:
|
415
|
+
$(ECHO) translating $(<)
|
416
|
+
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
417
|
+
|
418
|
+
$(TARGET_SO): $(OBJS) Makefile
|
419
|
+
$(ECHO) linking shared-object $(DLLIB)
|
420
|
+
-$(Q)$(RM) $(@)
|
421
|
+
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
422
|
+
$(Q) $(POSTLINK)
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
$(OBJS): $(HDRS) $(ruby_headers)
|
427
|
+
CA_VERSION = ${shell ${RUBY} version.rb}
|
428
|
+
GEMFILE = carray-${CA_VERSION}.gem
|
429
|
+
|
430
|
+
carray_cast_func.c: carray_cast_func.rb
|
431
|
+
${RUBY} carray_cast_func.rb > carray_cast_func.c
|
432
|
+
|
433
|
+
carray_stat_proc.c: carray_stat_proc.rb
|
434
|
+
${RUBY} carray_stat_proc.rb > carray_stat_proc.c
|
435
|
+
|
436
|
+
carray_math.c: carray_math.rb
|
437
|
+
${RUBY} carray_math.rb
|
438
|
+
|
439
|
+
rdoc:
|
440
|
+
sh utils/create_rdoc.sh
|
441
|
+
|
442
|
+
clean-generated:
|
443
|
+
@rm -f carray_config.h lib/carray/config.rb
|
444
|
+
@rm -f carray_cast_func.c carray_math.c carray_stat_proc.c
|
445
|
+
@rm -f ${GEMFILE}
|
446
|
+
@rm -rf pkg
|
447
|
+
@rm -f rdoc_ext.rb
|
448
|
+
@rm -rf doc
|
449
|
+
@rm -rf conftest.dSYM ext/*/conftest.dSYM
|
450
|
+
|
451
|
+
distclean: clean-generated
|