carray 1.3.6 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +32 -0
- data/LICENSE +22 -0
- data/NEWS.md +65 -0
- data/README.md +23 -26
- data/Rakefile +31 -0
- data/TODO.md +17 -0
- data/carray.gemspec +24 -31
- data/{ca_iter_block.c → ext/ca_iter_block.c} +16 -18
- data/{ca_iter_dimension.c → ext/ca_iter_dimension.c} +20 -21
- data/{ca_iter_window.c → ext/ca_iter_window.c} +12 -14
- data/{ca_obj_array.c → ext/ca_obj_array.c} +451 -176
- data/{ca_obj_bitarray.c → ext/ca_obj_bitarray.c} +18 -23
- data/{ca_obj_bitfield.c → ext/ca_obj_bitfield.c} +12 -16
- data/{ca_obj_block.c → ext/ca_obj_block.c} +47 -54
- data/{ca_obj_fake.c → ext/ca_obj_fake.c} +10 -12
- data/{ca_obj_farray.c → ext/ca_obj_farray.c} +21 -23
- data/{ca_obj_field.c → ext/ca_obj_field.c} +30 -32
- data/{ca_obj_grid.c → ext/ca_obj_grid.c} +32 -33
- data/{ca_obj_mapping.c → ext/ca_obj_mapping.c} +11 -13
- data/{ca_obj_object.c → ext/ca_obj_object.c} +40 -42
- data/{ca_obj_reduce.c → ext/ca_obj_reduce.c} +3 -5
- data/{ca_obj_refer.c → ext/ca_obj_refer.c} +38 -40
- data/{ca_obj_repeat.c → ext/ca_obj_repeat.c} +45 -47
- data/{ca_obj_select.c → ext/ca_obj_select.c} +4 -6
- data/{ca_obj_shift.c → ext/ca_obj_shift.c} +26 -28
- data/{ca_obj_transpose.c → ext/ca_obj_transpose.c} +26 -28
- data/{ca_obj_unbound_repeat.c → ext/ca_obj_unbound_repeat.c} +106 -160
- data/{ca_obj_window.c → ext/ca_obj_window.c} +33 -35
- data/{carray.h → ext/carray.h} +90 -59
- data/{carray_access.c → ext/carray_access.c} +244 -109
- data/{carray_attribute.c → ext/carray_attribute.c} +161 -207
- data/{carray_call_cfunc.c → ext/carray_call_cfunc.c} +1 -3
- data/{carray_cast.c → ext/carray_cast.c} +350 -149
- data/{carray_cast_func.rb → ext/carray_cast_func.rb} +1 -2
- data/{carray_class.c → ext/carray_class.c} +28 -36
- data/{carray_conversion.c → ext/carray_conversion.c} +58 -70
- data/{carray_copy.c → ext/carray_copy.c} +34 -50
- data/{carray_core.c → ext/carray_core.c} +75 -62
- data/ext/carray_data_type.c +66 -0
- data/{carray_element.c → ext/carray_element.c} +34 -53
- data/{carray_generate.c → ext/carray_generate.c} +137 -50
- data/{carray_iterator.c → ext/carray_iterator.c} +53 -53
- data/{carray_loop.c → ext/carray_loop.c} +77 -106
- data/{carray_mask.c → ext/carray_mask.c} +95 -114
- data/{carray_math.rb → ext/carray_math.rb} +47 -31
- data/ext/{mathfunc/carray_mathfunc.c → carray_mathfunc.c} +1 -3
- data/{carray_numeric.c → ext/carray_numeric.c} +43 -46
- data/{carray_operator.c → ext/carray_operator.c} +72 -36
- data/{carray_order.c → ext/carray_order.c} +73 -217
- data/{carray_sort_addr.c → ext/carray_sort_addr.c} +14 -21
- data/{carray_stat.c → ext/carray_stat.c} +6 -8
- data/{carray_stat_proc.rb → ext/carray_stat_proc.rb} +25 -27
- data/{carray_test.c → ext/carray_test.c} +59 -51
- data/{carray_undef.c → ext/carray_undef.c} +1 -11
- data/{carray_utils.c → ext/carray_utils.c} +12 -4
- data/{extconf.rb → ext/extconf.rb} +1 -6
- data/{mkmath.rb → ext/mkmath.rb} +13 -3
- data/{ruby_carray.c → ext/ruby_carray.c} +20 -8
- data/{ruby_ccomplex.c → ext/ruby_ccomplex.c} +1 -3
- data/{ruby_float_func.c → ext/ruby_float_func.c} +1 -3
- data/ext/version.h +16 -0
- data/{version.rb → ext/version.rb} +0 -0
- data/lib/carray.rb +52 -10
- data/lib/carray/{base/autoload.rb → autoload.rb} +48 -8
- data/lib/carray/autoload/autoload_base.rb +1 -5
- data/lib/carray/autoload/autoload_gem_cairo.rb +9 -0
- data/lib/carray/autoload/autoload_gem_ffi.rb +9 -0
- data/lib/carray/autoload/autoload_gem_gnuplot.rb +2 -0
- data/lib/carray/autoload/autoload_gem_io_csv.rb +14 -0
- data/lib/carray/autoload/autoload_gem_io_pg.rb +6 -0
- data/lib/carray/autoload/autoload_gem_io_sqlite3.rb +12 -0
- data/lib/carray/autoload/autoload_gem_narray.rb +10 -0
- data/lib/carray/autoload/autoload_gem_numo_narray.rb +15 -0
- data/lib/carray/autoload/autoload_gem_opencv.rb +16 -0
- data/lib/carray/autoload/autoload_gem_random.rb +8 -0
- data/lib/carray/autoload/autoload_gem_rmagick.rb +23 -0
- data/lib/carray/autoload/{autoload_graphics_zimg.rb → autoload_gem_zimg.rb} +0 -0
- data/lib/carray/basic.rb +191 -0
- data/lib/carray/broadcast.rb +82 -0
- data/lib/carray/compose.rb +315 -0
- data/lib/carray/construct.rb +460 -0
- data/lib/carray/convert.rb +115 -0
- data/lib/carray/info.rb +1 -3
- data/lib/carray/{base/inspect.rb → inspect.rb} +9 -11
- data/lib/carray/io/imagemagick.rb +2 -4
- data/lib/carray/{base/iterator.rb → iterator.rb} +6 -6
- data/lib/carray/mask.rb +102 -0
- data/lib/carray/{base/math.rb → math.rb} +21 -53
- data/lib/carray/math/histogram.rb +8 -10
- data/lib/carray/math/recurrence.rb +1 -3
- data/lib/carray/mkmf.rb +9 -3
- data/lib/carray/object/ca_obj_iterator.rb +1 -3
- data/lib/carray/object/ca_obj_link.rb +1 -3
- data/lib/carray/object/ca_obj_pack.rb +9 -11
- data/lib/carray/obsolete.rb +270 -0
- data/lib/carray/ordering.rb +181 -0
- data/lib/carray/{base/serialize.rb → serialize.rb} +50 -66
- data/lib/carray/string.rb +188 -0
- data/lib/carray/{base/struct.rb → struct.rb} +19 -21
- data/lib/carray/{io/table.rb → table.rb} +1 -9
- data/lib/carray/testing.rb +51 -0
- data/lib/carray/time.rb +76 -0
- data/lib/carray/transform.rb +98 -0
- data/misc/Methods.ja.md +182 -0
- data/{NOTE → misc/NOTE} +0 -0
- data/spec/Classes/CABitfield_spec.rb +58 -0
- data/spec/Classes/CABlockIterator_spec.rb +114 -0
- data/spec/Classes/CABlock_spec.rb +205 -0
- data/spec/Classes/CAField_spec.rb +39 -0
- data/spec/Classes/CAGrid_spec.rb +75 -0
- data/spec/Classes/CAMap_spec.rb +0 -0
- data/{test/test_CAMapping.rb → spec/Classes/CAMapping_spec.rb} +35 -36
- data/spec/Classes/CAObject_attribute_spec.rb +33 -0
- data/spec/Classes/CAObject_spec.rb +33 -0
- data/spec/Classes/CARefer_spec.rb +93 -0
- data/spec/Classes/CARepeat_spec.rb +65 -0
- data/spec/Classes/CASelect_spec.rb +22 -0
- data/spec/Classes/CAShift_spec.rb +16 -0
- data/spec/Classes/CAStruct_spec.rb +71 -0
- data/{test/test_CATranspose.rb → spec/Classes/CATranspose_spec.rb} +20 -21
- data/spec/Classes/CAUnboudRepeat_spec.rb +102 -0
- data/spec/Classes/CAWindow_spec.rb +54 -0
- data/spec/Classes/CAWrap_spec.rb +8 -0
- data/{test/test_CArray.rb → spec/Classes/CArray_spec.rb} +48 -92
- data/spec/Classes/CScalar_spec.rb +55 -0
- data/spec/Features/feature_130_spec.rb +19 -0
- data/spec/Features/feature_attributes_spec.rb +280 -0
- data/spec/Features/feature_boolean_spec.rb +98 -0
- data/spec/Features/feature_broadcast.rb +116 -0
- data/spec/Features/feature_cast_function.rb +19 -0
- data/spec/Features/feature_cast_spec.rb +33 -0
- data/spec/Features/feature_class_spec.rb +84 -0
- data/spec/Features/feature_complex_spec.rb +42 -0
- data/{test/test_composite.rb → spec/Features/feature_composite_spec.rb} +17 -18
- data/spec/Features/feature_convert_spec.rb +46 -0
- data/spec/Features/feature_copy_spec.rb +123 -0
- data/spec/Features/feature_creation_spec.rb +84 -0
- data/spec/Features/feature_element_spec.rb +144 -0
- data/spec/Features/feature_extream_spec.rb +54 -0
- data/spec/Features/feature_generate_spec.rb +74 -0
- data/spec/Features/feature_index_spec.rb +69 -0
- data/spec/Features/feature_mask_spec.rb +580 -0
- data/spec/Features/feature_math_spec.rb +97 -0
- data/spec/Features/feature_order_spec.rb +146 -0
- data/spec/Features/feature_ref_store_spec.rb +209 -0
- data/spec/Features/feature_serialization_spec.rb +125 -0
- data/spec/Features/feature_stat_spec.rb +397 -0
- data/spec/Features/feature_virtual_spec.rb +48 -0
- data/spec/Features/method_eq_spec.rb +81 -0
- data/spec/Features/method_is_nan_spec.rb +12 -0
- data/spec/Features/method_map_spec.rb +54 -0
- data/spec/Features/method_max_with.rb +20 -0
- data/spec/Features/method_min_with.rb +19 -0
- data/spec/Features/method_ne_spec.rb +18 -0
- data/spec/Features/method_project_spec.rb +188 -0
- data/spec/Features/method_ref_spec.rb +27 -0
- data/spec/Features/method_round_spec.rb +11 -0
- data/spec/Features/method_s_linspace_spec.rb +48 -0
- data/spec/Features/method_s_span_spec.rb +14 -0
- data/spec/Features/method_seq_spec.rb +47 -0
- data/spec/Features/method_sort_with.rb +43 -0
- data/spec/Features/method_sorted_with.rb +29 -0
- data/spec/Features/method_span_spec.rb +42 -0
- data/spec/Features/method_wrap_readonly_spec.rb +43 -0
- data/{test → spec/UnitTest}/test_CAVirtual.rb +0 -0
- data/spec/spec_all.rb +0 -1
- data/utils/convert_test.rb +73 -0
- data/utils/{extract_rdoc.rb → extract_yard.rb} +7 -12
- data/{devel → utils}/guess_shape.rb +0 -0
- data/utils/{diff_method.rb → monkey_patch_methods.rb} +17 -7
- metadata +173 -316
- data/COPYING +0 -56
- data/GPL +0 -340
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -33
- data/LEGAL +0 -50
- data/Makefile +0 -451
- data/TODO +0 -5
- data/carray_cast_func.c +0 -8670
- data/carray_config.h +0 -26
- data/carray_math.c +0 -24805
- data/carray_random.c +0 -531
- data/carray_stat_proc.c +0 -12170
- data/ext/calculus/carray_calculus.c +0 -931
- data/ext/calculus/carray_interp.c +0 -358
- data/ext/calculus/extconf.rb +0 -12
- data/ext/calculus/lib/autoload/autoload_math_calculus.rb +0 -2
- data/ext/calculus/lib/math/calculus.rb +0 -119
- data/ext/calculus/lib/math/interp/adapter_interp1d.rb +0 -31
- data/ext/fortio/extconf.rb +0 -3
- data/ext/fortio/lib/carray/autoload/autoload_fortran_format.rb +0 -5
- data/ext/fortio/lib/carray/io/fortran_format.rb +0 -43
- data/ext/fortio/lib/fortio.rb +0 -3
- data/ext/fortio/lib/fortio/fortran_format.rb +0 -605
- data/ext/fortio/lib/fortio/fortran_format.tab.rb +0 -536
- data/ext/fortio/lib/fortio/fortran_format.y +0 -215
- data/ext/fortio/lib/fortio/fortran_namelist.rb +0 -151
- data/ext/fortio/lib/fortio/fortran_namelist.tab.rb +0 -470
- data/ext/fortio/lib/fortio/fortran_namelist.y +0 -213
- data/ext/fortio/lib/fortio/fortran_sequential.rb +0 -345
- data/ext/fortio/ruby_fortio.c +0 -182
- data/ext/fortio/test/test_H.rb +0 -5
- data/ext/fortio/test/test_T.rb +0 -7
- data/ext/fortio/test/test_fortran_format.rb +0 -86
- data/ext/fortio/test/test_namelist.rb +0 -25
- data/ext/fortio/test/test_namelist_write.rb +0 -10
- data/ext/fortio/test/test_sequential.rb +0 -13
- data/ext/fortio/test/test_sequential2.rb +0 -13
- data/ext/fortio/work/test.rb +0 -10
- data/ext/fortio/work/test_e.rb +0 -19
- data/ext/fortio/work/test_ep.rb +0 -10
- data/ext/fortio/work/test_parse.rb +0 -12
- data/ext/imagemap/carray_imagemap.c +0 -495
- data/ext/imagemap/doc/call_graph.dot +0 -28
- data/ext/imagemap/draw.c +0 -567
- data/ext/imagemap/extconf.rb +0 -13
- data/ext/imagemap/lib/autoload/autoload_graphics_imagemap.rb +0 -1
- data/ext/imagemap/lib/graphics/imagemap.rb +0 -273
- data/ext/imagemap/lib/image_map.rb +0 -4
- data/ext/imagemap/test/swath_index.rb +0 -83
- data/ext/imagemap/test/swath_warp.rb +0 -99
- data/ext/imagemap/test/test.rb +0 -23
- data/ext/imagemap/test/test_image.rb +0 -42
- data/ext/imagemap/test/test_line.rb +0 -14
- data/ext/imagemap/test/test_rotate.rb +0 -17
- data/ext/imagemap/test/test_triangle.rb +0 -20
- data/ext/imagemap/test/test_warp.rb +0 -26
- data/ext/mathfunc/extconf.rb +0 -18
- data/ext/mathfunc/lib/autoload/autoload_math_mathfunc.rb +0 -1
- data/ext/mathfunc/lib/math/mathfunc.rb +0 -15
- data/ext/mathfunc/test/test_hypot.rb +0 -5
- data/ext/mathfunc/test/test_j0.rb +0 -22
- data/ext/mathfunc/test/test_jn.rb +0 -8
- data/ext/mathfunc/test/test_sph.rb +0 -9
- data/ext/narray/README +0 -22
- data/ext/narray/ca_wrap_narray.c +0 -500
- data/ext/narray/carray_narray.c +0 -21
- data/ext/narray/extconf.rb +0 -57
- data/ext/narray/lib/autoload/autoload_math_narray.rb +0 -1
- data/ext/narray/lib/autoload/autoload_math_narray_miss.rb +0 -11
- data/ext/narray/lib/math/narray.rb +0 -17
- data/ext/narray/lib/math/narray_miss.rb +0 -45
- data/lib/carray/autoload/autoload_graphics_gnuplot.rb +0 -2
- data/lib/carray/autoload/autoload_io_csv.rb +0 -14
- data/lib/carray/autoload/autoload_io_pg.rb +0 -6
- data/lib/carray/autoload/autoload_io_sqlite3.rb +0 -12
- data/lib/carray/autoload/autoload_io_table.rb +0 -1
- data/lib/carray/autoload/autoload_math_interp.rb +0 -4
- data/lib/carray/base/basic.rb +0 -1090
- data/lib/carray/base/obsolete.rb +0 -131
- data/lib/carray/graphics/gnuplot.rb +0 -2131
- data/lib/carray/graphics/zimg.rb +0 -296
- data/lib/carray/io/csv.rb +0 -572
- data/lib/carray/io/pg.rb +0 -101
- data/lib/carray/io/sqlite3.rb +0 -215
- data/lib/carray/math/interp.rb +0 -57
- data/lib/carray/math/interp/adapter_gsl_spline.rb +0 -47
- data/mkmf.log +0 -375
- data/mt19937ar.c +0 -182
- data/mt19937ar.h +0 -86
- data/rdoc_ext.rb +0 -1115
- data/rdoc_main.rb +0 -27
- data/rdoc_math.rb +0 -5
- data/rdoc_stat.rb +0 -31
- data/spec/CABlockIterator/CABlockIterator_spec.rb +0 -113
- data/spec/CArray/bug/store_spec.rb +0 -27
- data/spec/CArray/index/repeat_spec.rb +0 -10
- data/spec/CArray/method/eq_spec.rb +0 -80
- data/spec/CArray/method/is_nan_spec.rb +0 -12
- data/spec/CArray/method/ne_spec.rb +0 -18
- data/spec/CArray/method/round_spec.rb +0 -11
- data/spec/CArray/object/_attribute_spec.rb +0 -32
- data/spec/CArray/object/s_new_spec.rb +0 -31
- data/spec/CArray/serialize/Serialization_spec.rb +0 -89
- data/test/test_130.rb +0 -23
- data/test/test_ALL.rb +0 -51
- data/test/test_CABitfield.rb +0 -59
- data/test/test_CABlock.rb +0 -208
- data/test/test_CAField.rb +0 -40
- data/test/test_CAGrid.rb +0 -76
- data/test/test_CAMmap.rb +0 -11
- data/test/test_CARefer.rb +0 -94
- data/test/test_CARepeat.rb +0 -66
- data/test/test_CASelect.rb +0 -23
- data/test/test_CAShift.rb +0 -17
- data/test/test_CAWindow.rb +0 -55
- data/test/test_CAWrap.rb +0 -9
- data/test/test_CComplex.rb +0 -83
- data/test/test_CScalar.rb +0 -91
- data/test/test_attribute.rb +0 -281
- data/test/test_block_iterator.rb +0 -17
- data/test/test_boolean.rb +0 -99
- data/test/test_cast.rb +0 -33
- data/test/test_class.rb +0 -85
- data/test/test_complex.rb +0 -43
- data/test/test_convert.rb +0 -79
- data/test/test_copy.rb +0 -141
- data/test/test_creation.rb +0 -85
- data/test/test_element.rb +0 -146
- data/test/test_extream.rb +0 -55
- data/test/test_generate.rb +0 -75
- data/test/test_index.rb +0 -71
- data/test/test_mask.rb +0 -578
- data/test/test_math.rb +0 -98
- data/test/test_narray.rb +0 -64
- data/test/test_order.rb +0 -147
- data/test/test_random.rb +0 -15
- data/test/test_ref_store.rb +0 -211
- data/test/test_stat.rb +0 -414
- data/test/test_struct.rb +0 -72
- data/test/test_virtual.rb +0 -49
- data/utils/create_rdoc.sh +0 -9
- data/utils/make_tgz.sh +0 -3
- data/version.h +0 -18
data/Makefile
DELETED
@@ -1,451 +0,0 @@
|
|
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
|
data/TODO
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
- CArray#section should treat mask (-> currently CArray#bin uses inherit_mask)
|
2
|
-
- CArray#differentiate should treat mask
|
3
|
-
* CArray#search should permit a CArray argument (use lfind ?)
|
4
|
-
* append API ca_get_range(vrange, size, *first, *last)
|
5
|
-
* ca_cast_self_or_other should treat NArray directly
|