equationoftime 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -3
  3. data/Gemfile.lock +48 -0
  4. data/README.md +22 -19
  5. data/Rakefile +14 -7
  6. data/equationoftime.gemspec +9 -6
  7. data/ext/ceot/ceot.c +52 -0
  8. data/ext/ceot/eot.c +79 -0
  9. data/ext/ceot/eot.h +8 -0
  10. data/ext/ceot/extconf.rb +5 -0
  11. data/lib/eot.rb +2 -1
  12. data/lib/eot/angles.rb +44 -43
  13. data/lib/eot/init.rb +13 -6
  14. data/lib/eot/version.rb +1 -1
  15. data/wiki.md +6 -7
  16. metadata +26 -255
  17. data/.settings/org.eclipse.ltk.core.refactoring.prefs +0 -2
  18. data/Makefile +0 -238
  19. data/analemma_data.yml +0 -2925
  20. data/examples/Equation_of_Time.jpg +0 -0
  21. data/examples/analemma_data_generator.rb +0 -53
  22. data/examples/celes_parts/.RUBYARCHDIR.time +0 -0
  23. data/examples/celes_parts/.cproject +0 -56
  24. data/examples/celes_parts/.project +0 -78
  25. data/examples/celes_parts/a2af.c +0 -120
  26. data/examples/celes_parts/a2tf.c +0 -116
  27. data/examples/celes_parts/af2a.c +0 -107
  28. data/examples/celes_parts/anp.c +0 -82
  29. data/examples/celes_parts/anpm.c +0 -82
  30. data/examples/celes_parts/bi00.c +0 -116
  31. data/examples/celes_parts/bp00.c +0 -173
  32. data/examples/celes_parts/bp06.c +0 -136
  33. data/examples/celes_parts/bpn2xy.c +0 -100
  34. data/examples/celes_parts/c2i00a.c +0 -139
  35. data/examples/celes_parts/c2i00b.c +0 -139
  36. data/examples/celes_parts/c2i06a.c +0 -136
  37. data/examples/celes_parts/c2ibpn.c +0 -142
  38. data/examples/celes_parts/c2ixy.c +0 -131
  39. data/examples/celes_parts/c2ixys.c +0 -123
  40. data/examples/celes_parts/c2s.c +0 -96
  41. data/examples/celes_parts/c2t00a.c +0 -154
  42. data/examples/celes_parts/c2t00b.c +0 -150
  43. data/examples/celes_parts/c2t06a.c +0 -152
  44. data/examples/celes_parts/c2tcio.c +0 -122
  45. data/examples/celes_parts/c2teqx.c +0 -122
  46. data/examples/celes_parts/c2tpe.c +0 -167
  47. data/examples/celes_parts/c2txy.c +0 -159
  48. data/examples/celes_parts/cal2jd.c +0 -139
  49. data/examples/celes_parts/celes_core.c +0 -2522
  50. data/examples/celes_parts/cp.c +0 -80
  51. data/examples/celes_parts/cpv.c +0 -82
  52. data/examples/celes_parts/cr.c +0 -83
  53. data/examples/celes_parts/d2dtf.c +0 -206
  54. data/examples/celes_parts/d2tf.c +0 -160
  55. data/examples/celes_parts/dat.c +0 -289
  56. data/examples/celes_parts/depend +0 -25
  57. data/examples/celes_parts/dtdb.c +0 -1213
  58. data/examples/celes_parts/dtf2d.c +0 -196
  59. data/examples/celes_parts/ee00.c +0 -128
  60. data/examples/celes_parts/ee00a.c +0 -135
  61. data/examples/celes_parts/ee00b.c +0 -141
  62. data/examples/celes_parts/ee06a.c +0 -122
  63. data/examples/celes_parts/eect00.c +0 -282
  64. data/examples/celes_parts/eform.c +0 -147
  65. data/examples/celes_parts/eo06a.c +0 -131
  66. data/examples/celes_parts/eors.c +0 -108
  67. data/examples/celes_parts/epb.c +0 -96
  68. data/examples/celes_parts/epb2jd.c +0 -91
  69. data/examples/celes_parts/epj.c +0 -93
  70. data/examples/celes_parts/epj2jd.c +0 -91
  71. data/examples/celes_parts/epv00.c +0 -2589
  72. data/examples/celes_parts/eqeq94.c +0 -131
  73. data/examples/celes_parts/era00.c +0 -136
  74. data/examples/celes_parts/extconf.rb +0 -4
  75. data/examples/celes_parts/fad03.c +0 -103
  76. data/examples/celes_parts/fae03.c +0 -102
  77. data/examples/celes_parts/faf03.c +0 -106
  78. data/examples/celes_parts/faju03.c +0 -102
  79. data/examples/celes_parts/fal03.c +0 -103
  80. data/examples/celes_parts/falp03.c +0 -103
  81. data/examples/celes_parts/fama03.c +0 -102
  82. data/examples/celes_parts/fame03.c +0 -102
  83. data/examples/celes_parts/fane03.c +0 -99
  84. data/examples/celes_parts/faom03.c +0 -104
  85. data/examples/celes_parts/fapa03.c +0 -103
  86. data/examples/celes_parts/fasa03.c +0 -102
  87. data/examples/celes_parts/faur03.c +0 -99
  88. data/examples/celes_parts/fave03.c +0 -102
  89. data/examples/celes_parts/fk52h.c +0 -143
  90. data/examples/celes_parts/fk5hip.c +0 -126
  91. data/examples/celes_parts/fk5hz.c +0 -160
  92. data/examples/celes_parts/fw2m.c +0 -134
  93. data/examples/celes_parts/fw2xy.c +0 -120
  94. data/examples/celes_parts/gc2gd.c +0 -134
  95. data/examples/celes_parts/gc2gde.c +0 -200
  96. data/examples/celes_parts/gd2gc.c +0 -134
  97. data/examples/celes_parts/gd2gce.c +0 -138
  98. data/examples/celes_parts/gmst00.c +0 -145
  99. data/examples/celes_parts/gmst06.c +0 -136
  100. data/examples/celes_parts/gmst82.c +0 -151
  101. data/examples/celes_parts/gst00a.c +0 -138
  102. data/examples/celes_parts/gst00b.c +0 -146
  103. data/examples/celes_parts/gst06.c +0 -140
  104. data/examples/celes_parts/gst06a.c +0 -131
  105. data/examples/celes_parts/gst94.c +0 -131
  106. data/examples/celes_parts/h2fk5.c +0 -148
  107. data/examples/celes_parts/hfk5z.c +0 -175
  108. data/examples/celes_parts/ir.c +0 -83
  109. data/examples/celes_parts/jd2cal.c +0 -155
  110. data/examples/celes_parts/jdcalf.c +0 -161
  111. data/examples/celes_parts/num00a.c +0 -121
  112. data/examples/celes_parts/num00b.c +0 -121
  113. data/examples/celes_parts/num06a.c +0 -125
  114. data/examples/celes_parts/numat.c +0 -109
  115. data/examples/celes_parts/nut00a.c +0 -2047
  116. data/examples/celes_parts/nut00b.c +0 -372
  117. data/examples/celes_parts/nut06a.c +0 -153
  118. data/examples/celes_parts/nut80.c +0 -325
  119. data/examples/celes_parts/nutm80.c +0 -117
  120. data/examples/celes_parts/obl06.c +0 -118
  121. data/examples/celes_parts/obl80.c +0 -118
  122. data/examples/celes_parts/p06e.c +0 -321
  123. data/examples/celes_parts/p2pv.c +0 -83
  124. data/examples/celes_parts/p2s.c +0 -91
  125. data/examples/celes_parts/pap.c +0 -139
  126. data/examples/celes_parts/pas.c +0 -96
  127. data/examples/celes_parts/pb06.c +0 -144
  128. data/examples/celes_parts/pdp.c +0 -84
  129. data/examples/celes_parts/pfw06.c +0 -165
  130. data/examples/celes_parts/plan94.c +0 -514
  131. data/examples/celes_parts/pm.c +0 -83
  132. data/examples/celes_parts/pmat00.c +0 -118
  133. data/examples/celes_parts/pmat06.c +0 -122
  134. data/examples/celes_parts/pmat76.c +0 -141
  135. data/examples/celes_parts/pmp.c +0 -85
  136. data/examples/celes_parts/pn.c +0 -109
  137. data/examples/celes_parts/pn00.c +0 -177
  138. data/examples/celes_parts/pn00a.c +0 -162
  139. data/examples/celes_parts/pn00b.c +0 -162
  140. data/examples/celes_parts/pn06.c +0 -187
  141. data/examples/celes_parts/pn06a.c +0 -152
  142. data/examples/celes_parts/pnm00a.c +0 -121
  143. data/examples/celes_parts/pnm00b.c +0 -121
  144. data/examples/celes_parts/pnm06a.c +0 -124
  145. data/examples/celes_parts/pnm80.c +0 -126
  146. data/examples/celes_parts/pom00.c +0 -115
  147. data/examples/celes_parts/ppp.c +0 -85
  148. data/examples/celes_parts/ppsp.c +0 -94
  149. data/examples/celes_parts/pr00.c +0 -142
  150. data/examples/celes_parts/prec76.c +0 -148
  151. data/examples/celes_parts/pv2p.c +0 -81
  152. data/examples/celes_parts/pv2s.c +0 -144
  153. data/examples/celes_parts/pvdpv.c +0 -102
  154. data/examples/celes_parts/pvm.c +0 -86
  155. data/examples/celes_parts/pvmpv.c +0 -87
  156. data/examples/celes_parts/pvppv.c +0 -87
  157. data/examples/celes_parts/pvstar.c +0 -207
  158. data/examples/celes_parts/pvu.c +0 -93
  159. data/examples/celes_parts/pvup.c +0 -88
  160. data/examples/celes_parts/pvxpv.c +0 -107
  161. data/examples/celes_parts/pxp.c +0 -94
  162. data/examples/celes_parts/rm2v.c +0 -111
  163. data/examples/celes_parts/rv2m.c +0 -118
  164. data/examples/celes_parts/rx.c +0 -110
  165. data/examples/celes_parts/rxp.c +0 -99
  166. data/examples/celes_parts/rxpv.c +0 -86
  167. data/examples/celes_parts/rxr.c +0 -99
  168. data/examples/celes_parts/ry.c +0 -110
  169. data/examples/celes_parts/rz.c +0 -110
  170. data/examples/celes_parts/s00.c +0 -371
  171. data/examples/celes_parts/s00a.c +0 -143
  172. data/examples/celes_parts/s00b.c +0 -143
  173. data/examples/celes_parts/s06.c +0 -368
  174. data/examples/celes_parts/s06a.c +0 -145
  175. data/examples/celes_parts/s2c.c +0 -85
  176. data/examples/celes_parts/s2p.c +0 -88
  177. data/examples/celes_parts/s2pv.c +0 -103
  178. data/examples/celes_parts/s2xpv.c +0 -87
  179. data/examples/celes_parts/sepp.c +0 -105
  180. data/examples/celes_parts/seps.c +0 -93
  181. data/examples/celes_parts/sofa.h +0 -379
  182. data/examples/celes_parts/sofam.h +0 -155
  183. data/examples/celes_parts/sp00.c +0 -118
  184. data/examples/celes_parts/starpm.c +0 -205
  185. data/examples/celes_parts/starpv.c +0 -264
  186. data/examples/celes_parts/sxp.c +0 -84
  187. data/examples/celes_parts/sxpv.c +0 -85
  188. data/examples/celes_parts/taitt.c +0 -110
  189. data/examples/celes_parts/taiut1.c +0 -112
  190. data/examples/celes_parts/taiutc.c +0 -182
  191. data/examples/celes_parts/tcbtdb.c +0 -132
  192. data/examples/celes_parts/tcgtt.c +0 -109
  193. data/examples/celes_parts/tdbtcb.c +0 -137
  194. data/examples/celes_parts/tdbtt.c +0 -122
  195. data/examples/celes_parts/test_celes.rb +0 -48
  196. data/examples/celes_parts/tf2a.c +0 -107
  197. data/examples/celes_parts/tf2d.c +0 -107
  198. data/examples/celes_parts/tr.c +0 -93
  199. data/examples/celes_parts/trxp.c +0 -93
  200. data/examples/celes_parts/trxpv.c +0 -93
  201. data/examples/celes_parts/tttai.c +0 -110
  202. data/examples/celes_parts/tttcg.c +0 -112
  203. data/examples/celes_parts/tttdb.c +0 -121
  204. data/examples/celes_parts/ttut1.c +0 -110
  205. data/examples/celes_parts/ut1tai.c +0 -111
  206. data/examples/celes_parts/ut1tt.c +0 -110
  207. data/examples/celes_parts/ut1utc.c +0 -193
  208. data/examples/celes_parts/utctai.c +0 -163
  209. data/examples/celes_parts/utcut1.c +0 -151
  210. data/examples/celes_parts/xy06.c +0 -2758
  211. data/examples/celes_parts/xys00a.c +0 -133
  212. data/examples/celes_parts/xys00b.c +0 -133
  213. data/examples/celes_parts/xys06a.c +0 -133
  214. data/examples/celes_parts/zp.c +0 -77
  215. data/examples/celes_parts/zpv.c +0 -79
  216. data/examples/celes_parts/zr.c +0 -83
  217. data/examples/check_date_type.rb +0 -55
  218. data/examples/compare_geoc_long_ra.rb +0 -39
  219. data/examples/data_table_for_astro_dog.rb +0 -40
  220. data/examples/earth_rotation.rb +0 -38
  221. data/examples/eot.c +0 -15
  222. data/examples/eot.h +0 -2
  223. data/examples/eot_methods_list.rb +0 -43
  224. data/examples/eot_plot.r +0 -57
  225. data/examples/eot_suntimes.rb +0 -144
  226. data/examples/equation_of_time.py +0 -186
  227. data/examples/extconf.rb +0 -2
  228. data/examples/figure_1.jpg +0 -0
  229. data/examples/file_converter.rb +0 -31
  230. data/examples/from_readme.rb +0 -10
  231. data/examples/geo_locator.rb +0 -12
  232. data/examples/getjd.rb +0 -45
  233. data/examples/gmst_gast_non_sofa.rb +0 -404
  234. data/examples/input_suntimes.rb +0 -21
  235. data/examples/julian_day_formula.rb +0 -29
  236. data/examples/julian_day_formula.txt +0 -12
  237. data/examples/my_time_conversion.rb +0 -21
  238. data/examples/nutation_series.txt +0 -678
  239. data/examples/nutation_series.yaml +0 -14239
  240. data/examples/nutation_table5_3a.txt +0 -682
  241. data/examples/nutation_table5_3a.yaml +0 -9532
  242. data/examples/ptime.rb +0 -162
  243. data/examples/rbeot.c +0 -24
  244. data/examples/suntimes.rb +0 -28
  245. data/examples/suntimes_test.rb +0 -47
  246. data/examples/test_eot.rb +0 -17
  247. data/examples/test_poly_eval.rb +0 -27
  248. data/examples/time_scales.rb +0 -26
  249. data/examples/times_year.rb +0 -50
  250. data/examples/usage_example.rb +0 -23
  251. data/examples/use_angles.rb +0 -219
  252. data/rise_set_data.yml +0 -1461
  253. data/tests/minitest/aliased_angles_spec.rb +0 -241
  254. data/tests/minitest/aliased_displays_spec.rb +0 -108
  255. data/tests/minitest/aliased_utilities_spec.rb +0 -38
  256. data/tests/minitest/angles_spec.rb +0 -266
  257. data/tests/minitest/constants_spec.rb +0 -21
  258. data/tests/minitest/delta_epsilon_spec.rb +0 -32
  259. data/tests/minitest/displays_spec.rb +0 -113
  260. data/tests/minitest/geo_spec.rb +0 -40
  261. data/tests/minitest/init_spec.rb +0 -46
  262. data/tests/minitest/nutation_spec.rb +0 -39
  263. data/tests/minitest/times_spec.rb +0 -139
  264. data/tests/minitest/utilities_spec.rb +0 -37
  265. data/tests/spec_config.rb +0 -3
data/lib/eot/init.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # init.rb
2
2
 
3
3
  require 'celes'
4
+
4
5
  require_relative 'geo_lat_lng_smt'
5
6
  require_relative 'times'
6
7
 
@@ -13,11 +14,15 @@ class Eot
13
14
 
14
15
  # From init.rb:<br>
15
16
  # Astronomical Julian Day Number is an instance of DateTime class.
16
- # When new Equation of Time class is initialized @ajd = DateTime.jd
17
+ # When new Equation of Time class is initialized
18
+ # @ajd = DateTime.now.to_time.utc.to_datetime.jd.to_f
17
19
  attr_accessor :ajd
18
20
 
19
- # Method for change of @ajd from the default so @ma will get set anew.
21
+ # Method for change of @ajd from the default so @ma and @ta will get set anew.
20
22
  # Calling ma_Sun method will set @ta so be sure to not set @ma directly.
23
+ # use this method for dates you want to get data for. EX: @ajd = Date.parse("YY-MM-DD").jd
24
+ # Generally use jd if you want suntimes and ajd if you want current times as ajd in
25
+ # DateTime class will include the dayfraction which is basically just the time.
21
26
  def ajd=(ajd)
22
27
  @ajd = ajd.to_f
23
28
  @ta = (( @ajd - DJ00 ) / DJC).to_f
@@ -32,12 +37,12 @@ class Eot
32
37
 
33
38
  # From init.rb:<br>
34
39
  # @date is an instance of DateTime class.
35
- # When new Eot class is initialized @date = now UTC
40
+ # When new Eot class is initialized @date = ajd_to_datetime(@ajd)
36
41
  attr_accessor :date
37
42
 
38
43
  # From init.rb:<br>
39
44
  # Julian Day Number is an instance of DateTime class.
40
- # When new Eot class is initialized @jd = DateTime.jd
45
+ # When new Eot class is initialized @jd = @ajd
41
46
  attr_accessor :jd
42
47
 
43
48
  # From init.rb:<br>
@@ -55,13 +60,15 @@ class Eot
55
60
  attr_accessor :longitude
56
61
 
57
62
  # From init.rb:<br>
58
- # Mean Anomaly gets called a lot so class attribute saves it.
63
+ # Mean Anomaly gets called a lot so class attribute saves it.
64
+ # @ma = Celes.falp03(@ta)
59
65
  attr_accessor :ma
60
66
 
61
67
 
62
68
  # From init.rb:<br>
63
69
  # JCT gets called a lot so class attribute it.
64
- # Setting @ajd or @ma will set this
70
+ # Setting @ajd will set this and @ma
71
+ # @ta = (( @ajd - DJ00 ) / DJC).to_f
65
72
  attr_accessor :ta
66
73
 
67
74
  # From init.rb:<br>
data/lib/eot/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  class Eot
5
5
  # From version.rb<br>
6
- VERSION = "4.0.0"
6
+ VERSION = "4.1.1"
7
7
  end
data/wiki.md CHANGED
@@ -13,7 +13,7 @@ Wiki 2:
13
13
 
14
14
  latitude, longitude, date = 41.9474, -88.74467, "2013-12-25"
15
15
  require 'eot';eot = Eot.new()
16
- eot.latitude = latitude; eot.longitude = longitude; eot.date = date
16
+ eot.latitude = latitude; eot.longitude = longitude; eot.ajd = Date.parse(date).jd
17
17
  eot.sunrise_dt().to_time
18
18
  eot.sunset_dt().to_time
19
19
 
@@ -22,23 +22,22 @@ Wiki 3:
22
22
  require 'eot';eot = Eot.new()
23
23
  loop do
24
24
  eot.ajd = DateTime.now.to_time.utc.to_datetime.ajd
25
- puts eot.string_time(eot.tl_Aries(eot.time_julian_century(eot.ajd)) / 15.0)
25
+ puts eot.string_time(eot.tl_Aries() / 15.0)
26
26
  sleep 0.73
27
27
  end
28
28
 
29
29
  Wiki 4:
30
30
 
31
- require 'eot';eot = Eot.new(); eot.factor
32
- "There are #{360 * eot.factor / 15.0} hours in a sidereal day."
31
+ require 'eot';eot = Eot.new()
32
+ "There are #{Eot::SM * 6} hours in a sidereal day."
33
33
  "That is why on the next day the stars are about 4 minutes earlier."
34
34
  obtime0 = Time.now
35
- obtime1 = obtime0 + 360 * eot.factor / 15.0 * 3600
35
+ obtime1 = obtime0 + Eot::SM * 6 * 3600
36
36
  "Now you know when to look next time."
37
37
 
38
38
  Wiki 5:
39
39
 
40
- require 'date'; DateTime.jd
41
- require 'eot'; eot = Eot.new(); eot.ajd = DateTime.jd.to_f
40
+ require 'eot'; eot = Eot.new(); eot.ajd = Date.today.jd.to_f
42
41
  DateTime.jd(eot.sunrise_jd + 0.5)
43
42
  DateTime.jd(eot.sunset_jd + 0.5)
44
43
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: equationoftime
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DouglasAllen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake-compiler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: minitest
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -122,12 +136,13 @@ dependencies:
122
136
  - - ">="
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
- description: "Calculate Sunrise and Sunset, GMST, and GAST for just about any date
126
- and location.\n\t Lots of examples to play with included."
139
+ description: "Calculate Sunrise and Sunset. Now uses native C wrappers.\n\t Lots
140
+ of examples to play with for learning."
127
141
  email:
128
142
  - kb9agt@gmail.com
129
143
  executables: []
130
- extensions: []
144
+ extensions:
145
+ - ext/ceot/extconf.rb
131
146
  extra_rdoc_files: []
132
147
  files:
133
148
  - ".buildpath"
@@ -135,248 +150,18 @@ files:
135
150
  - ".project"
136
151
  - ".rspec"
137
152
  - ".rvmrc"
138
- - ".settings/org.eclipse.ltk.core.refactoring.prefs"
139
153
  - Gemfile
154
+ - Gemfile.lock
140
155
  - LICENSE.md
141
156
  - LICENSE.txt
142
- - Makefile
143
157
  - README.md
144
158
  - README2.txt
145
159
  - Rakefile
146
- - analemma_data.yml
147
160
  - equationoftime.gemspec
148
- - examples/Equation_of_Time.jpg
149
- - examples/analemma_data_generator.rb
150
- - examples/celes_parts/.RUBYARCHDIR.time
151
- - examples/celes_parts/.cproject
152
- - examples/celes_parts/.project
153
- - examples/celes_parts/a2af.c
154
- - examples/celes_parts/a2tf.c
155
- - examples/celes_parts/af2a.c
156
- - examples/celes_parts/anp.c
157
- - examples/celes_parts/anpm.c
158
- - examples/celes_parts/bi00.c
159
- - examples/celes_parts/bp00.c
160
- - examples/celes_parts/bp06.c
161
- - examples/celes_parts/bpn2xy.c
162
- - examples/celes_parts/c2i00a.c
163
- - examples/celes_parts/c2i00b.c
164
- - examples/celes_parts/c2i06a.c
165
- - examples/celes_parts/c2ibpn.c
166
- - examples/celes_parts/c2ixy.c
167
- - examples/celes_parts/c2ixys.c
168
- - examples/celes_parts/c2s.c
169
- - examples/celes_parts/c2t00a.c
170
- - examples/celes_parts/c2t00b.c
171
- - examples/celes_parts/c2t06a.c
172
- - examples/celes_parts/c2tcio.c
173
- - examples/celes_parts/c2teqx.c
174
- - examples/celes_parts/c2tpe.c
175
- - examples/celes_parts/c2txy.c
176
- - examples/celes_parts/cal2jd.c
177
- - examples/celes_parts/celes_core.c
178
- - examples/celes_parts/cp.c
179
- - examples/celes_parts/cpv.c
180
- - examples/celes_parts/cr.c
181
- - examples/celes_parts/d2dtf.c
182
- - examples/celes_parts/d2tf.c
183
- - examples/celes_parts/dat.c
184
- - examples/celes_parts/depend
185
- - examples/celes_parts/dtdb.c
186
- - examples/celes_parts/dtf2d.c
187
- - examples/celes_parts/ee00.c
188
- - examples/celes_parts/ee00a.c
189
- - examples/celes_parts/ee00b.c
190
- - examples/celes_parts/ee06a.c
191
- - examples/celes_parts/eect00.c
192
- - examples/celes_parts/eform.c
193
- - examples/celes_parts/eo06a.c
194
- - examples/celes_parts/eors.c
195
- - examples/celes_parts/epb.c
196
- - examples/celes_parts/epb2jd.c
197
- - examples/celes_parts/epj.c
198
- - examples/celes_parts/epj2jd.c
199
- - examples/celes_parts/epv00.c
200
- - examples/celes_parts/eqeq94.c
201
- - examples/celes_parts/era00.c
202
- - examples/celes_parts/extconf.rb
203
- - examples/celes_parts/fad03.c
204
- - examples/celes_parts/fae03.c
205
- - examples/celes_parts/faf03.c
206
- - examples/celes_parts/faju03.c
207
- - examples/celes_parts/fal03.c
208
- - examples/celes_parts/falp03.c
209
- - examples/celes_parts/fama03.c
210
- - examples/celes_parts/fame03.c
211
- - examples/celes_parts/fane03.c
212
- - examples/celes_parts/faom03.c
213
- - examples/celes_parts/fapa03.c
214
- - examples/celes_parts/fasa03.c
215
- - examples/celes_parts/faur03.c
216
- - examples/celes_parts/fave03.c
217
- - examples/celes_parts/fk52h.c
218
- - examples/celes_parts/fk5hip.c
219
- - examples/celes_parts/fk5hz.c
220
- - examples/celes_parts/fw2m.c
221
- - examples/celes_parts/fw2xy.c
222
- - examples/celes_parts/gc2gd.c
223
- - examples/celes_parts/gc2gde.c
224
- - examples/celes_parts/gd2gc.c
225
- - examples/celes_parts/gd2gce.c
226
- - examples/celes_parts/gmst00.c
227
- - examples/celes_parts/gmst06.c
228
- - examples/celes_parts/gmst82.c
229
- - examples/celes_parts/gst00a.c
230
- - examples/celes_parts/gst00b.c
231
- - examples/celes_parts/gst06.c
232
- - examples/celes_parts/gst06a.c
233
- - examples/celes_parts/gst94.c
234
- - examples/celes_parts/h2fk5.c
235
- - examples/celes_parts/hfk5z.c
236
- - examples/celes_parts/ir.c
237
- - examples/celes_parts/jd2cal.c
238
- - examples/celes_parts/jdcalf.c
239
- - examples/celes_parts/num00a.c
240
- - examples/celes_parts/num00b.c
241
- - examples/celes_parts/num06a.c
242
- - examples/celes_parts/numat.c
243
- - examples/celes_parts/nut00a.c
244
- - examples/celes_parts/nut00b.c
245
- - examples/celes_parts/nut06a.c
246
- - examples/celes_parts/nut80.c
247
- - examples/celes_parts/nutm80.c
248
- - examples/celes_parts/obl06.c
249
- - examples/celes_parts/obl80.c
250
- - examples/celes_parts/p06e.c
251
- - examples/celes_parts/p2pv.c
252
- - examples/celes_parts/p2s.c
253
- - examples/celes_parts/pap.c
254
- - examples/celes_parts/pas.c
255
- - examples/celes_parts/pb06.c
256
- - examples/celes_parts/pdp.c
257
- - examples/celes_parts/pfw06.c
258
- - examples/celes_parts/plan94.c
259
- - examples/celes_parts/pm.c
260
- - examples/celes_parts/pmat00.c
261
- - examples/celes_parts/pmat06.c
262
- - examples/celes_parts/pmat76.c
263
- - examples/celes_parts/pmp.c
264
- - examples/celes_parts/pn.c
265
- - examples/celes_parts/pn00.c
266
- - examples/celes_parts/pn00a.c
267
- - examples/celes_parts/pn00b.c
268
- - examples/celes_parts/pn06.c
269
- - examples/celes_parts/pn06a.c
270
- - examples/celes_parts/pnm00a.c
271
- - examples/celes_parts/pnm00b.c
272
- - examples/celes_parts/pnm06a.c
273
- - examples/celes_parts/pnm80.c
274
- - examples/celes_parts/pom00.c
275
- - examples/celes_parts/ppp.c
276
- - examples/celes_parts/ppsp.c
277
- - examples/celes_parts/pr00.c
278
- - examples/celes_parts/prec76.c
279
- - examples/celes_parts/pv2p.c
280
- - examples/celes_parts/pv2s.c
281
- - examples/celes_parts/pvdpv.c
282
- - examples/celes_parts/pvm.c
283
- - examples/celes_parts/pvmpv.c
284
- - examples/celes_parts/pvppv.c
285
- - examples/celes_parts/pvstar.c
286
- - examples/celes_parts/pvu.c
287
- - examples/celes_parts/pvup.c
288
- - examples/celes_parts/pvxpv.c
289
- - examples/celes_parts/pxp.c
290
- - examples/celes_parts/rm2v.c
291
- - examples/celes_parts/rv2m.c
292
- - examples/celes_parts/rx.c
293
- - examples/celes_parts/rxp.c
294
- - examples/celes_parts/rxpv.c
295
- - examples/celes_parts/rxr.c
296
- - examples/celes_parts/ry.c
297
- - examples/celes_parts/rz.c
298
- - examples/celes_parts/s00.c
299
- - examples/celes_parts/s00a.c
300
- - examples/celes_parts/s00b.c
301
- - examples/celes_parts/s06.c
302
- - examples/celes_parts/s06a.c
303
- - examples/celes_parts/s2c.c
304
- - examples/celes_parts/s2p.c
305
- - examples/celes_parts/s2pv.c
306
- - examples/celes_parts/s2xpv.c
307
- - examples/celes_parts/sepp.c
308
- - examples/celes_parts/seps.c
309
- - examples/celes_parts/sofa.h
310
- - examples/celes_parts/sofam.h
311
- - examples/celes_parts/sp00.c
312
- - examples/celes_parts/starpm.c
313
- - examples/celes_parts/starpv.c
314
- - examples/celes_parts/sxp.c
315
- - examples/celes_parts/sxpv.c
316
- - examples/celes_parts/taitt.c
317
- - examples/celes_parts/taiut1.c
318
- - examples/celes_parts/taiutc.c
319
- - examples/celes_parts/tcbtdb.c
320
- - examples/celes_parts/tcgtt.c
321
- - examples/celes_parts/tdbtcb.c
322
- - examples/celes_parts/tdbtt.c
323
- - examples/celes_parts/test_celes.rb
324
- - examples/celes_parts/tf2a.c
325
- - examples/celes_parts/tf2d.c
326
- - examples/celes_parts/tr.c
327
- - examples/celes_parts/trxp.c
328
- - examples/celes_parts/trxpv.c
329
- - examples/celes_parts/tttai.c
330
- - examples/celes_parts/tttcg.c
331
- - examples/celes_parts/tttdb.c
332
- - examples/celes_parts/ttut1.c
333
- - examples/celes_parts/ut1tai.c
334
- - examples/celes_parts/ut1tt.c
335
- - examples/celes_parts/ut1utc.c
336
- - examples/celes_parts/utctai.c
337
- - examples/celes_parts/utcut1.c
338
- - examples/celes_parts/xy06.c
339
- - examples/celes_parts/xys00a.c
340
- - examples/celes_parts/xys00b.c
341
- - examples/celes_parts/xys06a.c
342
- - examples/celes_parts/zp.c
343
- - examples/celes_parts/zpv.c
344
- - examples/celes_parts/zr.c
345
- - examples/check_date_type.rb
346
- - examples/compare_geoc_long_ra.rb
347
- - examples/data_table_for_astro_dog.rb
348
- - examples/earth_rotation.rb
349
- - examples/eot.c
350
- - examples/eot.h
351
- - examples/eot_methods_list.rb
352
- - examples/eot_plot.r
353
- - examples/eot_suntimes.rb
354
- - examples/equation_of_time.py
355
- - examples/extconf.rb
356
- - examples/figure_1.jpg
357
- - examples/file_converter.rb
358
- - examples/from_readme.rb
359
- - examples/geo_locator.rb
360
- - examples/getjd.rb
361
- - examples/gmst_gast_non_sofa.rb
362
- - examples/input_suntimes.rb
363
- - examples/julian_day_formula.rb
364
- - examples/julian_day_formula.txt
365
- - examples/my_time_conversion.rb
366
- - examples/nutation_series.txt
367
- - examples/nutation_series.yaml
368
- - examples/nutation_table5_3a.txt
369
- - examples/nutation_table5_3a.yaml
370
- - examples/ptime.rb
371
- - examples/rbeot.c
372
- - examples/suntimes.rb
373
- - examples/suntimes_test.rb
374
- - examples/test_eot.rb
375
- - examples/test_poly_eval.rb
376
- - examples/time_scales.rb
377
- - examples/times_year.rb
378
- - examples/usage_example.rb
379
- - examples/use_angles.rb
161
+ - ext/ceot/ceot.c
162
+ - ext/ceot/eot.c
163
+ - ext/ceot/eot.h
164
+ - ext/ceot/extconf.rb
380
165
  - lib/eot.rb
381
166
  - lib/eot/angles.rb
382
167
  - lib/eot/constants.rb
@@ -387,24 +172,10 @@ files:
387
172
  - lib/eot/times.rb
388
173
  - lib/eot/utilities.rb
389
174
  - lib/eot/version.rb
390
- - rise_set_data.yml
391
175
  - run_tests_eclipse.rb
392
- - tests/minitest/aliased_angles_spec.rb
393
- - tests/minitest/aliased_displays_spec.rb
394
- - tests/minitest/aliased_utilities_spec.rb
395
- - tests/minitest/angles_spec.rb
396
- - tests/minitest/constants_spec.rb
397
- - tests/minitest/delta_epsilon_spec.rb
398
- - tests/minitest/displays_spec.rb
399
- - tests/minitest/geo_spec.rb
400
- - tests/minitest/init_spec.rb
401
- - tests/minitest/nutation_spec.rb
402
- - tests/minitest/times_spec.rb
403
- - tests/minitest/utilities_spec.rb
404
- - tests/spec_config.rb
405
176
  - wiki.md
406
177
  - wiki2.md
407
- homepage: http://equationoftime.herokuapp.com
178
+ homepage: https://github.com/DouglasAllen/equationoftime
408
179
  licenses:
409
180
  - MIT
410
181
  metadata: {}
@@ -1,2 +0,0 @@
1
- eclipse.preferences.version=1
2
- org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
data/Makefile DELETED
@@ -1,238 +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
-
11
- #### Start of system configuration section. ####
12
-
13
- srcdir = /home/kb9agt/workspace/equationoftime/examples/celes_parts
14
- topdir = /home/kb9agt/.rvm/rubies/ruby-2.1.2/include/ruby-2.1.0
15
- hdrdir = $(topdir)
16
- arch_hdrdir = /home/kb9agt/.rvm/rubies/ruby-2.1.2/include/ruby-2.1.0/i686-linux
17
- PATH_SEPARATOR = :
18
- VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
19
- prefix = $(DESTDIR)/home/kb9agt/.rvm/rubies/ruby-2.1.2
20
- rubysitearchprefix = $(rubylibprefix)/$(sitearch)
21
- rubyarchprefix = $(rubylibprefix)/$(arch)
22
- rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
23
- exec_prefix = $(prefix)
24
- vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
25
- sitearchhdrdir = $(sitehdrdir)/$(sitearch)
26
- rubyarchhdrdir = $(rubyhdrdir)/$(arch)
27
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
28
- sitehdrdir = $(rubyhdrdir)/site_ruby
29
- rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
30
- vendorarchdir = $(vendorlibdir)/$(sitearch)
31
- vendorlibdir = $(vendordir)/$(ruby_version)
32
- vendordir = $(rubylibprefix)/vendor_ruby
33
- sitearchdir = $(sitelibdir)/$(sitearch)
34
- sitelibdir = $(sitedir)/$(ruby_version)
35
- sitedir = $(rubylibprefix)/site_ruby
36
- rubyarchdir = $(rubylibdir)/$(arch)
37
- rubylibdir = $(rubylibprefix)/$(ruby_version)
38
- sitearchincludedir = $(includedir)/$(sitearch)
39
- archincludedir = $(includedir)/$(arch)
40
- sitearchlibdir = $(libdir)/$(sitearch)
41
- archlibdir = $(libdir)/$(arch)
42
- ridir = $(datarootdir)/$(RI_BASE_NAME)
43
- mandir = $(datarootdir)/man
44
- localedir = $(datarootdir)/locale
45
- libdir = $(exec_prefix)/lib
46
- psdir = $(docdir)
47
- pdfdir = $(docdir)
48
- dvidir = $(docdir)
49
- htmldir = $(docdir)
50
- infodir = $(datarootdir)/info
51
- docdir = $(datarootdir)/doc/$(PACKAGE)
52
- oldincludedir = $(DESTDIR)/usr/include
53
- includedir = $(prefix)/include
54
- localstatedir = $(prefix)/var
55
- sharedstatedir = $(prefix)/com
56
- sysconfdir = $(prefix)/etc
57
- datadir = $(datarootdir)
58
- datarootdir = $(prefix)/share
59
- libexecdir = $(exec_prefix)/libexec
60
- sbindir = $(exec_prefix)/sbin
61
- bindir = $(exec_prefix)/bin
62
- archdir = $(rubyarchdir)
63
-
64
-
65
- CC = gcc
66
- CXX = g++
67
- LIBRUBY = $(LIBRUBY_SO)
68
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
69
- LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
70
- LIBRUBYARG_STATIC = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
71
- empty =
72
- OUTFLAG = -o $(empty)
73
- COUTFLAG = -o $(empty)
74
-
75
- RUBY_EXTCONF_H =
76
- cflags = $(optflags) $(debugflags) $(warnflags)
77
- optflags = -O3 -fno-fast-math
78
- debugflags = -ggdb3
79
- warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration
80
- CCDLFLAGS = -fPIC
81
- CFLAGS = $(CCDLFLAGS) $(cflags) -fPIC $(ARCH_FLAG)
82
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
83
- DEFS = -D_FILE_OFFSET_BITS=64
84
- CPPFLAGS = $(DEFS) $(cppflags)
85
- CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
86
- ldflags = -L. -fstack-protector -rdynamic -Wl,-export-dynamic
87
- dldflags =
88
- ARCH_FLAG =
89
- DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
90
- LDSHARED = $(CC) -shared
91
- LDSHAREDXX = $(CXX) -shared
92
- AR = ar
93
- EXEEXT =
94
-
95
- RUBY_INSTALL_NAME = ruby
96
- RUBY_SO_NAME = ruby
97
- RUBYW_INSTALL_NAME =
98
- RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
99
- RUBYW_BASE_NAME = rubyw
100
- RUBY_BASE_NAME = ruby
101
-
102
- arch = i686-linux
103
- sitearch = $(arch)
104
- ruby_version = 2.1.0
105
- ruby = $(bindir)/ruby
106
- RUBY = $(ruby)
107
- ruby_headers = $(hdrdir)/ruby.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
108
-
109
- RM = rm -f
110
- RM_RF = $(RUBY) -run -e rm -- -rf
111
- RMDIRS = rmdir --ignore-fail-on-non-empty -p
112
- MAKEDIRS = /bin/mkdir -p
113
- INSTALL = /usr/bin/install -c
114
- INSTALL_PROG = $(INSTALL) -m 0755
115
- INSTALL_DATA = $(INSTALL) -m 644
116
- COPY = cp
117
- TOUCH = exit >
118
-
119
- #### End of system configuration section. ####
120
-
121
- preload =
122
-
123
- libpath = . $(libdir)
124
- LIBPATH = -L. -L$(libdir) -Wl,-R$(libdir)
125
- DEFFILE =
126
-
127
- CLEANFILES = mkmf.log
128
- DISTCLEANFILES =
129
- DISTCLEANDIRS =
130
-
131
- extout =
132
- extout_prefix =
133
- target_prefix =
134
- LOCAL_LIBS =
135
- LIBS = $(LIBRUBYARG_SHARED) -lpthread -lrt -ldl -lcrypt -lm -lc
136
- ORIG_SRCS = faur03.c fapa03.c celes_core.c falp03.c nut00b.c gst06.c gmst06.c faju03.c ee00a.c obl06.c nut06a.c obl80.c fae03.c pr00.c fad03.c cal2jd.c ee06a.c pfw06.c ee00b.c s06.c eors.c fw2m.c era00.c rz.c ee00.c ir.c nut00a.c fasa03.c fal03.c bpn2xy.c rx.c eect00.c faf03.c anpm.c fave03.c pnm06a.c anp.c fame03.c fama03.c gst06a.c faom03.c
137
- SRCS = $(ORIG_SRCS)
138
- OBJS = faur03.o fapa03.o celes_core.o falp03.o nut00b.o gst06.o gmst06.o faju03.o ee00a.o obl06.o nut06a.o obl80.o fae03.o pr00.o fad03.o cal2jd.o ee06a.o pfw06.o ee00b.o s06.o eors.o fw2m.o era00.o rz.o ee00.o ir.o nut00a.o fasa03.o fal03.o bpn2xy.o rx.o eect00.o faf03.o anpm.o fave03.o pnm06a.o anp.o fame03.o fama03.o gst06a.o faom03.o
139
- HDRS = $(srcdir)/sofam.h $(srcdir)/sofa.h
140
- TARGET = celes_core
141
- TARGET_NAME = celes_core
142
- TARGET_ENTRY = Init_$(TARGET_NAME)
143
- DLLIB = $(TARGET).so
144
- EXTSTATIC =
145
- STATIC_LIB =
146
-
147
- TIMESTAMP_DIR = .
148
- BINDIR = $(bindir)
149
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
150
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
151
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
152
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
153
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
154
-
155
- TARGET_SO = $(DLLIB)
156
- CLEANLIBS = $(TARGET).so
157
- CLEANOBJS = *.o *.bak
158
-
159
- all: $(DLLIB)
160
- static: $(STATIC_LIB)
161
- .PHONY: all install static install-so install-rb
162
- .PHONY: clean clean-so clean-static clean-rb
163
-
164
- clean-static::
165
- clean-rb-default::
166
- clean-rb::
167
- clean-so::
168
- clean: clean-so clean-static clean-rb-default clean-rb
169
- -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
170
-
171
- distclean-rb-default::
172
- distclean-rb::
173
- distclean-so::
174
- distclean-static::
175
- distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
176
- -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
177
- -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
178
- -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
179
-
180
- realclean: distclean
181
- install: install-so install-rb
182
-
183
- install-so: $(DLLIB) $(TIMESTAMP_DIR)/.RUBYARCHDIR.time
184
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
185
- clean-static::
186
- -$(Q)$(RM) $(STATIC_LIB)
187
- install-rb: pre-install-rb install-rb-default
188
- install-rb-default: pre-install-rb-default
189
- pre-install-rb: Makefile
190
- pre-install-rb-default: Makefile
191
- pre-install-rb-default:
192
- $(ECHO) installing default celes_core libraries
193
- $(TIMESTAMP_DIR)/.RUBYARCHDIR.time:
194
- $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
195
- $(Q) $(TOUCH) $@
196
-
197
- site-install: site-install-so site-install-rb
198
- site-install-so: install-so
199
- site-install-rb: install-rb
200
-
201
- .SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
202
-
203
- .cc.o:
204
- $(ECHO) compiling $(<)
205
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
206
-
207
- .mm.o:
208
- $(ECHO) compiling $(<)
209
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
210
-
211
- .cxx.o:
212
- $(ECHO) compiling $(<)
213
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
214
-
215
- .cpp.o:
216
- $(ECHO) compiling $(<)
217
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
218
-
219
- .C.o:
220
- $(ECHO) compiling $(<)
221
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
222
-
223
- .c.o:
224
- $(ECHO) compiling $(<)
225
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
226
-
227
- .m.o:
228
- $(ECHO) compiling $(<)
229
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
230
-
231
- $(DLLIB): $(OBJS) Makefile
232
- $(ECHO) linking shared-object $(DLLIB)
233
- -$(Q)$(RM) $(@)
234
- $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
235
-
236
-
237
-
238
- $(OBJS): $(HDRS) $(ruby_headers)