8 MAJOR=\`(cut -d . -f 1 VERSION)\`
9 MINOR=\`(cut -d . -f 2 VERSION)\`
12 # mac...think different :(
13 if [ "$(uname -s)" = Darwin ]
15 cat >> config.mk <<-EOF
17 SOFLAGS = -dynamiclib -install_name "libderp.\${MAJOR}.dylib" -current_version \${VER} -compatibility_version \${MAJOR}.\${MINOR}.0
20 cat >> config.mk <<-EOF
22 SOFLAGS = -shared -Wl,-soname,libderp.so.\${MAJOR}.\${MINOR}