3 # This perl script creates the SGI specific Makefile.
4 # The BASEDIR is set to /usr/samba, MANDIR is set to /usr/share/man, and
5 # the lines are uncommented for the requested OS version. If no version
6 # is specified, IRIX 6 is used.
15 open(MAKEIN
,"../../source/Makefile") || die "Unable to open source Makefile\n";
16 open(MAKEOUT
,">Makefile") || die "Unable to open Makefile for output\n";
19 print MAKEOUT
"BASEDIR = /usr/samba\n";
22 print MAKEOUT
"MANDIR = /usr/share/man\n";
24 elsif (/^# FOR SGI IRIX $OSver/) {
28 if (/^# (FLAGSM|LIBSM|FLAGS1)/) {