X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a89444b19b0ceb41db8db6cfa4e6fa77e26d7759..81b359cdaff64a514ddfff9f86e398d0d37c06d1:/projects/stargazer/build diff --git a/projects/stargazer/build b/projects/stargazer/build index 2061d538..ec14eaad 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -39,6 +39,7 @@ if [ "$1" = "debug" ] then DEFS="$DEFS -DDEBUG" MAKEOPTS="$MAKEOPTS -j1" + CFLAGS="$CFLAGS -ggdb3 -W -Wall" CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall" DEBUG="yes" else @@ -46,6 +47,7 @@ else DEBUG="no" fi +CFLAGS="$CFLAGS -I/usr/local/include" CXXFLAGS="$CXXFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" @@ -64,9 +66,7 @@ then 5) OS=bsd5;; 6) OS=bsd5;; 7) OS=bsd7;; - 8) OS=bsd7;; - 9) OS=bsd7;; - *) OS=unknown;; + *) OS=bsd7;; esac ETC_DIR="./inst/freebsd/etc/stargazer" MAKE="gmake" @@ -80,7 +80,7 @@ then fi if [ "$OS" = "unknown" ] -then +then printf "#############################################################################\n" printf "# Sorry, but stargazer currently supported by Linux, FreeBSD 4.x, 5.x, 6.x #\n" printf "#############################################################################\n" @@ -91,14 +91,14 @@ printf "######################################################################## printf " Building STG 2.4 for $sys $release\n" printf "#############################################################################\n" -STG_LIBS="logger.lib +STG_LIBS="logger.lib locker.lib - crypto.lib - common.lib - scriptexecuter.lib - conffiles.lib - pinger.lib - dotconfpp.lib + crypto.lib + common.lib + scriptexecuter.lib + conffiles.lib + pinger.lib + dotconfpp.lib smux.lib" PLUGINS="authorization/ao