diff --git a/Makefile b/Makefile
index 985391d..3d28dc5 100644
--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,10 @@ install:
${MAKE} -C ${PWD}/cli install
${MAKE} -C ${PWD}/gtk3 install
-licence:
- elixir bin/header.exs config.subr ${RTBUF_CONFIGURES}
- elixir bin/header.exs Makefile ${RTBUF_MAKEFILES}
- elixir bin/header.exs librtbuf/rtbuf.h ${RTBUF_C_SOURCES}
+license:
+ update_header config.subr ${RTBUF_CONFIGURES}
+ update_header Makefile ${RTBUF_MAKEFILES}
+ update_header librtbuf/rtbuf.h ${RTBUF_C_SOURCES}
.PHONY: all build clean doc install
diff --git a/cli/cli.c b/cli/cli.c
index c6b457b..1c1fee3 100644
--- a/cli/cli.c
+++ b/cli/cli.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <err.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/cli/cli.h b/cli/cli.h
index 076fc2b..5f4982a 100644
--- a/cli/cli.h
+++ b/cli/cli.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/cli/configure b/cli/configure
index 63129b2..18c275c 100755
--- a/cli/configure
+++ b/cli/configure
@@ -1,78 +1,207 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
export SRC_TOP="$(pwd)/.."
. ../config.subr
+# Targets
LIB=librtbuf_cli.la
+LIB_ASAN=librtbuf_cli.asan.la
+LIB_COV=librtbuf_cli.cov.la
+LIB_DEBUG=librtbuf_cli.debug.la
PROG=rtbuf
+PROG_ASAN=rtbuf_asan
+PROG_COV=rtbuf_cov
+PROG_DEBUG=rtbuf_debug
+
+# Sources
+. ./sources.sh
+
+LIB_OBJECTS="$(c2ext .main.lo "$LIB_SOURCES")"
+LIB_OBJECTS_ASAN="$(c2ext .asan.lo "$LIB_SOURCES")"
+LIB_OBJECTS_COV="$(c2ext .cov.lo "$LIB_SOURCES")"
+LIB_OBJECTS_DEBUG="$(c2ext .debug.lo "$LIB_SOURCES")"
+
+echo "LIB_OBJECTS = $LIB_OBJECTS" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_ASAN = $LIB_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_COV = $LIB_OBJECTS_COV" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_DEBUG = $LIB_OBJECTS_DEBUG" >> ${CONFIG_MK}
+
+PROG_OBJECTS="$(c2ext .main.lo "$PROG_SOURCES")"
+PROG_OBJECTS_ASAN="$(c2ext .asan.lo "$PROG_SOURCES")"
+PROG_OBJECTS_COV="$(c2ext .cov.lo "$PROG_SOURCES")"
+PROG_OBJECTS_DEBUG="$(c2ext .debug.lo "$PROG_SOURCES")"
+
+echo "PROG_OBJECTS = $PROG_OBJECTS" >> ${CONFIG_MK}
+echo "PROG_OBJECTS_ASAN = $PROG_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo "PROG_OBJECTS_COV = $PROG_OBJECTS_COV" >> ${CONFIG_MK}
+echo "PROG_OBJECTS_DEBUG = $PROG_OBJECTS_DEBUG" >> ${CONFIG_MK}
+
+# Default config
+CPPFLAGS="${CPPFLAGS:=}"
+ENV_CFLAGS="${CFLAGS:=}"
+DEFAULT_CFLAGS="-O2 -pipe -fPIC"
+LDFLAGS="${LDFLAGS:=}"
+LIBS="${LIBS:=-lm}"
+
+# Common config for all targets
+CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic"
+CPPFLAGS="$CPPFLAGS -DRTBUF_LIBDIR=\\\"${RTBUF_LIBDIR}\\\""
+CPPFLAGS="$CPPFLAGS -DVER=\\\"${VER}\\\""
+config_asan
+config_gnu
+pkg_config libbsd-overlay
+
+# Address Sanitizer config
+CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"
+LDFLAGS_ASAN="$LDFLAGS"
+LIBS_ASAN="$LIBS"
+
+# Coverage config
+CFLAGS_COV="$CFLAGS -ftest-coverage -fprofile-arcs"
+LDFLAGS_COV="$LDFLAGS"
+LIBS_COV="$LIBS"
+
+# Debug config
+CFLAGS_DEBUG="$CFLAGS -DDEBUG -O0 -ggdb"
+LDFLAGS_DEBUG="$LDFLAGS"
+LIBS_DEBUG="$LIBS"
+
+# Main config
+if [ "x$ENV_CFLAGS" = "x" ]; then
+ CFLAGS="$CFLAGS $DEFAULT_CFLAGS"
+fi
+CFLAGS="$CFLAGS -DNDEBUG"
+LIBS="$LIBS"
-SOURCES="$(ls *.c | grep -Fv rtbuf_cli_main.c | tr '\n' ' ')"
-echo "SOURCES = $SOURCES" >> ${CONFIG_MK}
+echo "HAVE_ASAN = $HAVE_ASAN" >> ${CONFIG_MK}
+echo "CPPFLAGS = $CPPFLAGS" >> ${CONFIG_MK}
+echo "CFLAGS = $CFLAGS" >> ${CONFIG_MK}
+echo "LDFLAGS = $LDFLAGS" >> ${CONFIG_MK}
+echo "LIB_OBJECTS = $LIB_OBJECTS" >> ${CONFIG_MK}
+echo "LIBS = $LIBS" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "CFLAGS_ASAN = $CFLAGS_ASAN" >> ${CONFIG_MK}
+echo "LDFLAGS_ASAN = $LDFLAGS_ASAN" >> ${CONFIG_MK}
+echo "LIBS_ASAN = $LIBS_ASAN" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "CFLAGS_COV = $CFLAGS_COV" >> ${CONFIG_MK}
+echo "LDFLAGS_COV = $LDFLAGS_COV" >> ${CONFIG_MK}
+echo "LIBS_COV = $LIBS_COV" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "CFLAGS_DEBUG = $CFLAGS_DEBUG" >> ${CONFIG_MK}
+echo "LDFLAGS_DEBUG = $LDFLAGS_DEBUG" >> ${CONFIG_MK}
+echo "LIBS_DEBUG = $LIBS_DEBUG" >> ${CONFIG_MK}
-OBJECTS="$(c2lo "$SOURCES")"
-echo "OBJECTS = $OBJECTS" >> ${CONFIG_MK}
+# Library
+echo >> ${CONFIG_MK}
+echo "$LIB: $LIB_OBJECTS" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS} ${LIB_OBJECTS} \${LIBS} -o ${LIB} -rpath ${LIBDIR}" >> ${CONFIG_MK}
-PROG_OBJECTS=rtbuf_cli_main.o
+echo >> ${CONFIG_MK}
+echo "$LIB_ASAN: $LIB_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_ASAN} ${LIB_OBJECTS_ASAN} \${LIBS_ASAN} -o ${LIB_ASAN}" >> ${CONFIG_MK}
-if test -d /usr/local/include; then
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-fi
-CPPFLAGS="$CPPFLAGS -DVER=$VER"
-echo "CPPFLAGS = $CPPFLAGS" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "$LIB_COV: $LIB_OBJECTS_COV" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_COV} ${LIB_OBJECTS_COV} \${LIBS_COV} -o ${LIB_COV}" >> ${CONFIG_MK}
-if [ x"$DEBUG" = x"yes" ]; then
- CFLAGS="$CFLAGS -DDEBUG -O0 -ggdb -g3"
-else
- CFLAGS="$CFLAGS -DNDEBUG -O3"
-fi
-CFLAGS="$CFLAGS -W -Wall -Werror -std=c89 -pedantic"
-echo "CFLAGS = $CFLAGS" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "$LIB_DEBUG: $LIB_OBJECTS_DEBUG" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_DEBUG} ${LIB_OBJECTS_DEBUG} \${LIBS_DEBUG} -o ${LIB_DEBUG}" >> ${CONFIG_MK}
-LDFLAGS="$LDFLAGS -pthread"
-echo "LDFLAGS = $LDFLAGS" >> ${CONFIG_MK}
+echo >> ${CONFIG_MK}
+echo "install: ${LIB}" >> ${CONFIG_MK}
+echo " \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 -d \${LIBDIR}" >> ${CONFIG_MK}
+echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 ${LIB} \${LIBDIR}" >> ${CONFIG_MK}
-LIBS="../librtbuf/librtbuf.la -lreadline"
-echo "LIBS = $LIBS" >> ${CONFIG_MK}
+for SRC in $LIB_SOURCES; do
+ echo >> ${CONFIG_MK}
+ SRC_LO="$(c2ext .main.lo "$SRC")"
+ ext_rule .main.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS} -c $SRC -o $SRC_LO" >> ${CONFIG_MK}
+
+ echo >> ${CONFIG_MK}
+ SRC_ASAN_LO="$(c2ext .asan.lo "$SRC")"
+ ext_rule .asan.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_ASAN} -c $SRC -o $SRC_ASAN_LO" >> ${CONFIG_MK}
+
+ echo >> ${CONFIG_MK}
+ SRC_COV_LO="$(c2ext .cov.lo "$SRC")"
+ ext_rule .cov.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_COV} -c $SRC -o $SRC_COV_LO" >> ${CONFIG_MK}
-for SRC in $SOURCES; do
- SRC_LO=$(c2lo $SRC)
echo >> ${CONFIG_MK}
- lo_rule $SRC >> ${CONFIG_MK}
- echo " \${LIBTOOL} --tag CC --mode compile \${CC} \${CPPFLAGS} \${CFLAGS} -c $SRC -o $SRC_LO" >> ${CONFIG_MK}
+ SRC_DEBUG_LO="$(c2ext .debug.lo "$SRC")"
+ ext_rule .debug.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_DEBUG} -c $SRC -o $SRC_DEBUG_LO" >> ${CONFIG_MK}
done
+# Program
echo >> ${CONFIG_MK}
-SRC=rtbuf_cli_main.c
-SRC_O=$(c2o $SRC)
-o_rule $SRC >> ${CONFIG_MK}
-echo " \${CC} \${CPPFLAGS} \${CFLAGS} -c $SRC -o $SRC_O" >> ${CONFIG_MK}
+echo "$PROG: $PROG_OBJECTS" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS} ${PROG_OBJECTS} \${LIBS} -o ${PROG} -rpath ${LIBDIR}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$LIBRARY: $OBJECTS" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} -shared \${LDFLAGS} \${OBJECTS} \${LIBS} -o $LIBRARY -rpath \${LIBDIR}" >> ${CONFIG_MK}
+echo "$PROG_ASAN: $PROG_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_ASAN} ${PROG_OBJECTS_ASAN} \${LIBS_ASAN} -o ${PROG_ASAN}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$PROG: $LIBRARY $PROG_OBJECTS" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS} ${PROG_OBJECTS} ${LIBRARY} ${LIBS} -o $PROG" >> ${CONFIG_MK}
+echo "$PROG_COV: $PROG_OBJECTS_COV" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_COV} ${PROG_OBJECTS_COV} \${LIBS_COV} -o ${PROG_COV}" >> ${CONFIG_MK}
+
+echo >> ${CONFIG_MK}
+echo "$PROG_DEBUG: $PROG_OBJECTS_DEBUG" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_DEBUG} ${PROG_OBJECTS_DEBUG} \${LIBS_DEBUG} -o ${PROG_DEBUG}" >> ${CONFIG_MK}
+
+echo >> ${CONFIG_MK}
+echo "install: ${PROG}" >> ${CONFIG_MK}
+echo " \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 -d \${BINDIR}" >> ${CONFIG_MK}
+echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 ${PROG} \${BINDIR}" >> ${CONFIG_MK}
+for SRC in $PROG_SOURCES; do
+ echo >> ${CONFIG_MK}
+ SRC_LO="$(c2ext .main.lo "$SRC")"
+ ext_rule .main.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS} -c $SRC -o $SRC_LO" >> ${CONFIG_MK}
+
+ echo >> ${CONFIG_MK}
+ SRC_ASAN_LO="$(c2ext .asan.lo "$SRC")"
+ ext_rule .asan.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_ASAN} -c $SRC -o $SRC_ASAN_LO" >> ${CONFIG_MK}
+
+ echo >> ${CONFIG_MK}
+ SRC_COV_LO="$(c2ext .cov.lo "$SRC")"
+ ext_rule .cov.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_COV} -c $SRC -o $SRC_COV_LO" >> ${CONFIG_MK}
+
+ echo >> ${CONFIG_MK}
+ SRC_DEBUG_LO="$(c2ext .debug.lo "$SRC")"
+ ext_rule .debug.lo "$SRC" >> ${CONFIG_MK}
+ echo " ${LIBTOOL} --tag=CC --mode=compile \${CC} \${CPPFLAGS} \${CFLAGS_DEBUG} -c $SRC -o $SRC_DEBUG_LO" >> ${CONFIG_MK}
+done
+
+# Install
echo >> ${CONFIG_MK}
-echo "install: $LIBRARY $PROG" >> ${CONFIG_MK}
+echo "install: $LIB $PROG" >> ${CONFIG_MK}
echo " \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 -d \${LIBDIR}" >> ${CONFIG_MK}
-echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 $LIBRARY \${LIBDIR}" >> ${CONFIG_MK}
+echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0644 $LIB \${LIBDIR}" >> ${CONFIG_MK}
echo " \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 -d \${BINDIR}" >> ${CONFIG_MK}
echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 $PROG \${BINDIR}/$PROG" >> ${CONFIG_MK}
+
+update_config_mk
diff --git a/cli/rtbuf_cli.c b/cli/rtbuf_cli.c
index ed319c4..b4bf82a 100644
--- a/cli/rtbuf_cli.c
+++ b/cli/rtbuf_cli.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <pthread.h>
#include <stdlib.h>
diff --git a/cli/rtbuf_cli.h b/cli/rtbuf_cli.h
index 6fce09e..f5a57f7 100644
--- a/cli/rtbuf_cli.h
+++ b/cli/rtbuf_cli.h
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#ifndef RTBUF_CLI_H
#define RTBUF_CLI_H
diff --git a/cli/rtbuf_cli_main.c b/cli/rtbuf_cli_main.c
index 4470ed0..adf49b7 100644
--- a/cli/rtbuf_cli_main.c
+++ b/cli/rtbuf_cli_main.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include "../librtbuf/rtbuf.h"
#include "rtbuf_cli.h"
diff --git a/cli/update_sources b/cli/update_sources
new file mode 100644
index 0000000..91597fc
--- /dev/null
+++ b/cli/update_sources
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+. ../config.subr
+
+echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
+echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
+
+LIB_SOURCES="$(ls *.c | grep -Fv rtbuf_cli_main.c)"
+LIB_SOURCES="$(echo "$SOURCES" | tr '\n' ' ')"
+echo "LIB_SOURCES = $LIB_SOURCES" >> ${SOURCES_MK}
+echo "LIB_SOURCES='$LIB_SOURCES'" >> ${SOURCES_SH}
+
+PROG_SOURCES=rtbuf_cli_main.c
+echo "PROG_SOURCES = $PROG_SOURCES" >> ${SOURCES_MK}
+echo "PROG_SOURCES='$PROG_SOURCES'" >> ${SOURCES_SH}
+
+update_sources_mk
+update_sources_sh
diff --git a/configure b/configure
index 9eecde1..b61526c 100755
--- a/configure
+++ b/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
export RTBUF_SRC_TOP="$(pwd)/.."
diff --git a/gtk3/Makefile b/gtk3/Makefile
index 7a71a70..c4de53b 100644
--- a/gtk3/Makefile
+++ b/gtk3/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
CLEANFILES=
all: rtbuf-gtk3
diff --git a/gtk3/configure b/gtk3/configure
index 806d4a2..9b7844a 100755
--- a/gtk3/configure
+++ b/gtk3/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../config.subr
diff --git a/gtk3/list.c b/gtk3/list.c
index eb62e81..23387cb 100644
--- a/gtk3/list.c
+++ b/gtk3/list.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdlib.h>
#include "list.h"
diff --git a/gtk3/list.h b/gtk3/list.h
index 5517e81..0d82213 100644
--- a/gtk3/list.h
+++ b/gtk3/list.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/queue.c b/gtk3/queue.c
index 6b3b9de..2830aa7 100644
--- a/gtk3/queue.c
+++ b/gtk3/queue.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdlib.h>
#include "queue.h"
diff --git a/gtk3/queue.h b/gtk3/queue.h
index 5a7cc1e..10e5a01 100644
--- a/gtk3/queue.h
+++ b/gtk3/queue.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/rtbuf_gtk3.c b/gtk3/rtbuf_gtk3.c
index 53e5be8..2fa2778 100644
--- a/gtk3/rtbuf_gtk3.c
+++ b/gtk3/rtbuf_gtk3.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdio.h>
#include <time.h>
diff --git a/gtk3/rtbuf_gtk3.h b/gtk3/rtbuf_gtk3.h
index 9bb9801..15fab8e 100644
--- a/gtk3/rtbuf_gtk3.h
+++ b/gtk3/rtbuf_gtk3.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/rtbuf_gtk3_connection.c b/gtk3/rtbuf_gtk3_connection.c
index 0e7e877..96dbd09 100644
--- a/gtk3/rtbuf_gtk3_connection.c
+++ b/gtk3/rtbuf_gtk3_connection.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include "../librtbuf/data.h"
#include "rtbuf_gtk3.h"
diff --git a/gtk3/rtbuf_gtk3_connection.h b/gtk3/rtbuf_gtk3_connection.h
index 1eafad0..cac9abd 100644
--- a/gtk3/rtbuf_gtk3_connection.h
+++ b/gtk3/rtbuf_gtk3_connection.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/rtbuf_gtk3_input.c b/gtk3/rtbuf_gtk3_input.c
index 501e545..598fd76 100644
--- a/gtk3/rtbuf_gtk3_input.c
+++ b/gtk3/rtbuf_gtk3_input.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include <stdio.h>
diff --git a/gtk3/rtbuf_gtk3_input_widget.c b/gtk3/rtbuf_gtk3_input_widget.c
index 2a2c6b1..98cbd05 100644
--- a/gtk3/rtbuf_gtk3_input_widget.c
+++ b/gtk3/rtbuf_gtk3_input_widget.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <math.h>
#include <gtk/gtk.h>
diff --git a/gtk3/rtbuf_gtk3_input_widget.h b/gtk3/rtbuf_gtk3_input_widget.h
index 902fbc7..bead2a4 100644
--- a/gtk3/rtbuf_gtk3_input_widget.h
+++ b/gtk3/rtbuf_gtk3_input_widget.h
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#ifndef RTBUF_INPUT_WIDGET_H
#define RTBUF_INPUT_WIDGET_H
diff --git a/gtk3/rtbuf_gtk3_library.c b/gtk3/rtbuf_gtk3_library.c
index de029f1..193c81e 100644
--- a/gtk3/rtbuf_gtk3_library.c
+++ b/gtk3/rtbuf_gtk3_library.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <err.h>
#include <stdio.h>
diff --git a/gtk3/rtbuf_gtk3_library.h b/gtk3/rtbuf_gtk3_library.h
index 82543a9..d00c504 100644
--- a/gtk3/rtbuf_gtk3_library.h
+++ b/gtk3/rtbuf_gtk3_library.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/rtbuf_gtk3_output.c b/gtk3/rtbuf_gtk3_output.c
index 62167b0..b889a97 100644
--- a/gtk3/rtbuf_gtk3_output.c
+++ b/gtk3/rtbuf_gtk3_output.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include <stdio.h>
diff --git a/gtk3/rtbuf_gtk3_output_widget.c b/gtk3/rtbuf_gtk3_output_widget.c
index f0e074b..e555039 100644
--- a/gtk3/rtbuf_gtk3_output_widget.c
+++ b/gtk3/rtbuf_gtk3_output_widget.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include "rtbuf_gtk3.h"
diff --git a/gtk3/rtbuf_gtk3_output_widget.h b/gtk3/rtbuf_gtk3_output_widget.h
index 297d4a5..ff26320 100644
--- a/gtk3/rtbuf_gtk3_output_widget.h
+++ b/gtk3/rtbuf_gtk3_output_widget.h
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#ifndef RTBUF_OUTPUT_WIDGET_H
#define RTBUF_OUTPUT_WIDGET_H
diff --git a/gtk3/rtbuf_gtk3_rtbuf.c b/gtk3/rtbuf_gtk3_rtbuf.c
index 72a5c53..9204380 100644
--- a/gtk3/rtbuf_gtk3_rtbuf.c
+++ b/gtk3/rtbuf_gtk3_rtbuf.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include <stdio.h>
diff --git a/gtk3/rtbuf_gtk3_rtbuf_info.c b/gtk3/rtbuf_gtk3_rtbuf_info.c
index bd12bd2..78d013c 100644
--- a/gtk3/rtbuf_gtk3_rtbuf_info.c
+++ b/gtk3/rtbuf_gtk3_rtbuf_info.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include "rtbuf_gtk3_rtbuf_info.h"
diff --git a/gtk3/rtbuf_gtk3_rtbuf_info.h b/gtk3/rtbuf_gtk3_rtbuf_info.h
index a958136..e026ded 100644
--- a/gtk3/rtbuf_gtk3_rtbuf_info.h
+++ b/gtk3/rtbuf_gtk3_rtbuf_info.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/gtk3/rtbuf_gtk3_widget.c b/gtk3/rtbuf_gtk3_widget.c
index f547438..a2b929b 100644
--- a/gtk3/rtbuf_gtk3_widget.c
+++ b/gtk3/rtbuf_gtk3_widget.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <gtk/gtk.h>
#include "rtbuf_gtk3.h"
diff --git a/gtk3/rtbuf_gtk3_widget.h b/gtk3/rtbuf_gtk3_widget.h
index 7911d3d..008e4c5 100644
--- a/gtk3/rtbuf_gtk3_widget.h
+++ b/gtk3/rtbuf_gtk3_widget.h
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#ifndef RTBUF_WIDGET_H
#define RTBUF_WIDGET_H
diff --git a/gtk3/stack.c b/gtk3/stack.c
index 49f9348..4bec467 100644
--- a/gtk3/stack.c
+++ b/gtk3/stack.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include "stack.h"
diff --git a/gtk3/stack.h b/gtk3/stack.h
index f268d3b..7d22e61 100644
--- a/gtk3/stack.h
+++ b/gtk3/stack.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/Makefile b/lib/Makefile
index f7abf2b..06758d0 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
CLEANFILES =
all: types libraries subdirs
diff --git a/lib/configure b/lib/configure
index 0df5872..951c6ef 100755
--- a/lib/configure
+++ b/lib/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../config.subr
diff --git a/lib/dynamic.h b/lib/dynamic.h
index dbfc9db..8e586ea 100644
--- a/lib/dynamic.h
+++ b/lib/dynamic.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/dynamic/Makefile b/lib/dynamic/Makefile
index 4ad07e6..16e1fa0 100644
--- a/lib/dynamic/Makefile
+++ b/lib/dynamic/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/dynamic/configure b/lib/dynamic/configure
index fa5cd4d..d494e5b 100755
--- a/lib/dynamic/configure
+++ b/lib/dynamic/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/dynamic/limiter.c b/lib/dynamic/limiter.c
index 21b756a..2177ade 100644
--- a/lib/dynamic/limiter.c
+++ b/lib/dynamic/limiter.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <float.h>
#include <math.h>
#include "../../librtbuf/rtbuf.h"
diff --git a/lib/glfw3.h b/lib/glfw3.h
index f8262d6..7ce451b 100644
--- a/lib/glfw3.h
+++ b/lib/glfw3.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/glfw3/Makefile b/lib/glfw3/Makefile
index f45f03d..5cb9103 100644
--- a/lib/glfw3/Makefile
+++ b/lib/glfw3/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/glfw3/configure b/lib/glfw3/configure
index 7236f14..1d03133 100755
--- a/lib/glfw3/configure
+++ b/lib/glfw3/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/glfw3/keyboard.c b/lib/glfw3/keyboard.c
index 36dced1..c6e91d2 100644
--- a/lib/glfw3/keyboard.c
+++ b/lib/glfw3/keyboard.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include <stdio.h>
#include <string.h>
diff --git a/lib/glfw3/oscilloscope.c b/lib/glfw3/oscilloscope.c
index db03eda..3a5d3d9 100644
--- a/lib/glfw3/oscilloscope.c
+++ b/lib/glfw3/oscilloscope.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include "../../librtbuf/rtbuf.h"
#include "../../librtbuf/lib.h"
#include "../signal.h"
diff --git a/lib/music.c b/lib/music.c
index 98578e4..57f34c5 100644
--- a/lib/music.c
+++ b/lib/music.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <math.h>
#include <stdio.h>
diff --git a/lib/music.h b/lib/music.h
index 63ed162..7b59a7e 100644
--- a/lib/music.h
+++ b/lib/music.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/music_type.c b/lib/music_type.c
index 262e919..1666c5e 100644
--- a/lib/music_type.c
+++ b/lib/music_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "music.h"
diff --git a/lib/portaudio.h b/lib/portaudio.h
index 72901b0..43537d7 100644
--- a/lib/portaudio.h
+++ b/lib/portaudio.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/portaudio/Makefile b/lib/portaudio/Makefile
index f45f03d..5cb9103 100644
--- a/lib/portaudio/Makefile
+++ b/lib/portaudio/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/portaudio/config.c b/lib/portaudio/config.c
index b54fe15..6b2b48e 100644
--- a/lib/portaudio/config.c
+++ b/lib/portaudio/config.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/portaudio/configure b/lib/portaudio/configure
index b2b66bb..834ee49 100755
--- a/lib/portaudio/configure
+++ b/lib/portaudio/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/portaudio/input.c b/lib/portaudio/input.c
index 7e68e4a..36dcfe0 100644
--- a/lib/portaudio/input.c
+++ b/lib/portaudio/input.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <portaudio.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/portaudio/output.c b/lib/portaudio/output.c
index 396e0d2..95ecf7d 100644
--- a/lib/portaudio/output.c
+++ b/lib/portaudio/output.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <limits.h>
#include <portaudio.h>
#include <stdio.h>
diff --git a/lib/portaudio_type.c b/lib/portaudio_type.c
index d3c57f4..0a6e41e 100644
--- a/lib/portaudio_type.c
+++ b/lib/portaudio_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "portaudio.h"
diff --git a/lib/reverb.c b/lib/reverb.c
index 2b24a7e..ee8fb95 100644
--- a/lib/reverb.c
+++ b/lib/reverb.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/reverb.h b/lib/reverb.h
index c9ad176..b0fc2a3 100644
--- a/lib/reverb.h
+++ b/lib/reverb.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/reverb/Makefile b/lib/reverb/Makefile
index f45f03d..5cb9103 100644
--- a/lib/reverb/Makefile
+++ b/lib/reverb/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/reverb/configure b/lib/reverb/configure
index 2a1a801..9de74d7 100755
--- a/lib/reverb/configure
+++ b/lib/reverb/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/reverb/fdn4.c b/lib/reverb/fdn4.c
index 68f737a..d3689a1 100644
--- a/lib/reverb/fdn4.c
+++ b/lib/reverb/fdn4.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/reverb/hadamard.h b/lib/reverb/hadamard.h
index a733976..d65546d 100644
--- a/lib/reverb/hadamard.h
+++ b/lib/reverb/hadamard.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/reverb_type.c b/lib/reverb_type.c
index 7616e54..0804c41 100644
--- a/lib/reverb_type.c
+++ b/lib/reverb_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "reverb.h"
diff --git a/lib/signal.c b/lib/signal.c
index e1e1ae9..87ea4c7 100644
--- a/lib/signal.c
+++ b/lib/signal.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/signal.h b/lib/signal.h
index 0a4f83f..b896100 100644
--- a/lib/signal.h
+++ b/lib/signal.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/Makefile b/lib/signal/Makefile
index f45f03d..5cb9103 100644
--- a/lib/signal/Makefile
+++ b/lib/signal/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/signal/bandpass2.c b/lib/signal/bandpass2.c
index 26d764b..3b5cc24 100644
--- a/lib/signal/bandpass2.c
+++ b/lib/signal/bandpass2.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/configure b/lib/signal/configure
index 47a40bb..a9c026e 100755
--- a/lib/signal/configure
+++ b/lib/signal/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/signal/delay.c b/lib/signal/delay.c
index 6b55385..f990ee6 100644
--- a/lib/signal/delay.c
+++ b/lib/signal/delay.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include <strings.h>
#include "../../librtbuf/rtbuf.h"
diff --git a/lib/signal/equalizer10.c b/lib/signal/equalizer10.c
index f2d3dbb..b0c846c 100644
--- a/lib/signal/equalizer10.c
+++ b/lib/signal/equalizer10.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/flanger.c b/lib/signal/flanger.c
index 5f1b31f..8f8aa2d 100644
--- a/lib/signal/flanger.c
+++ b/lib/signal/flanger.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include <stdio.h>
#include <string.h>
diff --git a/lib/signal/hipass.c b/lib/signal/hipass.c
index ca84e2d..d0ccf26 100644
--- a/lib/signal/hipass.c
+++ b/lib/signal/hipass.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include "../../librtbuf/rtbuf.h"
#include "../../librtbuf/lib.h"
diff --git a/lib/signal/hipass2.c b/lib/signal/hipass2.c
index 323797e..f9af83c 100644
--- a/lib/signal/hipass2.c
+++ b/lib/signal/hipass2.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include "../../librtbuf/rtbuf.h"
#include "../../librtbuf/lib.h"
diff --git a/lib/signal/hipass3.c b/lib/signal/hipass3.c
index 6fd697b..0e71646 100644
--- a/lib/signal/hipass3.c
+++ b/lib/signal/hipass3.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/hipass4.c b/lib/signal/hipass4.c
index 5a7748d..349977f 100644
--- a/lib/signal/hipass4.c
+++ b/lib/signal/hipass4.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/hipass5.c b/lib/signal/hipass5.c
index 3403e4b..34e9408 100644
--- a/lib/signal/hipass5.c
+++ b/lib/signal/hipass5.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/lowpass.c b/lib/signal/lowpass.c
index 03440df..5b8a202 100644
--- a/lib/signal/lowpass.c
+++ b/lib/signal/lowpass.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include "../../librtbuf/rtbuf.h"
#include "../../librtbuf/lib.h"
diff --git a/lib/signal/lowpass2.c b/lib/signal/lowpass2.c
index f73ba56..dc26537 100644
--- a/lib/signal/lowpass2.c
+++ b/lib/signal/lowpass2.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/lowpass3.c b/lib/signal/lowpass3.c
index 5bd6a74..c4913aa 100644
--- a/lib/signal/lowpass3.c
+++ b/lib/signal/lowpass3.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <math.h>
#include "../../librtbuf/rtbuf.h"
#include "../../librtbuf/lib.h"
diff --git a/lib/signal/lowpass4.c b/lib/signal/lowpass4.c
index 81eb92a..8f09d40 100644
--- a/lib/signal/lowpass4.c
+++ b/lib/signal/lowpass4.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/lowpass5.c b/lib/signal/lowpass5.c
index 946a608..7cff34e 100644
--- a/lib/signal/lowpass5.c
+++ b/lib/signal/lowpass5.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/signal/sawtooth.c b/lib/signal/sawtooth.c
index 12ada9c..52c0b02 100644
--- a/lib/signal/sawtooth.c
+++ b/lib/signal/sawtooth.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <float.h>
#include <math.h>
#include <stdio.h>
diff --git a/lib/signal/sinus.c b/lib/signal/sinus.c
index 634444e..b31f532 100644
--- a/lib/signal/sinus.c
+++ b/lib/signal/sinus.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <float.h>
#include <math.h>
#include <stdio.h>
diff --git a/lib/signal/square.c b/lib/signal/square.c
index cbd4c01..7b6f9b5 100644
--- a/lib/signal/square.c
+++ b/lib/signal/square.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <float.h>
#include <math.h>
#include <stdio.h>
diff --git a/lib/signal_type.c b/lib/signal_type.c
index 3012a59..14c5f6a 100644
--- a/lib/signal_type.c
+++ b/lib/signal_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "signal.h"
diff --git a/lib/sndio.c b/lib/sndio.c
index ee66778..33eca9a 100644
--- a/lib/sndio.c
+++ b/lib/sndio.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <sndio.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/sndio.h b/lib/sndio.h
index 08d4584..2721e37 100644
--- a/lib/sndio.h
+++ b/lib/sndio.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/sndio/Makefile b/lib/sndio/Makefile
index f45f03d..5cb9103 100644
--- a/lib/sndio/Makefile
+++ b/lib/sndio/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/sndio/check_sndio.c b/lib/sndio/check_sndio.c
index 1c38256..3b13449 100644
--- a/lib/sndio/check_sndio.c
+++ b/lib/sndio/check_sndio.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/sndio/config.c b/lib/sndio/config.c
index ac346f9..8a3e3af 100644
--- a/lib/sndio/config.c
+++ b/lib/sndio/config.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/sndio/configure b/lib/sndio/configure
index fcd5d7c..cf4723a 100755
--- a/lib/sndio/configure
+++ b/lib/sndio/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/sndio/input.c b/lib/sndio/input.c
index 5d12316..88f2a85 100644
--- a/lib/sndio/input.c
+++ b/lib/sndio/input.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <sndio.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/sndio/output.c b/lib/sndio/output.c
index 0b19051..29e7677 100644
--- a/lib/sndio/output.c
+++ b/lib/sndio/output.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <limits.h>
#include <sndio.h>
#include <stdio.h>
diff --git a/lib/sndio_type.c b/lib/sndio_type.c
index f25fe5e..2a179ee 100644
--- a/lib/sndio_type.c
+++ b/lib/sndio_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "sndio.h"
diff --git a/lib/synth.h b/lib/synth.h
index 7bb5b7c..3d6eebc 100644
--- a/lib/synth.h
+++ b/lib/synth.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/lib/synth/Makefile b/lib/synth/Makefile
index f45f03d..5cb9103 100644
--- a/lib/synth/Makefile
+++ b/lib/synth/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
all: libraries
clean:
diff --git a/lib/synth/adsr.c b/lib/synth/adsr.c
index a187076..74cc397 100644
--- a/lib/synth/adsr.c
+++ b/lib/synth/adsr.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <float.h>
#include <stdio.h>
#include <strings.h>
diff --git a/lib/synth/configure b/lib/synth/configure
index 70e8e4c..f0eb8b1 100755
--- a/lib/synth/configure
+++ b/lib/synth/configure
@@ -1,16 +1,17 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
. ../../config.subr
diff --git a/lib/synth/synth.c b/lib/synth/synth.c
index 4bfafe0..cd5b624 100644
--- a/lib/synth/synth.c
+++ b/lib/synth/synth.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <float.h>
#include <stdio.h>
diff --git a/lib/synth_type.c b/lib/synth_type.c
index 5699030..3676d9c 100644
--- a/lib/synth_type.c
+++ b/lib/synth_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "music.h"
diff --git a/librtbuf/Makefile b/librtbuf/Makefile
index 94549f1..6a4d328 100644
--- a/librtbuf/Makefile
+++ b/librtbuf/Makefile
@@ -10,6 +10,7 @@
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
CLEANFILES = *.a *.gcno *.la librtbuf.la .libs *.lo *.o
CLEANFILES_COV = *.css *.gcda *.html .libs/*.gcda
diff --git a/librtbuf/configure b/librtbuf/configure
index 7761bda..8942132 100755
--- a/librtbuf/configure
+++ b/librtbuf/configure
@@ -1,34 +1,41 @@
#!/bin/sh
## rtbuf
-## Copyright 2018-2022 kmx.io <contact@kmx.io>
+## Copyright 2018-2023 kmx.io <contact@kmx.io>
##
-## Permission is hereby granted to use this software granted
-## the above copyright notice and this permission paragraph
-## are included in all copies and substantial portions of this
-## software.
+## Permission is hereby granted to use this software excepted
+## on Apple computers granted the above copyright notice and
+## this permission paragraph are included in all copies and
+## substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
+
set -e
export RTBUF_SRC_TOP="$(pwd)/.."
. ../config.subr
+# Targets
LIB=librtbuf.la
LIB_ASAN=librtbuf.asan.la
LIB_COV=librtbuf.cov.la
LIB_DEBUG=librtbuf.debug.la
+# Sources
. ./sources.sh
-OBJECTS="$(c2ext .main.lo "$LO_SOURCES")"
-echo "OBJECTS = $OBJECTS" >> ${CONFIG_MK}
-OBJECTS_ASAN="$(c2ext .asan.lo "$LO_SOURCES")"
-OBJECTS_COV="$(c2ext .cov.lo "$LO_SOURCES")"
-OBJECTS_DEBUG="$(c2ext .debug.lo "$LO_SOURCES")"
+LIB_OBJECTS="$(c2ext .main.lo "$LIB_SOURCES")"
+LIB_OBJECTS_ASAN="$(c2ext .asan.lo "$LIB_SOURCES")"
+LIB_OBJECTS_COV="$(c2ext .cov.lo "$LIB_SOURCES")"
+LIB_OBJECTS_DEBUG="$(c2ext .debug.lo "$LIB_SOURCES")"
+
+echo "LIB_OBJECTS = $LIB_OBJECTS" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_ASAN = $LIB_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_COV = $LIB_OBJECTS_COV" >> ${CONFIG_MK}
+echo "LIB_OBJECTS_DEBUG = $LIB_OBJECTS_DEBUG" >> ${CONFIG_MK}
# Default config
CPPFLAGS="${CPPFLAGS:=}"
@@ -73,6 +80,7 @@ echo "HAVE_ASAN = $HAVE_ASAN" >> ${CONFIG_MK}
echo "CPPFLAGS = $CPPFLAGS" >> ${CONFIG_MK}
echo "CFLAGS = $CFLAGS" >> ${CONFIG_MK}
echo "LDFLAGS = $LDFLAGS" >> ${CONFIG_MK}
+echo "LIB_OBJECTS = $LIB_OBJECTS" >> ${CONFIG_MK}
echo "LIBS = $LIBS" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
echo "CFLAGS_ASAN = $CFLAGS_ASAN" >> ${CONFIG_MK}
@@ -88,27 +96,27 @@ echo "LDFLAGS_DEBUG = $LDFLAGS_DEBUG" >> ${CONFIG_MK}
echo "LIBS_DEBUG = $LIBS_DEBUG" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$LIB: $OBJECTS" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS} ${OBJECTS} \${LIBS} -o ${LIB} -rpath ${LIBDIR}" >> ${CONFIG_MK}
+echo "$LIB: $LIB_OBJECTS" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS} ${LIB_OBJECTS} \${LIBS} -o ${LIB} -rpath ${LIBDIR}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$LIB_ASAN: $OBJECTS_ASAN" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_ASAN} ${OBJECTS_ASAN} \${LIBS_ASAN} -o ${LIB_ASAN}" >> ${CONFIG_MK}
+echo "$LIB_ASAN: $LIB_OBJECTS_ASAN" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_ASAN} ${LIB_OBJECTS_ASAN} \${LIBS_ASAN} -o ${LIB_ASAN}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$LIB_COV: $OBJECTS_COV" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_COV} ${OBJECTS_COV} \${LIBS_COV} -o ${LIB_COV}" >> ${CONFIG_MK}
+echo "$LIB_COV: $LIB_OBJECTS_COV" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_COV} ${LIB_OBJECTS_COV} \${LIBS_COV} -o ${LIB_COV}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
-echo "$LIB_DEBUG: $OBJECTS_DEBUG" >> ${CONFIG_MK}
-echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_DEBUG} ${OBJECTS_DEBUG} \${LIBS_DEBUG} -o ${LIB_DEBUG}" >> ${CONFIG_MK}
+echo "$LIB_DEBUG: $LIB_OBJECTS_DEBUG" >> ${CONFIG_MK}
+echo " ${LIBTOOL} --tag=CC --mode=link \${CC} \${LDFLAGS_DEBUG} ${LIB_OBJECTS_DEBUG} \${LIBS_DEBUG} -o ${LIB_DEBUG}" >> ${CONFIG_MK}
echo >> ${CONFIG_MK}
echo "install: ${LIB}" >> ${CONFIG_MK}
echo " \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 -d \${LIBDIR}" >> ${CONFIG_MK}
echo " \${LIBTOOL} --tag=CC --mode=install \${INSTALL} -o \${OWNER} -g \${GROUP} -m 0755 ${LIB} \${LIBDIR}" >> ${CONFIG_MK}
-for SRC in $SOURCES; do
+for SRC in $LIB_SOURCES; do
echo >> ${CONFIG_MK}
SRC_LO="$(c2ext .main.lo "$SRC")"
ext_rule .main.lo "$SRC" >> ${CONFIG_MK}
diff --git a/librtbuf/data.c b/librtbuf/data.c
index a16c964..a5b67fa 100644
--- a/librtbuf/data.c
+++ b/librtbuf/data.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdlib.h>
#include <strings.h>
diff --git a/librtbuf/data.h b/librtbuf/data.h
index 27c17a6..b2c08e9 100644
--- a/librtbuf/data.h
+++ b/librtbuf/data.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/defs.h b/librtbuf/defs.h
index a5ca1e0..7180460 100644
--- a/librtbuf/defs.h
+++ b/librtbuf/defs.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/lib.h b/librtbuf/lib.h
index 41528f3..d4bcf55 100644
--- a/librtbuf/lib.h
+++ b/librtbuf/lib.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/proc.h b/librtbuf/proc.h
index 94f6944..d9962da 100644
--- a/librtbuf/proc.h
+++ b/librtbuf/proc.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/queue.h b/librtbuf/queue.h
index 3ea1de6..8ec3cac 100644
--- a/librtbuf/queue.h
+++ b/librtbuf/queue.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/rtbuf.c b/librtbuf/rtbuf.c
index c63413d..b337ee8 100644
--- a/librtbuf/rtbuf.c
+++ b/librtbuf/rtbuf.c
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/rtbuf.h b/librtbuf/rtbuf.h
index 1908f5f..21dc2a0 100644
--- a/librtbuf/rtbuf.h
+++ b/librtbuf/rtbuf.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/rtbuf_lib.c b/librtbuf/rtbuf_lib.c
index 56a82b9..9e56aa1 100644
--- a/librtbuf/rtbuf_lib.c
+++ b/librtbuf/rtbuf_lib.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <dlfcn.h>
#include <stdio.h>
diff --git a/librtbuf/rtbuf_proc.c b/librtbuf/rtbuf_proc.c
index 4ea73cb..fddc1c4 100644
--- a/librtbuf/rtbuf_proc.c
+++ b/librtbuf/rtbuf_proc.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/librtbuf/rtbuf_type.c b/librtbuf/rtbuf_type.c
index b870418..ab3f635 100644
--- a/librtbuf/rtbuf_type.c
+++ b/librtbuf/rtbuf_type.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/librtbuf/rtbuf_var.c b/librtbuf/rtbuf_var.c
index 0c33f14..7d3f8da 100644
--- a/librtbuf/rtbuf_var.c
+++ b/librtbuf/rtbuf_var.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdio.h>
#include "data.h"
diff --git a/librtbuf/symbol.c b/librtbuf/symbol.c
index 81d9ef9..34a79ba 100644
--- a/librtbuf/symbol.c
+++ b/librtbuf/symbol.c
@@ -1,17 +1,16 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
-
#include <assert.h>
#include <stdio.h>
#include <string.h>
diff --git a/librtbuf/symbol.h b/librtbuf/symbol.h
index d6bc24d..e302a6e 100644
--- a/librtbuf/symbol.h
+++ b/librtbuf/symbol.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/type.h b/librtbuf/type.h
index c70078e..8e3a428 100644
--- a/librtbuf/type.h
+++ b/librtbuf/type.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
diff --git a/librtbuf/update_sources b/librtbuf/update_sources
index 8ca1c6a..9ad0510 100755
--- a/librtbuf/update_sources
+++ b/librtbuf/update_sources
@@ -5,14 +5,10 @@
echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
-SOURCES="$(ls *.c)"
-SOURCES="$(echo "$SOURCES" | tr '\n' ' ')"
-echo "SOURCES = $SOURCES" >> ${SOURCES_MK}
-echo "SOURCES='$SOURCES'" >> ${SOURCES_SH}
-
-LO_SOURCES="$SOURCES"
-echo "LO_SOURCES = $LO_SOURCES" >> ${SOURCES_MK}
-echo "LO_SOURCES='$LO_SOURCES'" >> ${SOURCES_SH}
+LIB_SOURCES="$(ls *.c)"
+LIB_SOURCES="$(echo "$SOURCES" | tr '\n' ' ')"
+echo "LIB_SOURCES = $LIB_SOURCES" >> ${SOURCES_MK}
+echo "LIB_SOURCES='$LIB_SOURCES'" >> ${SOURCES_SH}
update_sources_mk
update_sources_sh
diff --git a/librtbuf/var.h b/librtbuf/var.h
index 4a1394d..a2bf8c4 100644
--- a/librtbuf/var.h
+++ b/librtbuf/var.h
@@ -1,10 +1,10 @@
/* rtbuf
- * Copyright 2018-2022 kmx.io <contact@kmx.io>
+ * Copyright 2018-2023 kmx.io <contact@kmx.io>
*
- * Permission is hereby granted to use this software granted
- * the above copyright notice and this permission paragraph
- * are included in all copies and substantial portions of this
- * software.
+ * Permission is hereby granted to use this software excepted
+ * on Apple computers granted the above copyright notice and
+ * this permission paragraph are included in all copies and
+ * substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE