##
##  Copyright 1989 BBN Systems and Technologies Corporation.
##  All Rights Reserved.
##  This is free software, and may be distributed under the terms of the
##  GNU Public License; see the file COPYING for more details.
##
##  Codafile for Cronus source distribution.
##  $Header: Codafile,v 2.0 90/04/02 16:55:56 rsalz Exp $
##  $Revision: 2.0 $
##

##  Relative pathnames start from this directory, unless the client
##  tells us otherwise.
define root	= /usr/cronus;

##  Allow the client to specify a different root.
#define rooted = YES;

##  No binaries here.
define binaries = NO;

##  The list of hosts we ship to and their types.
host	citron.bbn.com		= VMS;
host	doe.bbn.com		= sun4;
host	prune.bbn.com		= sun3;
host	gneiss.bbn.com		= sun386;
host	grape.bbn.com		= sysv;
host	guava.bbn.com		= masscomp;
host	kiwi.bbn.com		= sysv;
host	litchi.bbn.com		= sun3;
host	melon.bbn.com		= mach;
host	mentor.bbn.com		= sun2;
host	papaya.bbn.com		= sun3;
host	izar.bbn.com		= sun4;
host	peach.bbn.com		= xenix;
host	pineapple.bbn.com	= ultrix;
host	vulcan.bbn.com		= sun2;

##  Suns
class	SUN	=
    sun2, sun3, sun386, sun4;

##  List of all UNIX types.
class	UNIX	=
    mach, masscomp, sun2, sun3, sun386, sun4, sysv, ultrix, xenix;

##

include: _ALL {
    include
}

install: _ALL {
    install
	except	UNIX	"*.com";
	except	VMS	addservice, await_mgr, catalog_host, do_authen,
			do_bug, do_cm, do_config, do_cosdir, do_createprins,
			do_diskless, do_install, do_mcs, do_motd, do_pf,
			do_poller, do_pristine, do_repeater, do_typedef,
			do_xenix, killmgr, readit, scrub, zap_file;
}

##  Random stuff
misc: _ALL {
    cbin
	except	VMS	dcc, dlint;
    clib
	except 	_ALL	commandfile, "*.[oa]", "llib-l*";
	except	UNIX	cronus.mms, cronus.opt;
	except	directory VMS	lint, diamond;
	except	directory mach	diamond;
    directory cetc
    cetc/hostfile		# Only these files
    cetc/typefile		# named here
    cetc/errors.8
    cetc/errors.44
    directory mgrs
    public			# Everyone gets everything
}

##  Sources; raison d'etre.
sources: _ALL {
    src
	except VMS	Makefile, "*.sh", "*.s", "llib-l*";
	except UNIX	descrip.mms,  "*.opt", "*.com", "*.mar";
	except _ALL	"*.lo", "*.do", "*.[oa]", "*.ln";
	except _ALL	a.out, core, foo, tags, make.out, lint;
	except directory _ALL	testing;
	except directory xenix	arctic, examine;
	except directory xenix	dumpobject, fixobject, ping;
	except directory VMS	arctic, examine, ping;
}

##  Testing; not given by default; you must ask for it.
only_explicitly testing: _ALL {
    src/testing
}
