#! /bin/sh

#
# Script to give the appropriate compiler flags and linker flags
# to use when building code that uses libpcap.
#
case "$1" in

--cflags)
	echo "-I /opt/toolchains/uclibc-crosstools-gcc-4.2.3-3/usr/include/"
	;;

--libs)
	echo "-L /opt/toolchains/uclibc-crosstools-gcc-4.2.3-3/lib/ -lpcap "
	;;
esac
