#Gentoo:
#JDKINCLUDE="-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux/"
#or (adapt)
#JDKINCLUDE="-I/opt/sun-jdk-1.6.0.12/include/ -I/opt/sun-jdk-1.6.0.12/include/linux/"
#Ubuntu:
#JDKINCLUDE="-I/usr/lib/jvm/java-6-sun/include/ -I/usr/lib/jvm/java-6-sun/include/linux"
#Ubuntu OpenJDK:
#JDKINCLUDE="-I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java-6-openjdk/include/linux"
#local:
JDKINCLUDE="-I../include"

g++ $JDKINCLUDE -fPIC -O2 -Wall -c -fmessage-length=0 -oDVBTunerNativeJNILinux.o DVBTunerNativeJNILinux.cpp
g++ -shared -olibzeipisdvbtune.so  ./DVBTunerNativeJNILinux.o
