summaryrefslogtreecommitdiff
path: root/packaging/SGI/makefile.pl
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1997-10-28 19:20:07 +0000
committerHerb Lewis <herb@samba.org>1997-10-28 19:20:07 +0000
commitf0da0c5858723cf9235fcaf7a78d0436ec84a4eb (patch)
tree8a701a2b857733cc89752ad05d43d40846ff12f9 /packaging/SGI/makefile.pl
parent86f4709cdc52e7b4ce69817a1f89dd515fec9226 (diff)
downloadsamba-f0da0c5858723cf9235fcaf7a78d0436ec84a4eb.tar.gz
samba-f0da0c5858723cf9235fcaf7a78d0436ec84a4eb.tar.bz2
samba-f0da0c5858723cf9235fcaf7a78d0436ec84a4eb.zip
removing Makefile and adding perl script to generate it form source tree
(This used to be commit eb95385f65bb36528649e205f617a03dc8db2d97)
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;
+ }
+}