diff options
author | Matthias P. Braendli (think) <matthias@mpb.li> | 2013-11-10 18:25:04 +0100 |
---|---|---|
committer | Matthias P. Braendli (think) <matthias@mpb.li> | 2013-11-10 18:25:04 +0100 |
commit | 4f9a01a80570437b86e69eb0542b13df9a20743d (patch) | |
tree | 46790dc24b0f3ca78acffba46e3e6633901903dc /src/Makefile.am | |
parent | f0fbd5f88e5dbe6b0168082eed103aa003b1221a (diff) | |
download | dabmod-4f9a01a80570437b86e69eb0542b13df9a20743d.tar.gz dabmod-4f9a01a80570437b86e69eb0542b13df9a20743d.tar.bz2 dabmod-4f9a01a80570437b86e69eb0542b13df9a20743d.zip |
dabmod: add file input to separate class, change version
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 991267b..0bb9dc9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,6 +16,11 @@ # You should have received a copy of the GNU General Public License # along with CRC-DADMOD. If not, see <http://www.gnu.org/licenses/>. +if IS_HG_REPO +HGVERSION_FLAGS = -DHGVERSION="\"`hg parents --template '-{node|short}'`\"" +else +HGVERSION_FLAGS = -DHGVERSION="\"-modified\"" +endif FFT_DIR=$(top_builddir)/lib/kiss_fft129 FFT_INC=-I$(FFT_DIR) -I$(FFT_DIR)/tools @@ -35,7 +40,7 @@ $(FFT_DIR): tar xzf $(top_srcdir)/lib/kiss_fft129.tar.gz -C $(top_builddir)/lib; \ fi -crc_dabmod_CPPFLAGS = $(FFT_INC) $(FFT_FLG) -msse -msse2 +crc_dabmod_CPPFLAGS = $(FFT_INC) $(FFT_FLG) -msse -msse2 $(HGVERSION_FLAGS) crc_dabmod_SOURCES = DabMod.cpp \ PcDebug.h \ porting.c porting.h \ @@ -59,6 +64,7 @@ crc_dabmod_SOURCES = DabMod.cpp \ OutputUHD.cpp OutputUHD.h \ ModOutput.cpp ModOutput.h \ InputMemory.cpp InputMemory.h \ + InputFileReader.cpp InputReader.h \ OutputFile.cpp OutputFile.h \ FrameMultiplexer.cpp FrameMultiplexer.h \ ModMux.cpp ModMux.h \ |