I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f2fe5140 authored by kytv's avatar kytv
Browse files

Add NetBSD support

parent 2261039a
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,15 @@
case `uname -sr` in
MINGW*)
echo "Building windows .dll's";;
echo "Building windows .dlls";;
CYGWIN*)
echo "Building windows .dll's";;
echo "Building windows .dlls";;
Linux*)
echo "Building linux .so's";;
echo "Building linux .sos";;
NetBSD*)
echo "Building netbsd .sos";;
FreeBSD*)
echo "Building freebsd .so's";;
echo "Building freebsd .sos";;
Darwin*)
echo "Building OSX jnilibs";;
*)
......@@ -37,6 +39,20 @@ Darwin*)
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include/"
LINKFLAGS="-dynamiclib -framework JavaVM"
LIBFILE="lib/freenet/support/CPUInformation/libjcpuid-x86-darwin.jnilib";;
NetBSD*)
case `uname -m` in
amd64)
LINKFLAGS="-shared -Wl,-soname,libjcpuid-x86_64-netbsd.so"
LIBFILE="lib/netnet/support/CPUInformation/libjcpuid-x86_64-netbsd.so";;
i?86*)
LINKFLAGS="-shared -Wl,-soname,libjcpuid-x86-netbsd.so"
LIBFILE="lib/netnet/support/CPUInformation/libjcpuid-x86-netbsd.so";;
*)
echo "Unknown build environment"
exit;;
esac
COMPILEFLAGS="-fPIC -Wall"
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include/ -I$JAVA_HOME/include/netbsd/";;
FreeBSD*)
case `uname -m` in
amd64)
......
#/bin/bash
#/usr/bin/env bash
# Automatic build of so files, ignores failed builds.
# Place latest gmp tarball in the jbigi dir, and exec this script.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment