From jik@pit-manager.MIT.EDU Fri Jul 20 19:24:03 1990
Date: Tue, 8 May 90 18:24:21 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
Sender: jik@pit-manager.MIT.EDU
To: jh@ATHENA.MIT.EDU
Cc: jh@ATHENA.MIT.EDU
In-Reply-To: Joe Harrington's message of Tue, 8 May 90 16:00:38 -0400 <9005082000.AA13815@M54-419-4.MIT.EDU>
Subject: sm


  You should have a source directory for each architecture to which I
can put a symbolic link in sipbsrc.  The makefile in that source
directory should have the following rules:

	depend - to add dependencies to the makefile
	all - to build everything
	install - to install everything, including libraries and man
		pages
	clean - obvious

The install rule should work with the following Make variables, so
that I can pass them in when I do builds:

	DESTDIR - the root of the filesystem into which installation
		is taking place; should default to the null string.
	BINDIR - the binary directory; should default to
		"/usr/sipb/$(MACHINE)bin"
	LIBDIR - should default to "/usr/sipb/lib"
	MANDIR - should default to "/usr/sipb/man"

  Putting libraries in /usr/sipb/lib/sm should be fine.  If there are
going to be system-dependent library files, they should be in
/usr/sipb/lib/sm/$(MACHINE).  Your install rule should check for the
existence of /usr/sipb/lib/sm and create it if it does not exist, but
it can assume that /usr/sipb/lib exists (can also assume that
/usr/sipb/$(MACHINE)bin, /usr/sipb/man, and /usr/sipb/man? all exist).

  That just about covers it.

  jik

