Mercurial > hg > audiodb
view make-pc.sh @ 655:2a97f3f9a6ac
Rework the audioDB binary / gengetopt command-line parsing glue
For cygwin 1.7 / gengetopt 2.22.3, not even the minor constness in the
cmdline_parser() call passes muster. Just cast to (char **) and const
be damned.
author | mas01cr |
---|---|
date | Tue, 27 Oct 2009 17:48:55 +0000 |
parents | 957dd4fb2599 |
children |
line wrap: on
line source
#! /bin/bash EXECUTABLE="$1" LIBDIR="$2" INCLUDEDIR="$3" SOVERSION=$4 MINORVERSION=$5 echo "includedir=$INCLUDEDIR" echo "libdir=$LIBDIR" echo echo "Name: $EXECUTABLE" echo "Description: the $EXECUTABLE library" echo "Version: $SOVERSION.$MINORVERSION" echo "Requires.private: gsl gsoap++" echo 'Cflags: -I${includedir}' echo 'Libs: -L${libdir} -l'"$EXECUTABLE"