#!/bin/sh

_INCLUDES="-I"$JAVA_HOME/include" -I"$JAVA_HOME/include/linux""

g++ $_INCLUDES -c ../native-src/jbossAgent.cpp 
g++ $_INCLUDES -c ../native-src/jbossAgentJNI.cpp 
g++ $_INCLUDES -c ../native-src/jbossAgentUtilities.cpp 

#gcc -G -o libjbossAgent.so $_INCLUDES -shared *.o 
g++ $_INCLUDES -shared -o libjbossAgent.so *.o 

