Commit 28910255 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

sync iemmatrix with Pd-l2ork (must have missed a commit awhile back)

parent 24e5fc0f
#N canvas 441 152 835 656 10;
#X obj 264 225 inlet mtx2;
#X obj 167 393 outlet mtx;
#X obj 182 216 inlet mtx1;
#X obj 167 364 mtx_+;
#X obj 67 33 inlet alpha beta;
#X obj 67 53 t l f;
#X obj 67 113 pack;
#X msg 94 72 1 \$1;
#X obj 94 92 -;
#X obj 67 133 unpack;
#X obj 67 153 t b b f;
#X obj 167 284 mtx_.* 1;
#X obj 264 284 mtx_.* 0;
#X obj 264 245 mtx;
#X obj 167 244 mtx;
#X connect 0 0 13 0;
#X connect 2 0 14 1;
#X connect 3 0 1 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 5 1 7 0;
#X connect 6 0 9 0;
#X connect 7 0 8 0;
#X connect 8 0 6 1;
#X connect 9 0 10 0;
#X connect 9 1 12 1;
#X connect 10 0 14 0;
#X connect 10 1 13 0;
#X connect 10 2 11 1;
#X connect 11 0 3 0;
#X connect 12 0 3 1;
#X connect 13 0 12 0;
#X connect 14 0 11 0;
#N canvas 259 0 1021 852 10;
#N canvas 0 0 450 300 (subpatch) 0;
#X array j0 100 float 1;
#A 0 0.997502 0.97014 0.913773 0.830957 0.725435 0.601943 0.465978
0.323516 0.180722 0.0436431 -0.0820875 -0.191518 -0.28061 -0.346423
-0.387235 -0.402599 -0.393338 -0.361468 -0.310062 -0.243063 -0.165057
-0.0810107 0.0039997 0.0850601 0.157677 0.218004 0.263034 0.29073 0.300115
0.291286 0.265378 0.224473 0.171447 0.109792 0.0433946 -0.0236951 -0.0874986
-0.144338 -0.191038 -0.225099 -0.244825 -0.249399 -0.238918 -0.214359
-0.177505 -0.130826 -0.0773149 -0.0203052 0.0367329 0.0903996 0.137563
0.175537 0.202236 0.21628 0.217067 0.204793 0.180429 0.145645 0.102705
0.0543173 0.00347017 -0.0467506 -0.0933476 -0.133587 -0.165158 -0.186302
-0.195911 -0.193583 -0.179634 -0.155072 -0.121522 -0.0811275 -0.0364084
0.00989075 0.0549676 0.0961309 0.13096 0.157444 0.174101 0.180053 0.175079
0.159613 0.134714 0.101994 0.0635146 0.0216587 -0.021016 -0.0619319
-0.0986478 -0.129001 -0.151236 -0.164104 -0.166933 -0.159661 -0.142834
-0.117567 -0.0854704 -0.0485473 -0.00907192 0.0305518;
#X coords 0 1 99 -1 200 140 1;
#X restore 69 219 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array y0 100 float 1;
#A 0 -1.53424 -0.706535 -0.316354 -0.0479056 0.153451 0.305045 0.413856
0.483524 0.516846 0.516798 0.486968 0.431677 0.355938 0.265312 0.16569
0.0630412 -0.036854 -0.128667 -0.207761 -0.270399 -0.313897 -0.336727
-0.338555 -0.320213 -0.283621 -0.23164 -0.167886 -0.0965075 -0.0219386
0.0513577 0.11914 0.177618 0.223658 0.254939 0.270062 0.268605 0.251123
0.219089 0.174787 0.121159 0.0616173 -0.00015986 -0.0604533 -0.115717
-0.162784 -0.199038 -0.222562 -0.232229 -0.227755 -0.2097 -0.179415
-0.13895 -0.0909182 -0.0383317 0.0155827 0.0675785 0.114582 0.153871
0.183229 0.201069 0.206518 0.199455 0.180506 0.150997 0.112863 0.0685233
0.0207323 -0.0275922 -0.0735441 -0.114401 -0.147784 -0.171796 -0.185126
-0.187123 -0.17782 -0.157927 -0.128781 -0.0922546 -0.0506369 -0.00649494
0.0374861 0.0786639 0.114597 0.143188 0.162805 0.172375 0.171439 0.160176
0.139381 0.110414 0.0751093 0.0356625 -0.00550591 -0.0458994 -0.0830937
-0.114883 -0.139409 -0.15527 -0.161599 -0.158113;
#X coords 0 1 99 -1 200 140 1;
#X restore 273 218 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array j1 100 float 1;
#A 0 0.0499375 0.170855 0.284007 0.384293 0.467263 0.529337 0.567981
0.581831 0.57075 0.535821 0.479285 0.404403 0.315285 0.216661 0.113629
0.0113882 -0.0850341 -0.17104 -0.242693 -0.296908 -0.331599 -0.345764
-0.339517 -0.314054 -0.27156 -0.215075 -0.148301 -0.0753895 -0.000698991
0.0714468 0.136998 0.192396 0.23476 0.26203 0.273066 0.267685 0.246652
0.211613 0.16498 0.109778 0.0494529 -0.0123297 -0.0719058 -0.125822
-0.171029 -0.205057 -0.226139 -0.233304 -0.226418 -0.206175 -0.174041
-0.132152 -0.0831818 -0.0301694 0.0236621 0.0750988 0.121125 0.159097
0.186895 0.203035 0.20675 0.198023 0.177574 0.146811 0.10773 0.0627931
0.0147728 -0.0334153 -0.0788895 -0.11897 -0.151337 -0.174164 -0.186216
-0.186921 -0.17639 -0.155404 -0.125358 -0.0881697 -0.04616 -0.00190804
0.0419047 0.0826564 0.11794 0.145705 0.164375 0.172936 0.170994 0.158785
0.137159 0.107522 0.071742 0.0320373 -0.00916389 -0.0493701 -0.0861753
-0.117403 -0.141234 -0.156312 -0.16182 -0.157524;
#X coords 0 1 99 -1 200 140 1;
#X restore 69 379 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array y1 100 float 1;
#A 0 -6.45895 -2.01607 -1.2716 -0.933446 -0.70804 -0.524255 -0.359463
-0.206701 -0.0652003 0.0631702 0.175545 0.268943 0.3408 0.389308 0.41362
0.413955 0.391621 0.348954 0.289206 0.216367 0.134951 0.0497571 -0.0343875
-0.112881 -0.181583 -0.237028 -0.276587 -0.298594 -0.302412 -0.288437
-0.25805 -0.21352 -0.15785 -0.0945889 -0.0276251 0.0390485 0.101559
0.156374 0.200491 0.231602 0.248208 0.249686 0.236306 0.209202 0.170279
0.122094 0.0676932 0.0104206 -0.0462769 -0.0990562 -0.14487 -0.181138
-0.205894 -0.217885 -0.216636 -0.202462 -0.176436 -0.140314 -0.0964208
-0.0475021 0.0034438 0.0533467 0.0992479 0.138472 0.168784 0.18851
0.196633 0.192841 0.177537 0.151802 0.117325 0.0762916 0.0312488 -0.0150529
-0.059824 -0.100404 -0.134416 -0.15991 -0.175465 -0.180277 -0.174191
-0.157707 -0.13194 -0.0985494 -0.0596289 -0.0175798 0.0250376 0.0656576
0.101865 0.131534 0.152955 0.164934 0.166852 0.158704 0.141085 0.115156
0.082562 0.045331 0.00574966 -0.0337779;
#X coords 0 1 99 -1 200 140 1;
#X restore 273 378 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array j2 100 float 1;
#A 0 0.00124896 0.0148923 0.0427945 0.0832583 0.133814 0.191362 0.252344
0.312952 0.369341 0.417851 0.455214 0.478744 0.486488 0.477347 0.451132
0.408587 0.351351 0.281865 0.203248 0.119123 0.0334192 -0.0498381 -0.12675
-0.193753 -0.247811 -0.286581 -0.308529 -0.313014 -0.300314 -0.271604
-0.22888 -0.174848 -0.112764 -0.0462525 0.0208965 0.0849392 0.14238
0.190164 0.225836 0.247666 0.254739 0.246987 0.225182 0.190878 0.146306
0.0942431 0.0378405 -0.0195609 -0.0746231 -0.124204 -0.165532 -0.196362
-0.215094 -0.220856 -0.213544 -0.193813 -0.163034 -0.123195 -0.0767841
-0.0266317 0.0242552 0.0728732 0.116397 0.152343 0.178707 0.194079
0.197713 0.189567 0.170292 0.141187 0.10411 0.0613699 0.0155753 -0.0305178
-0.0741709 -0.112825 -0.14425 -0.166671 -0.17887 -0.180248 -0.170857
-0.151388 -0.123121 -0.0878431 -0.0477395 -0.00525628 0.0370464 0.0766475
0.111215 0.138743 0.157664 0.166943 0.16613 0.155379 0.13544 0.107599
0.0736033 0.0355481 -0.00424858 -0.0433882;
#X coords 0 1 99 -1 200 140 1;
#X restore 69 549 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array y2 100 float 1;
#A 0 -127.645 -10.9168 -3.96653 -2.17272 -1.45546 -1.09073 -0.868466
-0.709635 -0.579683 -0.462391 -0.350305 -0.240661 -0.133398 -0.0300613
0.0669008 0.154628 0.230226 0.291072 0.335046 0.360719 0.36747 0.355557
0.326122 0.281146 0.223351 0.156064 0.0830362 0.00824897 -0.0643015
-0.130815 -0.187888 -0.232692 -0.263117 -0.277876 -0.276566 -0.259671
-0.228525 -0.185225 -0.1325 -0.0735489 -0.0118567 0.0490077 0.105594
0.154759 0.193846 0.22082 0.234378 0.234009 0.220011 0.193459 0.156134
0.110407 0.0590926 0.00528327 -0.0478377 -0.097179 -0.13992 -0.17367
-0.196602 -0.207547 -0.206057 -0.192418 -0.167623 -0.133306 -0.0916342
-0.0451764 0.00325392 0.0507668 0.0945676 0.132118 0.161283 0.180451
0.188622 0.185462 0.171307 0.147141 0.114531 0.0755202 0.0325088 -0.0118957
-0.0550349 -0.0943568 -0.127566 -0.152759 -0.168528 -0.174042 -0.169092
-0.154091 -0.130047 -0.0984966 -0.0614043 -0.021046 0.0201325 0.0596627
0.0951994 0.12466 0.146346 0.15904 0.162073 0.155361;
#X coords 0 1 99 -1 200 140 1;
#X restore 273 548 graph;
#N canvas 0 0 450 300 plot 0;
#X obj 60 19 inlet;
#X obj 44 198 mtx;
#X obj 58 42 t a a;
#X obj 39 70 mtx_size;
#X obj 39 112 until;
#X obj 39 92 t f b;
#X obj 68 131 + 1;
#X obj 39 131 i;
#X msg 82 93 1;
#X obj 43 152 t f f;
#X obj 152 243 outlet;
#X obj 44 222 list prepend 0;
#X obj 45 243 outlet;
#X obj 152 219 - 1;
#X msg 44 175 col \$1;
#X connect 0 0 2 0;
#X connect 1 0 11 0;
#X connect 2 0 3 0;
#X connect 2 1 1 1;
#X connect 3 1 5 0;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 5 1 8 0;
#X connect 6 0 7 1;
#X connect 7 0 6 0;
#X connect 7 0 9 0;
#X connect 8 0 7 1;
#X connect 9 0 14 0;
#X connect 9 1 13 0;
#X connect 11 0 12 0;
#X connect 13 0 10 0;
#X connect 14 0 1 0;
#X restore 124 112 pd plot;
#X obj 124 160 s;
#X msg 162 135 symbol j\$1;
#N canvas 0 0 450 300 plot 0;
#X obj 60 19 inlet;
#X obj 44 198 mtx;
#X obj 58 42 t a a;
#X obj 39 70 mtx_size;
#X obj 39 112 until;
#X obj 39 92 t f b;
#X obj 68 131 + 1;
#X obj 39 131 i;
#X msg 82 93 1;
#X obj 43 152 t f f;
#X obj 152 243 outlet;
#X obj 44 222 list prepend 0;
#X obj 45 243 outlet;
#X obj 152 219 - 1;
#X msg 44 175 col \$1;
#X connect 0 0 2 0;
#X connect 1 0 11 0;
#X connect 2 0 3 0;
#X connect 2 1 1 1;
#X connect 3 1 5 0;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 5 1 8 0;
#X connect 6 0 7 1;
#X connect 7 0 6 0;
#X connect 7 0 9 0;
#X connect 8 0 7 1;
#X connect 9 0 14 0;
#X connect 9 1 13 0;
#X connect 11 0 12 0;
#X connect 13 0 10 0;
#X connect 14 0 1 0;
#X restore 245 114 pd plot;
#X obj 245 162 s;
#X msg 283 137 symbol y\$1;
#N canvas 0 0 450 300 (subpatch) 0;
#X array j3 100 float 1;
#A 0 2.08203e-05 0.000863198 0.00426674 0.0118419 0.0248787 0.0442418
0.0702931 0.102846 0.141158 0.183953 0.229489 0.275649 0.320061 0.360241
0.393741 0.418305 0.43201 0.433403 0.421599 0.39636 0.358132 0.308043
0.247866 0.17994 0.107056 0.0323225 -0.040996 -0.109652 -0.170585 -0.221087
-0.258952 -0.282594 -0.291135 -0.284462 -0.263226 -0.228818 -0.18329
-0.129249 -0.0697136 -0.00795365 0.0526869 0.10897 0.157936 0.197066
0.224408 0.238684 0.23935 0.226619 0.201443 0.165447 0.120837 0.0702672
0.0166866 -0.0368286 -0.0872512 -0.131771 -0.167952 -0.193865 -0.208194
-0.210298 -0.200245 -0.178796 -0.147357 -0.107885 -0.0627772 -0.01472
0.033463 0.0789776 0.119221 0.151926 0.175294 0.188088 0.189701 0.180186
0.16024 0.131164 0.0947712 0.0532857 0.0092003 -0.0348674 -0.0763307
-0.112785 -0.142145 -0.162767 -0.173538 -0.173933 -0.164048 -0.144578
-0.116778 -0.0823806 -0.0434883 -0.00244804 0.0382903 0.0763201 0.109418
0.135674 0.153603 0.162225 0.161121 0.150453;
#X coords 0 1 99 -1 200 140 1;
#X restore 69 709 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array y3 100 float 1;
#A 0 -5099.33 -123.861 -25.4478 -9.40414 -4.64486 -2.74506 -1.83722
-1.34584 -1.05214 -0.859669 -0.720975 -0.6108 -0.515016 -0.425639 -0.338379
-0.25134 -0.164261 -0.0780219 0.00571318 0.0847881 0.156805 0.219352
0.270202 0.307487 0.32985 0.336549 0.327533 0.303471 0.265738 0.216364
0.157937 0.0934828 0.0263055 -0.0401754 -0.102605 -0.15787 -0.203256
-0.236598 -0.256385 -0.261841 -0.252962 -0.23051 -0.195965 -0.151438
-0.0995561 -0.0433047 0.014132 0.0695525 0.119913 0.162495 0.195053
0.215934 0.224162 0.219488 0.202391 0.174046 0.136248 0.0913008 0.0418862
-0.0090994 -0.0587086 -0.104113 -0.142764 -0.172534 -0.191834 -0.1997
-0.195839 -0.18064 -0.15514 -0.120963 -0.0802127 -0.03535 0.0109558
0.055985 0.0971239 0.132017 0.158701 0.175716 0.182183 0.17785 0.163102
0.138928 0.106861 0.0688772 0.0272817 -0.0154349 -0.0567419 -0.0942188
-0.125697 -0.149382 -0.163959 -0.168664 -0.163323 -0.148355 -0.124748
-0.0939876 -0.0579688 -0.018879 0.0209329 0.0590982;
#X coords 0 1 99 -1 200 140 1;
#X restore 273 708 graph;
#X obj 363 54 hsl 128 15 1 300 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 1000 1;
#X msg 124 42 0.1 \$1 100;
#X obj 125 63 mtx_linspace;
#X obj 125 87 mtx_bessel H 3;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 8 0 7 1;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 11 0 10 1;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 6 0;
#X connect 17 1 9 0;
#N struct pcolor-plot float x float y array pcolor-element-array pcolor-element
;
#N struct pcolor-element float x float y float c float dx;
#N canvas 819 236 698 410 10;
#X obj 540 85 dsp;
#X floatatom 539 115 5 0 0 0 - - -;
#X floatatom 586 117 5 0 0 0 - - -;
#X obj 95 185 z~;
#X obj 96 225 *~ 1;
#X obj 361 39 block~ 8192;
#X obj 228 179 hsl 128 15 0 1.5 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 248 224 sin;
#X obj 209 223 cos;
#X obj 175 79 hsl 100 15 -10 10 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 7100 1;
#X obj 173 125 + 10;
#X floatatom 174 149 5 0 0 0 - - -;
#X obj 155 184 z~ 10;
#X obj 174 98 i;
#X obj 169 368 mtx_pcolor;
#X obj 525 46 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 94 343 mtx;
#X obj 95 366 mtx_print;
#X obj 56 317 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 93 93 *~ 2;
#X obj 81 59 noise~;
#N canvas 0 0 450 300 computegains 0;
#X obj 141 55 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 45 206 mtx_print;
#X obj 45 152 mtx_rmstodb;
#X obj 45 177 mtx_- 100;
#X obj 142 93 mtx_logspace 1 0.17 10;
#X obj 195 157 mtx_reverse;
#X obj 167 180 mtx_+;
#X obj 144 125 t a a a;
#X obj 144 288 mtx_./;
#X obj 167 203 t a a;
#X msg 202 225 1 \$3;
#X obj 242 225 /;
#X obj 167 249 mtx_* 1;
#X connect 0 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 4 0 7 0;
#X connect 5 0 6 1;
#X connect 6 0 9 0;
#X connect 7 0 8 0;
#X connect 7 1 6 0;
#X connect 7 2 5 0;
#X connect 8 0 2 0;
#X connect 9 0 12 0;
#X connect 9 1 10 0;
#X connect 10 0 11 0;
#X connect 11 0 12 1;
#X connect 12 0 8 1;
#X restore 489 325 pd computegains;
#X obj 97 275 mtx_ei~ 23 0.909091 0.888184 0.863193 0.833662 0.79924
0.759747 0.715253 0.666139 0.613137 0.557312 0.5 0.442688 0.386863
0.333861 0.284747 0.240253 0.20076 0.166338 0.136807 0.111816 0.0909091
;
#X obj 156 224 *~ 0.5;
#X obj 335 353 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 332 378 vis \$1;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 3 0 4 0;
#X connect 4 0 22 0;
#X connect 6 0 8 0;
#X connect 6 0 7 0;
#X connect 7 0 23 1;
#X connect 8 0 4 1;
#X connect 9 0 13 0;
#X connect 10 0 3 1;
#X connect 10 0 11 0;
#X connect 12 0 23 0;
#X connect 13 0 10 0;
#X connect 15 0 0 0;
#X connect 16 0 17 0;
#X connect 18 0 16 0;
#X connect 19 0 3 0;
#X connect 19 0 12 0;
#X connect 20 0 19 0;
#X connect 22 0 14 0;
#X connect 22 0 16 1;
#X connect 23 0 22 1;
#X connect 24 0 25 0;
#X connect 25 0 14 1;
#N canvas 10 10 200 200 10;
#N canvas 20 20 420 300 META 0;
#X text 10 10 META this is a prototype of a libdir meta file;
#X text 10 30 NAME @PACKAGE_NAME@;
#X text 10 50 AUTHOR IOhannes m zmoelnig\, Thomas Musil\, Franz Zotter;
#X text 10 70 LICENSE GPL-2;
#X text 10 90 VERSION @PACKAGE_VERSION@;
#X restore 10 10 pd META;
LIBRARY_NAME=@LIBRARY_NAME@
TARNAME = $(LIBRARY_NAME)-@LIBRARY_VERSION@.tgz
LIBRARY_NAME=@PACKAGE_NAME@
TARNAME = $(LIBRARY_NAME)-@PACKAGE_VERSION@.tgz
# when build as a library this holds a pre-processor define
# (e.g. "-DZEXY_LIBRARY")
......
default: all
.PHONEY: default all everything dist \
-include Make.config
.PHONY: default all everything dist \
clean realclean distclean \
install install-bin install-doc install-abs \
tests
-include Make.config
tests \
$(LIBRAY_NAME) library externals
VPATH = .:../alias/
.SUFFIXES: .$(EXT)
## if $(BUILDLIBRARY) is defined, we need to include the aliases
ifeq "$(BUILDLIBRARY)" ""
ALIASOBJECTSOURCES=$(subst ../alias/,,$(sort $(filter %.c, $(wildcard ../alias/*.c))))
else
ALIASOBJECTSOURCES=
endif
TESTDIR=../tests
HELPERSOURCES=$(LIBRARY_NAME)_sources.c $(LIBRARY_NAME).c
OBJECTSOURCES=$(sort $(filter-out $(HELPERSOURCES), $(filter %.c, $(wildcard *.c)))) $(ALIASOBJECTSOURCES)
#####################
# CORE: core library, ought to be statically-linked with each and every .pd_linux
# LHELPER: infrastructure for iemmatrix.pd_linux
# ????:
# ALIAS: alias-objects, MUST NOT be linked statically into iemmatrix.pd_linux
SOURCES=$(OBJECTSOURCES) $(HELPERSOURCES)
CORESRC=$(LIBRARY_NAME)_binops.c $(LIBRARY_NAME)_utility.c
LHELPERSRC=$(LIBRARY_NAME).c $(LIBRARY_NAME)_sources.c
PDOBJECTSRC=$(sort $(filter-out $(LHELPERSRC) $(CORESRC), $(filter %.c, $(wildcard *.c))))
ALIASSRC=$(subst ../alias/,,$(sort $(filter %.c, $(wildcard ../alias/*.c))))
configure: configure.ac aclocal.m4
autoconf
ALLSRC=$(CORESRC) $(LHELPERSRC) $(PDOBJECTSRC) $(ALIASSRC)
aclocal.m4: acinclude.m4
aclocal
COREOBJ=$(CORESRC:.c=.o)
LHELPEROBJ=$(LHELPERSRC:.c=.o)
PDOBJ=$(PDOBJECTSRC:.c=.o)
ALIASOBJ=$(ALIASSRC:.c=.o)
Make.config: Make.config.in configure
./configure $(CONFIGUREFLAGS)
PDOBJECTS=$(PDOBJECTSRC:.c=.$(EXT))
ALIASOBJECTS=$(ALIASSRC:.c=.$(EXT))
$(LIBRARY_NAME)_sources.c $(LIBRARY_NAME)_sources.h:
./makesource.sh
-include $(SOURCES:.c=.d)
-include $(ALLSRC:.c=.d)
## 2nd only generate depend-files when we have Make.config included
## and thus MAKEDEP_FLAGS defined
......@@ -50,47 +51,45 @@ ifdef MAKEDEP_FLAGS
rm -f $@.$$$$
endif
.SUFFIXES: .$(EXT)
TARGETS = $(SOURCES:.c=.o)
OBJECTS = $(OBJECTSOURCES:.c=.$(EXT))
debug:
@echo sources $(SOURCES)
@echo alias $(ALIASOBJECTSOURCES)
@echo targets $(TARGETS)
@echo objects $(OBJECTS)
## if $(BUILDLIBRARY) is defined, we build everything as a single library
## if $(BUILDLIBRARY) is defined, the default is to
## build everything as a single library
## else we build separate externals
ifneq "$(BUILDLIBRARY)" ""
all: $(LIBRARY_NAME)
cp $(LIBRARY_NAME).$(EXT) ..
else
all: $(OBJECTS)
all: externals
endif
$(OBJECTS): %.$(EXT) : %.o
$(LD) $(LFLAGS) $(AFLAGS) -o $@ $*.o $(LIBS)
%.o : %.c
$(CC) $(LIBRARY_CFLAGS) $(AFLAGS) -c -o $@ $<
%.$(EXT) : %.o $(COREOBJ)
$(LD) $(LFLAGS) $(AFLAGS) -o $@ $^ $(LIBS)
$(STRIP) $(STRIPFLAGS) $@
$(LIBRARY_NAME): $(TARGETS) $(LIBRARY_NAME)_sources.c $(LIBRARY_NAME)_sources.h
$(LD) $(LFLAGS) $(AFLAGS) -o $@.$(EXT) *.o $(LIBS)
$(STRIP) $(STRIPFLAGS) $@.$(EXT)
$(LIBRARY_NAME).$(EXT): $(COREOBJ) $(LHELPEROBJ) $(PDOBJ)
$(LD) $(LFLAGS) $(AFLAGS) -o $@ $^ $(LIBS)
$(STRIP) $(STRIPFLAGS) $@
$(TARGETS): %.o : %.c
$(CC) $(LIBRARY_CFLAGS) $(AFLAGS) -c -o $@ $<
$(LIBRARY_NAME): $(LIBRARY_NAME).$(EXT)
@echo "$< done"
externals: $(PDOBJECTS) $(ALIASOBJECTS)
library: $(LIBRARY_NAME)
externals: $(OBJECTS)
clean:
-rm -f *.$(EXT) *.o
METAFILE = ../iemmatrix-meta.pd
realclean: clean
-rm -f *~ _* config.*
-rm -f *~ _* aclocal.m4 configure config.h config.log config.status
-rm -f *.d *.d.*
-rm -f ../VERSION.txt $(METAFILE)
distclean: realclean
-rm -f Make.config ../*.$(EXT)
......@@ -102,21 +101,47 @@ tests: all
make -C $(TESTDIR)
install: install-bin install-doc install-abs
-install -d $(INSTALL_DOC)
-install -m 644 ../VERSION.txt $(INSTALL_DOC)
-install -m 644 $(METAFILE) $(INSTALL_DOC)
install-bin:
-install -d $(INSTALL_DOC)
-install -m 644 $(LIBRARY_NAME).$(EXT) $(INSTALL_DOC)
-install -m 644 *.$(EXT) $(INSTALL_DOC)
install-doc:
-install -d $(INSTALL_DOC)
-install -m 644 ../doc/*.pd $(INSTALL_DOC)
install-abs:
-install -d $(INSTALL_BIN)
-install -m 644 ../abs/*.pd $(INSTALL_BIN)
-install -d $(INSTALL_DOC)
-install -m 644 ../abs/*.pd $(INSTALL_DOC)
dist: all realclean
(cd ../..;tar czvf $(TARNAME) $(LIBRARY_NAME))
everything: clean all install distclean
#######################
configure: configure.ac aclocal.m4
autoconf
aclocal.m4: acinclude.m4
aclocal
Make.config: Make.config.in configure
./configure $(CONFIGUREFLAGS)
$(LIBRARY_NAME)_sources.c $(LIBRARY_NAME)_sources.h:
./makesource.sh
#######################
debug:
@echo SOURCES $(SOURCES)
@echo HELPERSOURCES $(HELPERSOURCES)
@echo ALIASSOURCES $(ALIASOBJECTSOURCES)
@echo TARGETS $(TARGETS)
@echo OBJECTS $(PDOBJECTS)
#ifndef CONFIG_H_
#define CONFIG_H_
/* config.h.in. Generated from configure.ac by autoheader. */
/* do we have fftw3 installed? */
/* Define to 1 if you have the <fftw3.h> header file. */
#undef HAVE_FFTW3_H
/* do we have libsndfile installed? */
#undef HAVE_SNDFILE_H
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* can gsl compute complex eigenvalues? */
#undef HAVE_GSL_EIGEN_NONSYMM
/* can gsl compute Bessel functions? */
#undef HAVE_GSL_BESSEL
/* Define to 1 if you have the <gsl/gsl_linalg.h> header file. */
#undef HAVE_GSL_GSL_LINALG_H
/* Define to 1 if you have the <gsl/gsl_sf_bessel.h> header file. */
#undef HAVE_GSL_GSL_LINALG_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `c' library (-lc). */
#undef HAVE_LIBC
/* Define to 1 if you have the `crtdll' library (-lcrtdll). */
#undef HAVE_LIBCRTDLL
/* Define to 1 if you have the `fftw3' library (-lfftw3). */
#undef HAVE_LIBFFTW3
/* do we have libgsl installed? */
/* Define to 1 if you have the `gsl' library (-lgsl). */
#undef HAVE_LIBGSL
/* can libgsl compute complex eigenvalues? */
#undef HAVE_GSL_EIGEN_NONSYMM
/* Define to 1 if you have the `gslcblas' library (-lgslcblas). */
#undef HAVE_LIBGSLCBLAS
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define to 1 if you have the `pd' library (-lpd). */
#undef HAVE_LIBPD
/* Define to 1 if you have the `sndfile' library (-lsndfile). */
#undef HAVE_LIBSNDFILE