mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-10 19:07:16 +01:00
21 lines
387 B
Bash
Executable file
21 lines
387 B
Bash
Executable file
#!/bin/sh
|
|
|
|
OUTDIR=${HOME}/local/snort/lib/snort_dynamicpreprocessor
|
|
LIBSF=libsf_ai_preproc
|
|
|
|
make clean
|
|
make
|
|
chmod +x ./${LIBSF}.la
|
|
cp ./${LIBSF}.la ${OUTDIR}
|
|
cp .libs/${LIBSF}.a ${OUTDIR}
|
|
cp .libs/${LIBSF}.so.0.0.0 ${OUTDIR}
|
|
cd ${OUTDIR}
|
|
|
|
if [ ! -f ${LIBSF}.so.0 ]; then
|
|
ln -sf ${LIBSF}.so.0.0.0 ${LIBSF}.so.0
|
|
fi
|
|
|
|
if [ ! -f ${LIBSF}.so ]; then
|
|
ln -sf ${LIBSF}.so.0.0.0 ${LIBSF}.so
|
|
fi
|
|
|