summaryrefslogtreecommitdiff
path: root/packaging/SGI/makefile.pl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SGI/makefile.pl')
-rwxr-xr-xpackaging/SGI/makefile.pl24
1 files changed, 24 insertions, 0 deletions
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;
+ }
+}