summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/buildsunos
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-20 18:29:38 +0000
committerpeter <peter@FreeBSD.org>1998-06-20 18:29:38 +0000
commit9529c38ad8859b9f325867d97f266101f2c4dca3 (patch)
tree7c9206c000e7ad493db842a3fecdf77deacb096a /contrib/ipfilter/buildsunos
parent58e3555d887b6a5b1f460d8ee84ca4e97c0a8217 (diff)
downloadFreeBSD-src-9529c38ad8859b9f325867d97f266101f2c4dca3.zip
FreeBSD-src-9529c38ad8859b9f325867d97f266101f2c4dca3.tar.gz
Import trimmed version of ipfilter 3.2.7.
Obtained from: Darren Reed via http://cheops.anu.edu.au/~avalon/
Diffstat (limited to 'contrib/ipfilter/buildsunos')
-rwxr-xr-xcontrib/ipfilter/buildsunos17
1 files changed, 9 insertions, 8 deletions
diff --git a/contrib/ipfilter/buildsunos b/contrib/ipfilter/buildsunos
index b3f6578..ed8a034 100755
--- a/contrib/ipfilter/buildsunos
+++ b/contrib/ipfilter/buildsunos
@@ -1,23 +1,24 @@
#! /bin/sh
-# $Id: buildsunos,v 2.0.2.4 1997/05/24 07:32:46 darrenr Exp $
+# $Id: buildsunos,v 2.0.2.4.2.1 1998/05/21 14:46:04 darrenr Exp $
:
rev=`uname -r | sed -e 's/^\([^\.]*\)\..*/\1/'`
cpu=`uname -m`
+cpudir=${cpu}-`uname -r`
if [ $rev = 5 ] ; then
solrev=`uname -r | sh -c 'IFS=. read j n x; echo $n'`
- mkdir -p SunOS5/${cpu}
- /bin/rm -f SunOS5/${cpu}/Makefile
- /bin/rm -f SunOS5/${cpu}/Makefile.ipsend
- ln -s ../Makefile SunOS5/${cpu}/Makefile
- ln -s ../Makefile.ipsend SunOS5/${cpu}/Makefile.ipsend
+ mkdir -p SunOS5/${cpudir}
+ /bin/rm -f SunOS5/${cpudir}/Makefile
+ /bin/rm -f SunOS5/${cpudir}/Makefile.ipsend
+ ln -s ../Makefile SunOS5/${cpudir}/Makefile
+ ln -s ../Makefile.ipsend SunOS5/${cpudir}/Makefile.ipsend
fi
if [ $cpu = i86pc ] ; then
- make ${1+"$@"} sunos5x86 SOLARIS2="-DSOLARIS2=$solrev" CPU=${cpu}
+ make ${1+"$@"} sunos5x86 SOLARIS2="-DSOLARIS2=$solrev" CPU=${cpu} CPUDIR=${cpudir}
exit $?
fi
if [ x$solrev = x ] ; then
make ${1+"$@"} sunos$rev "ARCH=`uname -m`"
exit $?
fi
-make ${1+"$@"} sunos$rev SOLARIS2="-DSOLARIS2=$solrev" CPU=${cpu}
+make ${1+"$@"} sunos$rev SOLARIS2="-DSOLARIS2=$solrev" CPU=${cpu} CPUDIR=${cpudir}
exit $?
OpenPOWER on IntegriCloud