summaryrefslogtreecommitdiff
path: root/packaging/SGI/makefile.pl
blob: 0857ecd909fa43c7f98bcc1a6234dc00684e902f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
    }
}