xiRetimer

fit recorded audio to a tempo
git clone https://git.ce9e.org/xiRetimer.git

commit
460d31f04122cbc2c2a856132822431684fd3e6e
parent
f1a6e775faa4498733596b95623a213a556f0de7
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2010-11-18 01:39
makefile

Diffstat

A compile.sh 7 +++++++
A configure.ac 48 ++++++++++++++++++++++++++++++++++++++++++++++++
D makefile 18 ------------------
A makefile.in 20 ++++++++++++++++++++
M xiRetimer 0

5 files changed, 75 insertions, 18 deletions


diff --git a/compile.sh b/compile.sh

@@ -0,0 +1,7 @@
   -1     1 #!/bin/bash
   -1     2 aclocal
   -1     3 autoconf
   -1     4 ./configure
   -1     5 make
   -1     6 make clean
   -1     7 rm -rf aclocal.m4 autom4te.cache config.log config.status configure

diff --git a/configure.ac b/configure.ac

@@ -0,0 +1,48 @@
   -1     1 AC_PREREQ([2.67])
   -1     2 AC_INIT([retimer], [0.2], [])
   -1     3 AC_CONFIG_SRCDIR([src/playback.h])
   -1     4 
   -1     5 # Checks for programs.
   -1     6 AC_PROG_CXX
   -1     7 AC_PROG_CC
   -1     8 
   -1     9 AC_SUBST(_CFLAGS)
   -1    10 AC_SUBST(_PKGC)
   -1    11 
   -1    12 # check files
   -1    13 AC_CHECK_FILES(
   -1    14 	/usr/share/icons/gnome/16x16/actions/fileopen.png
   -1    15 	/usr/share/icons/gnome/16x16/actions/document-save.png 
   -1    16 	/usr/share/icons/gnome/16x16/actions/document-properties.png 
   -1    17 	/usr/share/icons/gnome/16x16/actions/window-close.png 
   -1    18 	/usr/share/icons/gnome/16x16/actions/media-playback-start.png 
   -1    19 	/usr/share/icons/gnome/16x16/actions/media-skip-backward.png 
   -1    20 	/usr/share/icons/gnome/16x16/actions/edit-clear.png 
   -1    21 	/usr/share/icons/gnome/16x16/actions/stock_refresh.png 
   -1    22 	/usr/share/icons/gnome/16x16/actions/help-about.png,
   -1    23 	[],[icons="error"])
   -1    24 if test "x$icons" = "x" ; then 
   -1    25   _CFLAGS="$_CFLAGS -DICONS_GNOME"
   -1    26   echo "  Compiling with Gnome icons"
   -1    27 fi
   -1    28 
   -1    29 # Checks for libraries.
   -1    30 PKG_CHECK_MODULES([SDL],[sdl])
   -1    31 PKG_CHECK_MODULES([sndfile],[sndfile])
   -1    32 
   -1    33 PKG_CHECK_MODULES([RubberBand],[rubberband >= 1.4],
   -1    34 	[_CFLAGS="$_CFLAGS -DMODE_RUBBERBAND"
   -1    35          _PKGC="$_PKGC rubberband"
   -1    36 	 echo "  Compiling with RubberBand support"])
   -1    37 
   -1    38 
   -1    39 # Checks for header files.
   -1    40 
   -1    41 # Checks for typedefs, structures, and compiler characteristics.
   -1    42 AC_HEADER_STDBOOL
   -1    43 
   -1    44 # Checks for library functions.
   -1    45 
   -1    46 AC_CONFIG_FILES([makefile])
   -1    47 AC_OUTPUT
   -1    48 

diff --git a/makefile b/makefile

@@ -1,18 +0,0 @@
    1    -1 VERSION = 0.2
    2    -1 CC      = /usr/bin/g++
    3    -1 CFLAGS  = -DMODE_RUBBERBAND -DICONS_GNOME -DVERSION=\"$(VERSION)\"
    4    -1 LDFLAGS = `sdl-config --cflags --libs` `pkg-config --cflags --libs rubberband sndfile`
    5    -1 
    6    -1 xiRetimer: gui back
    7    -1 	$(CC) $(CFLAGS) -o xiRetimer *.o $(LDFLAGS) `wx-config --cxxflags --libs`
    8    -1 
    9    -1 back: src/*.cpp src/*.h
   10    -1 	$(CC) $(CFLAGS) -c src/*.cpp src/*.h $(LDFLAGS)
   11    -1 
   12    -1 gui: back src/gui/*.cpp src/gui/*.h
   13    -1 	$(CC) $(CFLAGS) -c src/gui/*.cpp src/gui/*.h $(LDFLAGS) `wx-config --cxxflags --libs`
   14    -1 
   15    -1 .PHONY: clean
   16    -1 clean:
   17    -1 	rm -f *.o src/*.gch src/gui/*.gch
   18    -1 

diff --git a/makefile.in b/makefile.in

@@ -0,0 +1,20 @@
   -1     1 VERSION = 0.2
   -1     2 CC      = /usr/bin/g++
   -1     3 CFLAGS  = @_CFLAGS@ -DVERSION=\"$(VERSION)\" `sdl-config --cflags` `pkg-config --cflags sndfile @_PKGC@` `wx-config --cppflags`
   -1     4 LDFLAGS = `sdl-config --libs` `pkg-config --libs sndfile @_PKGC@` `wx-config --libs`
   -1     5 
   -1     6 xiRetimer: .gui .back
   -1     7 	$(CC) -o xiRetimer *.o $(LDFLAGS)
   -1     8 
   -1     9 .gui: .back src/gui/*.cpp src/gui/*.h
   -1    10 	$(CC) $(CFLAGS) -c src/gui/*.cpp src/gui/*.h
   -1    11 	touch .gui
   -1    12 
   -1    13 .back: src/*.cpp src/*.h
   -1    14 	$(CC) $(CFLAGS) -c src/*.cpp src/*.h
   -1    15 	touch .back
   -1    16 
   -1    17 .PHONY: clean
   -1    18 clean:
   -1    19 	rm -f *.o src/*.gch src/gui/*.gch .gui .back
   -1    20 

diff --git a/xiRetimer b/xiRetimer

Binary files differ.