#! /bin/sh
dir="/usr/local"
# $Id: openhbci-config.in.in,v 1.5 2003/05/18 21:46:36 aquamaniac Exp $
# Author: Martin Preuss<openhbci@aquamaniac.de>

result=""

for d in $*; do
    case $d in
	--includes)
	    result="$result  -I$dir/include"
	    ;;
	--libraries)
	    result="$result -L$dir/lib -lopenhbci"
	    ;;
        --plugins)
            result="$result /usr/local/lib/openhbci/plugins/13"
            ;;
	*)
	    echo "Usage:"
	    echo "$0 --includes gives you the include flags"
	    echo "$0 --libraries gives you the library flags"
	    echo "$0 --plugins gives you the location of the plugins"
	    exit 1
	    ;;
    esac
done
echo $result
