view make-pc.sh @ 667:c322a631ba23

Yet more Makefile refinements Now stands a real chance on multiple python versions and multiple OSes. Still won't work on OS X, though.
author mas01cr
date Wed, 03 Feb 2010 10:50:02 +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"