Commit 0cc14f3d417cb07f5a484fcca087658dbc8f7f26

Thomas de Grivel 2021-02-20T23:06:51

wip remove autotools

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
diff --git a/lib/Makefile b/lib/Makefile
index 192277f..7c7bb63 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,12 +1,11 @@
 CLEANFILES =
 RTBUF_MODULES =
 
-all:
-	${MAKE} ${RTBUF_MODULES}
+all: rtbuf_modules
 
 clean:
 	rm -rf .libs *.o *.lo *.la ${CLEANFILES}
 
-.PHONY: all clean
+.PHONY: all clean rtbuf_modules
 
 .include <config.mk>
diff --git a/lib/configure b/lib/configure
index 0a0994a..bc8fbcd 100755
--- a/lib/configure
+++ b/lib/configure
@@ -46,6 +46,8 @@ done
 LIBDIR=/usr/local/lib
 echo "LIBDIR = $LIBDIR" >> ${CONFIG_MK}
 
+RTBUF_MODULES=
+
 for SRC in $SOURCES; do
     SRC_LO="$(c2lo "$SRC")"
     echo >> ${CONFIG_MK}
@@ -57,5 +59,13 @@ for SRC in $SOURCES; do
     echo "$SRC_LA: $SRC_LO" >> ${CONFIG_MK}
     echo "\t${LIBTOOL} --tag=CC --mode=link \${CC} -shared \${LDFLAGS} $SRC_LO -o $SRC_LA -rpath $LIBDIR" >> ${CONFIG_MK}
     echo >> ${CONFIG_MK}
-    echo "RTBUF_MODULES += $SRC_LA" >> ${CONFIG_MK}
+    RTBUF_MODULES="$RTBUF_MODULES $SRC_LA"
+done
+
+echo "rtbuf_modules:${RTBUF_MODULES}" >> ${CONFIG_MK}
+
+for TYPE_SRC in $TYPE_SOURCES; do
+    TYPE_PROG="$(c2prog "$TYPE_SRC")"
+    TYPE_H="${TYPE_PROG}.h"
+    rm "$TYPE_H"
 done
diff --git a/lib/dynamic/limiter.c b/lib/dynamic/limiter.c
index 073e9c3..885ff56 100644
--- a/lib/dynamic/limiter.c
+++ b/lib/dynamic/limiter.c
@@ -1,6 +1,6 @@
 /*
- * Copyright 2019 Thomas de Grivel <thoxdg@gmail.com> +33614550127
- * Copyright 2019 Judy Najnudel
+ * Copyright 2019-2021 Thomas de Grivel <thoxdg@gmail.com>
+ * Copyright 2019 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -17,11 +17,11 @@
 
 #include <float.h>
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/dynamic.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../dynamic.h"
 
 s_rtbuf_lib_proc_in rtbuf_dynamic_limiter_in[] =
   {{ "signal"  , RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/glfw3/keyboard.c b/lib/glfw3/keyboard.c
index 0dbc65c..00a966e 100644
--- a/lib/glfw3/keyboard.c
+++ b/lib/glfw3/keyboard.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -18,13 +18,13 @@
 #include <stdio.h>
 #include <string.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/music.h>
-#include <rtbuf/music_type.h>
-#include <rtbuf/glfw3.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../music.h"
+#include "../music_type.h"
+#include "../glfw3.h"
 
 float ceilf (float x);
 
diff --git a/lib/glfw3/oscilloscope.c b/lib/glfw3/oscilloscope.c
index 54bac4c..370331f 100644
--- a/lib/glfw3/oscilloscope.c
+++ b/lib/glfw3/oscilloscope.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,13 +14,13 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/music.h>
-#include <rtbuf/music_type.h>
-#include <rtbuf/glfw3.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../music.h"
+#include "../music_type.h"
+#include "../glfw3.h"
 
 s_rtbuf_lib_proc_in rtbuf_glfw3_oscilloscope_in[] =
   {{ "black", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/portaudio/input.c b/lib/portaudio/input.c
index ad93383..1bd73b1 100644
--- a/lib/portaudio/input.c
+++ b/lib/portaudio/input.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -17,12 +17,12 @@
 #include <portaudio.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/portaudio.h>
-#include <rtbuf/portaudio_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../portaudio.h"
+#include "../portaudio_type.h"
 
 s_rtbuf_lib_proc_out rtbuf_portaudio_input_out[] = {
   { "left",    RTBUF_SIGNAL_TYPE },
diff --git a/lib/portaudio/output.c b/lib/portaudio/output.c
index fa97397..73a8e11 100644
--- a/lib/portaudio/output.c
+++ b/lib/portaudio/output.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -18,12 +18,12 @@
 #include <portaudio.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/portaudio.h>
-#include <rtbuf/portaudio_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../portaudio.h"
+#include "../portaudio_type.h"
 
 int g_initialized = 0;
 
diff --git a/lib/reverb/fdn4.c b/lib/reverb/fdn4.c
index 79b786f..42e67f2 100644
--- a/lib/reverb/fdn4.c
+++ b/lib/reverb/fdn4.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com>
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -18,8 +18,8 @@
 #include <stdio.h>
 #include <strings.h>
 #include "hadamard.h"
-#include "rtbuf.h"
-#include "rtbuf_reverb.h"
+#include "../../librtbuf/rtbuf.h"
+#include "../reverb.h"
 
 int rtbuf_reverb_fdn4_start (s_rtbuf *rtb)
 {
diff --git a/lib/signal/bandpass2.c b/lib/signal/bandpass2.c
index f77215f..ce2efa1 100644
--- a/lib/signal/bandpass2.c
+++ b/lib/signal/bandpass2.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com>
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -46,10 +46,10 @@ e:   q2 w4 - sqrt(2)^3 f q w3 +   (2 q2 + 1) 4 f2 w2 - sqrt(2)^7 f3 q w + 16 f4 
 y: (4 f2 w2 (x4 - 2 x2 + x) - (b y1 + c y2 + d y3 + e y4)) / a;
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_bandpass2_in[] =
   {{ "signal",   RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/delay.c b/lib/signal/delay.c
index fa653de..66d9b18 100644
--- a/lib/signal/delay.c
+++ b/lib/signal/delay.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -16,10 +16,10 @@
 
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_delay_in[] =
   {{ "signal",   RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/equalizer10.c b/lib/signal/equalizer10.c
index da1901e..6c053fa 100644
--- a/lib/signal/equalizer10.c
+++ b/lib/signal/equalizer10.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -51,10 +51,10 @@ fc: -3db
 q: 2
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_equalizer10_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/flanger.c b/lib/signal/flanger.c
index 7564529..9fa4470 100644
--- a/lib/signal/flanger.c
+++ b/lib/signal/flanger.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018,2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  * Copyright 2018 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -19,10 +19,10 @@
 #include <stdio.h>
 #include <string.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_flanger_in[] =
   {{ "signal",    RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/hipass.c b/lib/signal/hipass.c
index b5c64a3..032e0f6 100644
--- a/lib/signal/hipass.c
+++ b/lib/signal/hipass.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -15,10 +15,10 @@
  */
 
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_hipass_in[] =
   {{ "signal",   RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/hipass2.c b/lib/signal/hipass2.c
index d74b4a6..2f7902c 100644
--- a/lib/signal/hipass2.c
+++ b/lib/signal/hipass2.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -15,10 +15,10 @@
  */
 
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_hipass2_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/hipass3.c b/lib/signal/hipass3.c
index a7d5f92..31802a4 100644
--- a/lib/signal/hipass3.c
+++ b/lib/signal/hipass3.c
@@ -1,6 +1,6 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
- * Copyright 2020 Judy Najnudel
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
+ * Copyright 2020 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -41,10 +41,10 @@ y: (8 F³ ((x - x3) + 3 (x2 - x1)) - (a y3 + b y2 + c y1)) / d
 
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_hipass3_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 0.0 },
diff --git a/lib/signal/hipass4.c b/lib/signal/hipass4.c
index 8c319a2..e7dad70 100644
--- a/lib/signal/hipass4.c
+++ b/lib/signal/hipass4.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -46,10 +46,10 @@ y: f4 (16 (x4 + x) - 64 (x3 + x1) + 96 x2 - (e y4 + d y3 + c y2 + b y1)) / a $
 
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_hipass4_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/hipass5.c b/lib/signal/hipass5.c
index 572e69a..ea368e3 100644
--- a/lib/signal/hipass5.c
+++ b/lib/signal/hipass5.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -58,10 +58,10 @@ y: (f5 (32 (x - x5) + 160 (x4 - x1) + 320 (x2 - x3)) - (b y1 + c y2 + d y3 + e y
 
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_hipass5_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/lowpass.c b/lib/signal/lowpass.c
index fd0b2c3..da8df64 100644
--- a/lib/signal/lowpass.c
+++ b/lib/signal/lowpass.c
@@ -1,6 +1,6 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
- * Copyright 2020 Judy Najnudel
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
+ * Copyright 2020 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -16,10 +16,10 @@
  */
 
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_lowpass_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/lowpass2.c b/lib/signal/lowpass2.c
index 3f75be8..bc8cdab 100644
--- a/lib/signal/lowpass2.c
+++ b/lib/signal/lowpass2.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -20,10 +20,10 @@ H: 1/B2 $
 
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_lowpass2_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/lowpass3.c b/lib/signal/lowpass3.c
index 26218d9..f7913ff 100644
--- a/lib/signal/lowpass3.c
+++ b/lib/signal/lowpass3.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  * Copyright 2020 Judy Najnudel
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -16,10 +16,10 @@
  */
 
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_lowpass3_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/lowpass4.c b/lib/signal/lowpass4.c
index fdb4f29..a81d989 100644
--- a/lib/signal/lowpass4.c
+++ b/lib/signal/lowpass4.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -50,10 +50,10 @@ g:   16*F^4 - 16*(a+b)*F^3*w +  (16*a*b+8)*F^2*w^2 - 4*(a+b)*F*w^3 +  w^4 $
 y: (w4*(x4+4*x3+6*x2+4*x1+x)-(c*y4+d*y3+e*y2+f*y1))/g $
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_lowpass4_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/lowpass5.c b/lib/signal/lowpass5.c
index 7ed8a4d..01ce927 100644
--- a/lib/signal/lowpass5.c
+++ b/lib/signal/lowpass5.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -56,10 +56,10 @@ f:    w5 + (r5 + 1)(-2)(f w4 - 8 f4 w) + (4 r5 + 12)    (f2 w3 - 2 f3 w2) -  32 
 
 */
 #include <math.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_lowpass5_in[] =
   {{ "signal", RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/signal/sawtooth.c b/lib/signal/sawtooth.c
index fcbc944..774f861 100644
--- a/lib/signal/sawtooth.c
+++ b/lib/signal/sawtooth.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2020-2021 Thomas de Grivel <thoxdg@gmail.com>
  * Copyright 2020 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -18,10 +18,10 @@
 #include <float.h>
 #include <math.h>
 #include <stdio.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_sawtooth_in[] =
   {{ "frequency", RTBUF_SIGNAL_TYPE, 220.0, 20.0, RTBUF_SIGNAL_SAMPLERATE / 2.0, 2.0 },
diff --git a/lib/signal/sinus.c b/lib/signal/sinus.c
index 94dcc24..73b2e28 100644
--- a/lib/signal/sinus.c
+++ b/lib/signal/sinus.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  * Copyright 2018 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -18,10 +18,10 @@
 #include <float.h>
 #include <math.h>
 #include <stdio.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_sinus_in[] =
   {{ "frequency", RTBUF_SIGNAL_TYPE, 220.0, 20.0, RTBUF_SIGNAL_SAMPLERATE / 2.0, 2.0 },
diff --git a/lib/signal/square.c b/lib/signal/square.c
index 761fef0..24a43b4 100644
--- a/lib/signal/square.c
+++ b/lib/signal/square.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -17,10 +17,10 @@
 #include <float.h>
 #include <math.h>
 #include <stdio.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_signal_square_in[] =
   {{ "frequency", RTBUF_SIGNAL_TYPE, 220.0, 20.0, RTBUF_SIGNAL_SAMPLERATE / 2.0, 2.0 },
diff --git a/lib/sndio/input.c b/lib/sndio/input.c
index 28b7a75..91b2d29 100644
--- a/lib/sndio/input.c
+++ b/lib/sndio/input.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -17,12 +17,12 @@
 #include <sndio.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/sndio.h>
-#include <rtbuf/sndio_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../sndio.h"
+#include "../sndio_type.h"
 
 s_rtbuf_lib_proc_out rtbuf_sndio_input_out[] = {
   { "left", RTBUF_SIGNAL_TYPE },
diff --git a/lib/sndio/output.c b/lib/sndio/output.c
index a8016a8..7b301c8 100644
--- a/lib/sndio/output.c
+++ b/lib/sndio/output.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -18,12 +18,12 @@
 #include <sndio.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/sndio.h>
-#include <rtbuf/sndio_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../sndio.h"
+#include "../sndio_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_sndio_output_in[] =
   {{ "left",  RTBUF_SIGNAL_TYPE, 0.0, -1.0, 1.0, 1.0 },
diff --git a/lib/synth/adsr.c b/lib/synth/adsr.c
index 7f2422a..80f7c3e 100644
--- a/lib/synth/adsr.c
+++ b/lib/synth/adsr.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  * Copyright 2018 Judy Najnudel <judy.najnudel@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -18,13 +18,13 @@
 #include <float.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/music.h>
-#include <rtbuf/music_type.h>
-#include <rtbuf/synth.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../music.h"
+#include "../music_type.h"
+#include "../synth.h"
 
 s_rtbuf_lib_proc_in rtbuf_synth_adsr_in[] =
   {RTBUF_MUSIC_NOTE_IN(),
diff --git a/lib/synth/synth.c b/lib/synth/synth.c
index 5a8c239..23fd17b 100644
--- a/lib/synth/synth.c
+++ b/lib/synth/synth.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> +33614550127
+ * Copyright 2018-2021 Thomas de Grivel <thoxdg@gmail.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -18,14 +18,14 @@
 #include <float.h>
 #include <stdio.h>
 #include <strings.h>
-#include <rtbuf/rtbuf.h>
-#include <rtbuf/lib.h>
-#include <rtbuf/signal.h>
-#include <rtbuf/signal_type.h>
-#include <rtbuf/music.h>
-#include <rtbuf/music_type.h>
-#include <rtbuf/synth.h>
-#include <rtbuf/synth_type.h>
+#include "../../librtbuf/rtbuf.h"
+#include "../../librtbuf/lib.h"
+#include "../signal.h"
+#include "../signal_type.h"
+#include "../music.h"
+#include "../music_type.h"
+#include "../synth.h"
+#include "../synth_type.h"
 
 s_rtbuf_lib_proc_in rtbuf_synth_synth_in[] =
   {{ "envelope",   RTBUF_SIGNAL_TYPE, 1.0,  0.0, 1.0, 1.0 },
diff --git a/librtbuf/Makefile b/librtbuf/Makefile
new file mode 100644
index 0000000..263738a
--- /dev/null
+++ b/librtbuf/Makefile
@@ -0,0 +1,8 @@
+all: librtbuf.la
+
+clean:
+	rm -rf .libs *.o *.lo *.la
+
+.PHONY: all clean
+
+.include <config.mk>
diff --git a/librtbuf/configure b/librtbuf/configure
index 82be2b8..70df3c8 100755
--- a/librtbuf/configure
+++ b/librtbuf/configure
@@ -33,7 +33,8 @@ echo "LIBDIR = $LIBDIR" >> ${CONFIG_MK}
 
 for SRC in $SOURCES; do
     SRC_LO="$(c2lo "$SRC")"
-    c_lo_deps $SRC
+    echo >> ${CONFIG_MK}
+    lo_rule "$SRC" >> ${CONFIG_MK}
     echo "\t${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS} -c $SRC -o $SRC_LO" >> ${CONFIG_MK}
 done