12 -d) sdir="$2" ; shift 2 ;;
13 -f) hardenfile="$2" ; shift 2 ;;
39 # If we have a file to use (ie, HF is not empty) then look for one.
42 PATH=$PATH:libevent/build-aux
44 set `scripts/cvo.sh @osname@ @osver@` || exit 1
56 hf=harden/$CVO_OSNAME$x
57 ${V}echo "Looking for <$hf>" >&2
64 *.*) x=`echo $x | sed -e 's/\.[^.]*$//'` ;;
71 ${V}echo "Looking for <$hf>" >&2
78 # Handle some "aliases"
84 ${V}echo "Looking for <$hf>" >&2
92 ${V}echo "Looking for <$hf>" >&2
102 # This might be a good place to see if uname returns "Linux",
103 # and if so, use a generic file for that.
109 ${V}echo "Looking for <$hf>" >&2
123 ${V}echo "Looking for <$hf>" >&2
133 echo "No harden/XXX file found!" >&2
140 ${V}echo "Using <$HF>" >&2
141 echo "GENHARDFLAGFILE=$HF"
147 echo "NTP_HARD_CFLAGS='$NTP_HARD_CFLAGS'"
148 echo "NTP_HARD_CPPFLAGS='$NTP_HARD_CPPFLAGS'"
149 echo "NTP_HARD_LDFLAGS='$NTP_HARD_LDFLAGS'"