source: gs3-extensions/audioDB/trunk/src/src/CASCADE-MAKE/AUDIODB.sh@ 24326

Last change on this file since 24326 was 24326, checked in by davidb, 10 years ago

Removal of debugging lines

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#!/bin/bash
2
3package=audioDB
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 audioDB-QM-svn/configure.ac ] ; then
26 echo "Copying audioDB-configure.ac to audioDB-QM-snv/configure.ac"
27 /bin/cp audioDB-configure.ac audioDB-QM-svn/configure.ac
28 fi
29
30 if [ ! -f audioDB-QM-svn/configure ] ; then
31 echo "Copying audioDB-configure to audioDB-QM-snv/configure"
32 /bin/cp audioDB-configure audioDB-QM-svn/configure
33 fi
34
35 if [ ! -f audioDB-QM-svn/Makefile.in ] ; then
36 echo "Copying audioDB-Makefile.in to audioDB-QM-snv/Makefile.in"
37 /bin/cp audioDB-Makefile.in audioDB-QM-svn/Makefile.in
38 fi
39
40 if [ ! -f audioDB-QM-svn/config.h.in ] ; then
41 echo "Creating empty audioDB-QM-snv/config.h.in"
42 touch audioDB-QM-svn/config.h.in
43 fi
44
45 fi
46fi
47
48opt_run_configure $force_config $auto_config $package $version $prefix
49
50
51opt_run_make $compile $package $version \
52 GENGETOPT=$GEXTAUDIODB_INSTALLED/bin/gengetopt \
53 SOAPCPP2=$GEXTAUDIODB_INSTALLED/bin/soapcpp2 \
54 GSOAP_CPP=$GEXT_AUDIODB/packages/gsoap-2.8,3/gsoap/stdsoap2.cpp
55
56
57# GSOAP_INCLUDE="-I /path/to/gsoap" \
58# GSL_INCLUDE'"-I /path/to/gsl/"
59# LIBGSL="-L/path/to/libgsl/libraries -lgsl -lgslcblas"
60
61opt_run_make $install $package $version "install"
62opt_run_make $clean $package $version "clean"
63opt_run_make $distclean $package $version "distclean"
64
65opt_run_tarclean $tarclean $package $version
66
Note: See TracBrowser for help on using the repository browser.