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

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