finalisation decoupage options

This commit is contained in:
2019-01-09 12:08:25 -05:00
parent 950e76d6e8
commit d18504ce2a
6 changed files with 40 additions and 95 deletions
+4 -3
View File
@@ -1,8 +1,10 @@
#!/bin/bash
ABSEC_AUTHEN_DEP="-lpam -lpam_misc "
ABSEC_AUTHEN_FILE="absec_pam.o"
#could be absec_pam or absec_etc
ABSEC_AUTO_DEP="`mysql_config --cflags --libs` "
ABSEC_AUTO_FILE="absec_mysql.o"
#could be absec_fs or absec_mysql
echo "----------------"
echo "Cleaning projets"
@@ -42,15 +44,14 @@ echo "Running test"
echo "================"
echo "Compiling filesystem module"
gcc absec_fs.c `mysql_config --cflags --libs` -I/usr/include/apache2 -I/usr/include/apr-1.0 -fPIC -c
gcc absec_fs.c -I/usr/include/apache2 -I/usr/include/apr-1.0 -fPIC -c
echo "----------------"
echo "Compiling auto test with filesystem (test_auto -labsec_fs)"
gcc test_auto.c absec_mysql.o `mysql_config --cflags --libs` -I/usr/include/apache2 -I/usr/include/apr-1.0 -o test_auto
gcc test_auto.c absec_fs.o -I/usr/include/apache2 -I/usr/include/apr-1.0 -o test_auto
echo "Running test"
./test_auto
echo "================"
echo "Compiling absec tools"
echo "- absec_ls"