root/gs3-extensions/audioDB/trunk/src/src/CASCADE-MAKE/FFTEXTRACT.sh @ 24322

Revision 24322, 2.1 KB (checked in by davidb, 8 years ago)

Fine tuning to get fftExtract to compile

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=fftExtract
4version=-QM-svn
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_AUDIODB ../.. $*
9
10prefix=$GEXTAUDIODB_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTAUDIODB_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTAUDIODB_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTAUDIODB_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTAUDIODB_INSTALLED/lib"
16
17echo GSDLOS = $GSDLOS
18
19opt_run_untar $force_untar $auto_untar $package $version
20
21##if [ $force_untar = "1" ] ; then
22if [ $auto_config = "1" ] ; then
23  if [ -d $package$version ] ; then
24
25    if [ ! -f fftExtract-QM-svn/configure.ac ] ; then
26      echo "Copying fftExtract-configure.ac to fftExtract-QM-snv/configure.ac"
27      /bin/cp fftExtract-configure.ac fftExtract-QM-svn/configure.ac
28    fi
29
30    if [ ! -f fftExtract-QM-svn/configure ] ; then
31      echo "Copying fftExtract-configure to fftExtract-QM-snv/configure"
32      /bin/cp fftExtract-configure fftExtract-QM-svn/configure
33    fi
34
35    if [ ! -f fftExtract-QM-svn/Makefile.in ] ; then
36      echo "Copying fftExtract-Makefile.in to fftExtract-QM-snv/Makefile.in"
37      /bin/cp fftExtract-Makefile.in fftExtract-QM-svn/Makefile.in
38    fi
39
40    if [ ! -f fftExtract-QM-svn/config.h.in ] ; then
41      echo "Creating empty fftExtract-QM-snv/config.h.in"
42      touch fftExtract-QM-svn/config.h.in
43    fi
44
45    if [ ! -f fftExtract-QM-svn/install-sh ] ; then
46      echo "Copying fftExtract-install-sh to fftExtract-QM-snv/install-sh"
47      /bin/cp fftExtract-install-sh fftExtract-QM-svn/install-sh
48    fi
49
50  fi
51fi
52
53opt_run_configure $force_config $auto_config $package $version $prefix
54
55
56opt_run_make $compile $package $version
57
58
59#  GENGETOPT=$GEXTAUDIODB_INSTALLED/bin/gengetopt \
60#  SOAPCPP2=$GEXTAUDIODB_INSTALLED/bin/soapcpp2 \
61#  GSOAP_CPP=$GEXT_AUDIODB/packages/gsoap-2.8,3/gsoap/stdsoap2.cpp
62
63
64#  GSOAP_INCLUDE="-I /path/to/gsoap" \
65#  GSL_INCLUDE'"-I /path/to/gsl/"
66#  LIBGSL="-L/path/to/libgsl/libraries -lgsl -lgslcblas"
67
68opt_run_make $install $package $version "install"
69opt_run_make $clean $package $version "clean"
70opt_run_make $distclean $package $version "distclean"
71
72opt_run_tarclean $tarclean $package $version
73
Note: See TracBrowser for help on using the browser.