From f0da0c5858723cf9235fcaf7a78d0436ec84a4eb Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 28 Oct 1997 19:20:07 +0000 Subject: removing Makefile and adding perl script to generate it form source tree (This used to be commit eb95385f65bb36528649e205f617a03dc8db2d97) --- packaging/SGI/makefile.pl | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 packaging/SGI/makefile.pl (limited to 'packaging/SGI/makefile.pl') diff --git a/packaging/SGI/makefile.pl b/packaging/SGI/makefile.pl new file mode 100755 index 0000000000..0857ecd909 --- /dev/null +++ b/packaging/SGI/makefile.pl @@ -0,0 +1,24 @@ +#!/usr/bin/perl + +while (<>) { + if (/^BASEDIR =/) { + print "BASEDIR = /usr/samba\n"; + } + elsif (/^MANDIR =/) { + print "MANDIR = /usr/share/man\n"; + } + elsif (/^# FOR SGI IRIX 6/) { + print; + $a = <>; + print $a; + <>; + <>; + <>; + print "FLAGSM = -DSGI5 -DSHADOW_PWD -DHAVE_TIMEZONE -DFAST_SHARE_MODES\n"; + print "LIBSM =\n"; + print "FLAGS1 = -O -n32 -g3 -OPT:fold_arith_limit=1256\n"; + } + else { + print; + } +} -- cgit