#! /bin/sh

case "$OSTYPE" in
linux)
  echo "Compiling for Linux"
  g++ -g -pipe -I. -I../../heaplayers -D_REENTRANT=1 -shared libmemlog.cpp -lpthread -o libmemlog.so;;
solaris)
  echo "Compiling for Solaris"
  g++ -pipe -mcpu=ultrasparc -O3 -finline-limit=10000 -fPIC -fkeep-inline-functions -finline-functions -ffast-math -fomit-frame-pointer -DNDEBUG  -I. -I../../heaplayers -D_REENTRANT=1 -shared libmemlog.cpp -lthread -lpthread -o libmemlog.so;;
*)
  echo "hmmm"
esac



