From df2f98f809a40cb380bf4570aa6522d12beac18c Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <jmvalin@amazon.com>
Date: Wed, 17 May 2023 15:33:46 -0400
Subject: [PATCH] Add LPCNet headers to make dist

---
 Makefile.am       |  3 ++-
 lpcnet_headers.mk | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 lpcnet_headers.mk

diff --git a/Makefile.am b/Makefile.am
index 3d1d5ed28..0d888d62d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,6 +82,7 @@ CLEANFILES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) \
  $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S)
 
 include celt_headers.mk
+include lpcnet_headers.mk
 include silk_headers.mk
 include opus_headers.mk
 
@@ -94,7 +95,7 @@ endif
 
 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h include/opus_projection.h
 
-noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
+noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD) $(LPCNET_HEAD)
 
 if EXTRA_PROGRAMS
 noinst_PROGRAMS = celt/tests/test_unit_cwrs32 \
diff --git a/lpcnet_headers.mk b/lpcnet_headers.mk
new file mode 100644
index 000000000..2685e0b60
--- /dev/null
+++ b/lpcnet_headers.mk
@@ -0,0 +1,26 @@
+LPCNET_HEAD = \
+silk/dred_coding.h \
+silk/dred_config.h \
+silk/dred_decoder.h \
+silk/dred_encoder.h \
+lpcnet/include/dred_rdovae.h \
+lpcnet/include/lpcnet.h \
+lpcnet/src/burg.h \
+lpcnet/src/common.h \
+lpcnet/src/freq.h \
+lpcnet/src/kiss99.h \
+lpcnet/src/lpcnet_private.h \
+lpcnet/src/nnet_data.h \
+lpcnet/src/nnet.h \
+lpcnet/src/plc_data.h \
+lpcnet/src/tansig_table.h \
+lpcnet/src/vec.h \
+lpcnet/src/vec_avx.h \
+lpcnet/src/vec_neon.h \
+lpcnet/src/dred_rdovae_constants.h \
+lpcnet/src/dred_rdovae_enc.h \
+lpcnet/src/dred_rdovae_enc_data.h \
+lpcnet/src/dred_rdovae_dec.h \
+lpcnet/src/dred_rdovae_dec_data.h \
+lpcnet/src/dred_rdovae_stats_data.h \
+lpcnet/src/pitch.h
-- 
GitLab