summaryrefslogtreecommitdiff
path: root/packaging/SGI/makefile.pl
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-11-12 16:02:32 +0000
committerHerb Lewis <herb@samba.org>1998-11-12 16:02:32 +0000
commitfe7090cfb052729b75873c13c75578323aff2a5d (patch)
treea95cafa24c6af0bc0b73fdf2118ae9021c3130b9 /packaging/SGI/makefile.pl
parent887fa6c8b123987c0105a0ca79237f80612cd313 (diff)
downloadsamba-fe7090cfb052729b75873c13c75578323aff2a5d.tar.gz
samba-fe7090cfb052729b75873c13c75578323aff2a5d.tar.bz2
samba-fe7090cfb052729b75873c13c75578323aff2a5d.zip
no longer needed
(This used to be commit fb6a79ea3a79d54099ec57715db17a7935130e9f)
Diffstat (limited to 'packaging/SGI/makefile.pl')
-rwxr-xr-xpackaging/SGI/makefile.pl38
1 files changed, 0 insertions, 38 deletions
diff --git a/packaging/SGI/makefile.pl b/packaging/SGI/makefile.pl
deleted file mode 100755
index d621097a22..0000000000
--- a/packaging/SGI/makefile.pl
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/perl
-
-# This perl script creates the SGI specific Makefile.
-# The BASEDIR is set to /usr/samba, MANDIR is set to /usr/share/man, and
-# the lines are uncommented for the requested OS version. If no version
-# is specified, IRIX 6 is used.
-
-if (!@ARGV) {
- $OSver = "6";
-}
-else {
- $OSver = $ARGV[0];
-}
-
-open(MAKEIN,"../../source/Makefile") || die "Unable to open source Makefile\n";
-open(MAKEOUT,">Makefile") || die "Unable to open Makefile for output\n";
-while (<MAKEIN>) {
- if (/^BASEDIR =/) {
- print MAKEOUT "BASEDIR = /usr/samba\n";
- }
- elsif (/^MANDIR =/) {
- print MAKEOUT "MANDIR = /usr/share/man\n";
- }
- elsif (/^# FOR SGI IRIX $OSver/) {
- print MAKEOUT;
- while (<MAKEIN>) {
- last if ($_ eq "\n");
- if (/^# (FLAGSM|LIBSM|FLAGS1)/) {
- s/^# //;
- }
- print MAKEOUT;
- }
- print MAKEOUT;
- }
- else {
- print MAKEOUT;
- }
-}