X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095..ff1555c1d973c2d0aea546b4d20577715e132577:/projects/sgconv/build diff --git a/projects/sgconv/build b/projects/sgconv/build index 7e430be2..aa826138 100755 --- a/projects/sgconv/build +++ b/projects/sgconv/build @@ -21,6 +21,7 @@ if [ "$1" = "debug" ] then DEFS="$DEFS -DDEBUG" MAKEOPTS="$MAKEOPTS -j1" + CFLAGS="$CFLAGS -ggdb3 -W -Wall -Wextra" CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra" DEBUG="yes" else @@ -28,6 +29,7 @@ else DEBUG="no" fi +CFLAGS="$CFLAGS -ggdb3 -W -Wall -I/usr/local/include" CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" @@ -45,15 +47,13 @@ then 5) OS=bsd5;; 6) OS=bsd5;; 7) OS=bsd7;; - 8) OS=bsd7;; - 9) OS=bsd7;; - *) OS=unknown;; + *) OS=bsd7;; esac MAKE="gmake" fi if [ "$OS" = "unknown" ] -then +then printf "#############################################################################\n" printf "# Sorry, but sgconv currently supported by Linux, FreeBSD 4.x, 5.x, 6.x #\n" printf "#############################################################################\n" @@ -64,12 +64,12 @@ printf "######################################################################## printf " Building sgconv for $sys $release\n" printf "#############################################################################\n" -STG_LIBS="logger.lib +STG_LIBS="logger.lib locker.lib - crypto.lib - common.lib - conffiles.lib - dotconfpp.lib" + crypto.lib + common.lib + conffiles.lib + dotconfpp.lib" PLUGINS="store/files"