#!/bin/sh

rm -f *.so
rm -f *.dll
rm -f *.o

_INCLUDES="-I$JAVA_HOME/include -I$JAVA_HOME/include/solaris -I../../src/zlib"

CC $_INCLUDES -D ZLIB $_OPTS -c ../native-src/jbossAgent.cpp
CC $_INCLUDES -D ZLIB $_OPTS -c ../native-src/jbossAgentJNI.cpp
CC $_INCLUDES -D ZLIB $_OPTS -c ../native-src/jbossAgentUtilities.cpp

CC $_INCLUDES -D ZLIB $_OPTS -G -o libjbossAgent.so *.o
