##++ Makefile for SGI IRIX V6.0+ version of NQS
#
# $Source$
#
# DESCRIPTION:
#
#	Network Queueing System (NQS) Makefile
#
#
#	To "make" NQS for NPSN UNIX, one should first change directory to
#	the ../proto directory (as a SUPERUSER) and type:
#
#		make directories	(Unnecessary if the NQS directories
#					 already exist)
#	and then (as a NON-SUPERUSER):
#
#		make
#
#	then as SUPERUSER (still in the ../proto directory),
#
#		make install
#
#
#
#	NQS Run-time Directory Hierarchy:
#
#
#	$(NQS_SPOOL)/			    NQS directory tree;	       mode 711
#		      new/		    Parent of new request      mode 700
#		      |	 |		    database hierarchy
#		      |	 |		    (mode 700 must be maintained
#		      |  |		    to prevent unauthorized
#		      |	 |		    linking to and deleting of
#		      |  V		    new request files);
#		      |  requests/	    New request files and      mode 777
#		      |			    FIFO request pipe to
#		      |			    NQS local daemon;
#		      private/		    NQS private directories;   mode 700
#		      |	     root/	    NQS root directory;	       mode 777
#		      |		 V	    (Mode MUST be 777)
#		      |		 control/   Parent of the request      mode 777
#		      |		 |	|   control file directories;
#		      |		 |      V
#		      |		 |     <subdirectories>		       mode 777
#		      |		 V
#		      |		 data/	    Parent of the request      mode 777
#		      |		 |   |	    data files (e.g. print
#		      |		 |   |      files, commands for batch
#		      |          |   |      requests;
#		      |		 |   V
#		      |		 |  <subdirectories>		       mode 777
#		      |		 V
#		      |		 database/  NQS database files (see    mode 777
#		      |		 |	    database_qa, database_qo,
#		      |		 V	    and transact also);
#		      |		 database_qa/
#		      |		 V	    Queue access files;	       mode 777
#		      |		 database_qo/
#		      |		 V	    Queue ordering files;      mode 777
#		      |		 failed/    Saved copies of requests   mode 777
#		      |		 V	    that caused problems;
#		      |		 interproc/ Inter-process	       mode 777
#		      |		 |	    communication files for
#		      |		 |	    completion code results FROM
#		      |		 |	    the NQS daemon to local client
#		      |		 V	    processes;
#		      |		 output/    Spooled output files,      mode 777
#		      |		 |     |    and mail log files for
#		      |		 |     |    NQS batch requests.
#		      |		 |     V
#		      |		 |    <subdirectories>		       mode 777
#		      |		 V
#		      |		 transact/  Transaction files;	       mode 777
#		      |			 V
#		      |			<subdirectories>	       mode 777
#		      |			
#		      V
#		      scripts/		    Contains links to active   mode 711
#					    shell scripts when the
#					    NQS shell-strategy is
#					    set to free mode.
#				
#
#
#	Author:
#	-------
#	Brent A. Kingsbury, Sterling Software Incorporated.
#	November 12, 1985.
#
#
# STANDARDS VIOLATIONS:
#
# REVISION HISTORY: ($Revision$ $Date$ $State$)
# $Log$
#
#--
#
# These first parameters are the ones that you might want to modify while
# building NQS...
#
#  NQS_GROUP is a group that will be given special access
#	to the queueing system (system maintainers).
#  NQS_OWNER is the name of the user who owns the NQS directory
#	identified by NQS_SPOOL, and all directories descended
#	from the NQS_SPOOL directory.
#  NQS_LIBEXE is where ancillary NQS programs and files live.
#	(can be shared by the same architecture).
#  NQS_SPOOL is the top of the NQS spooling tree (.../spool/nqs)
#	(must be private to each system running NQS).
#  NQS_USREXE is where user interface NQS programs live.
#	(can be shared by the same architecture).
#  NQS_MAN is the location for installing man pages.
#	(can be shared by the same architecture).
#  NQS_NMAP is the location of the Nmapmgr database.
#	(can be shared by the same architecture).
#  NQS_STAGE_LOC is the directory in which the next version is
#	held for install when the system is idle. (can be shared by the same
#	architecture).	
#  QMGR_HELPFILE defines the full path of the installed NQS Qmgr
#	help file (can be shared by the same architecture).
#
NQS_GROUP = 	bin
NQS_OWNER = 	root

# NQS_ROOTDIR is a directory which is (possibly) shared via NFS between
# several machines
NQS_ROOTDIR  =  /usr/local

# NQS_ROOTPRIV is a directory which is UNIQUE to each machine running NQS
NQS_ROOTPRIV =  /var/spool

# Existing users of NQS may wish to change these variables to conform to
# existing installations.

NQS_MAN       = $(NQS_ROOTDIR)/man
NQS_SPOOL     = $(NQS_ROOTPRIV)/nqs
# NQS_LIBEXE  = $(NQS_ROOTDIR)/lib/nqs
  # BSD-style
NQS_LIBEXE    = $(NQS_ROOTDIR)/sbin
  # Linux/SYSV alternative
NQS_HOME      = $(NQS_ROOTDIR)/lib/nqs
NQS_USREXE    = $(NQS_ROOTDIR)/bin
NQS_STAGE_LOC = $(NQS_ROOTDIR)/lib/nqs/stage
QMGR_HELPFILE = $(NQS_ROOTDIR)/lib/nqs/qmgr.hlp
NQS_NMAP      = $(NQS_ROOTDIR)/lib/nqs/nmap

# uncomment the makefile for your machine

#include Makefile.ibm			# AIX
#include Makefile.hpux8			# HP-UX v8
#include Makefile.hpux9			# HP-UX v9
#include Makefile.sgi4			# IRIX 4.x
#include Makefile.sgi			# IRIX 5.x
#include Makefile.sgi6			# IRIX 6.x, 32-bit binary
#include Makefile.sgi6.64		# IRIX 6.x, 64-bit binary
#include Makefile.linux			# Linux
#include Makefile.ncr			# NCR UNIX
#include Makefile.decosf		# OSF/1 on DEC hardware
#include Makefile.solaris		# Solaris 2.x
#include Makefile.sun			# SunOS 4.x
#include Makefile.ultrix		# ULTRIX
