From 077e1bc42810d783cb645412603f1954ce68c7b6 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 22 Sep 2020 13:32:13 -0400 Subject: [PATCH] Makefile.am : Added use of cwALSA --- Makefile.am | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 07d281f..1107852 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,11 +38,17 @@ endif libcwHDR += src/libcw/cwSerialPortDecls.h src/libcw/cwSerialPort.h src/libcw/cwSerialPortSrv.h libcwSRC += src/libcw/cwSerialPort.cpp src/libcw/cwSerialPortSrv.cpp -libcwHDR += src/libcw/cwMidiDecls.h src/libcw/cwMidi.h src/libcw/cwMidiPort.h -libcwSRC += src/libcw/cwMidi.cpp src/libcw/cwMidiPort.cpp src/libcw/cwMidiAlsa.cpp +libcwHDR += src/libcw/cwMidiDecls.h src/libcw/cwMidi.h +libcwSRC += src/libcw/cwMidi.cpp -libcwHDR += src/libcw/cwAudioDeviceDecls.h src/libcw/cwAudioDevice.h src/libcw/cwAudioDeviceAlsa.h -libcwSRC += src/libcw/cwAudioDevice.cpp src/libcw/cwAudioDeviceAlsa.cpp src/libcw/cwAudioDeviceTest.cpp +libcwHDR += src/libcw/cwAudioDeviceDecls.h src/libcw/cwAudioDevice.h +libcwSRC += src/libcw/cwAudioDevice.cpp + +if cwALSA + +libcwHDR += src/libcw/cwMidiPort.h src/libcw/cwAudioDeviceAlsa.h +libcwSRC += src/libcw/cwMidiPort.cpp src/libcw/cwMidiAlsa.cpp src/libcw/cwAudioDeviceAlsa.cpp src/libcw/cwAudioDeviceTest.cpp +endif libcwHDR += src/libcw/cwAudioBufDecls.h src/libcw/cwAudioBuf.h libcwSRC += src/libcw/cwAudioBuf.cpp