view make-pc.sh @ 664:e33a6342ddea

Basic Makefile for python bindings Not sure if it actually works. Building seems to go OK; "make test" is less happy.
author mas01cr
date Tue, 02 Feb 2010 22:22:42 +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"