From acea23d9001e54eedcc97ae98785a89035298af8 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 29 May 2026 18:04:04 +0200 Subject: [PATCH] utils: move sofprobeclient to separate subdirectory Signed-off-by: Jaroslav Kysela --- .gitignore | 1 + configure.ac | 1 + src/utils/Makefile.am | 7 +++---- src/utils/sofprobeclient/Makefile.am | 9 +++++++++ src/utils/{ => sofprobeclient}/probe_dma_frame.h | 0 src/utils/{ => sofprobeclient}/probes_demux.c | 0 src/utils/{ => sofprobeclient}/probes_demux.h | 0 src/utils/{ => sofprobeclient}/probes_wave.h | 0 src/utils/{ => sofprobeclient}/sofprobeclient.c | 0 9 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 src/utils/sofprobeclient/Makefile.am rename src/utils/{ => sofprobeclient}/probe_dma_frame.h (100%) rename src/utils/{ => sofprobeclient}/probes_demux.c (100%) rename src/utils/{ => sofprobeclient}/probes_demux.h (100%) rename src/utils/{ => sofprobeclient}/probes_wave.h (100%) rename src/utils/{ => sofprobeclient}/sofprobeclient.c (100%) diff --git a/.gitignore b/.gitignore index 6831c3d..d766540 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ m4/lt~obsolete.m4 cplay crecord fcplay +sofprobeclient # other ignores *.patch diff --git a/configure.ac b/configure.ac index f3c7c32..fc7e68f 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,7 @@ include/Makefile src/Makefile src/lib/Makefile src/utils/Makefile +src/utils/sofprobeclient/Makefile src/utils-lgpl/Makefile tinycompress.pc]) AC_OUTPUT diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am index 9c83362..53937b9 100644 --- a/src/utils/Makefile.am +++ b/src/utils/Makefile.am @@ -1,14 +1,13 @@ -bin_PROGRAMS = cplay crecord sofprobeclient +SUBDIRS=sofprobeclient + +bin_PROGRAMS = cplay crecord cplay_SOURCES = cplay.c wave.c crecord_SOURCES = crecord.c wave.c -sofprobeclient_SOURCES = sofprobeclient.c probes_demux.c cplay_CFLAGS = -I$(top_srcdir)/include crecord_CFLAGS = -I$(top_srcdir)/include -sofprobeclient_CFLAGS = -I$(top_srcdir)/include cplay_LDADD = $(top_builddir)/src/lib/libtinycompress.la crecord_LDADD = $(top_builddir)/src/lib/libtinycompress.la -sofprobeclient_LDADD = $(top_builddir)/src/lib/libtinycompress.la diff --git a/src/utils/sofprobeclient/Makefile.am b/src/utils/sofprobeclient/Makefile.am new file mode 100644 index 0000000..f60614c --- /dev/null +++ b/src/utils/sofprobeclient/Makefile.am @@ -0,0 +1,9 @@ +bin_PROGRAMS = sofprobeclient + +noinst_HEADERS = probe_dma_frame.h probes_demux.h probes_wave.h + +sofprobeclient_SOURCES = sofprobeclient.c probes_demux.c + +sofprobeclient_CFLAGS = -I$(top_srcdir)/include + +sofprobeclient_LDADD = $(top_builddir)/src/lib/libtinycompress.la diff --git a/src/utils/probe_dma_frame.h b/src/utils/sofprobeclient/probe_dma_frame.h similarity index 100% rename from src/utils/probe_dma_frame.h rename to src/utils/sofprobeclient/probe_dma_frame.h diff --git a/src/utils/probes_demux.c b/src/utils/sofprobeclient/probes_demux.c similarity index 100% rename from src/utils/probes_demux.c rename to src/utils/sofprobeclient/probes_demux.c diff --git a/src/utils/probes_demux.h b/src/utils/sofprobeclient/probes_demux.h similarity index 100% rename from src/utils/probes_demux.h rename to src/utils/sofprobeclient/probes_demux.h diff --git a/src/utils/probes_wave.h b/src/utils/sofprobeclient/probes_wave.h similarity index 100% rename from src/utils/probes_wave.h rename to src/utils/sofprobeclient/probes_wave.h diff --git a/src/utils/sofprobeclient.c b/src/utils/sofprobeclient/sofprobeclient.c similarity index 100% rename from src/utils/sofprobeclient.c rename to src/utils/sofprobeclient/sofprobeclient.c -- 2.52.0