head	1.34;
access;
symbols;
locks; strict;
comment	@# @;


1.34
date	96.03.15.18.42.29;	author ghudson;	state Exp;
branches;
next	1.33;

1.33
date	96.03.14.02.22.43;	author ghudson;	state Exp;
branches;
next	1.32;

1.32
date	96.03.11.22.12.21;	author ghudson;	state Exp;
branches;
next	1.31;

1.31
date	96.03.10.19.16.22;	author ghudson;	state Exp;
branches;
next	1.30;

1.30
date	96.01.17.08.49.52;	author ghudson;	state Exp;
branches;
next	1.29;

1.29
date	96.01.17.07.49.12;	author ghudson;	state Exp;
branches;
next	1.28;

1.28
date	96.01.06.19.14.59;	author yoav;	state Exp;
branches;
next	1.27;

1.27
date	95.12.25.02.31.59;	author ghudson;	state Exp;
branches;
next	1.26;

1.26
date	95.12.25.01.31.30;	author ghudson;	state Exp;
branches;
next	1.25;

1.25
date	95.11.12.00.45.02;	author ghudson;	state Exp;
branches;
next	1.24;

1.24
date	95.11.09.03.56.51;	author ghudson;	state Exp;
branches;
next	1.23;

1.23
date	95.11.06.00.53.24;	author ghudson;	state Exp;
branches;
next	1.22;

1.22
date	95.11.05.23.27.21;	author ghudson;	state Exp;
branches;
next	1.21;

1.21
date	95.11.05.04.25.49;	author yoav;	state Exp;
branches;
next	1.20;

1.20
date	95.10.28.21.09.07;	author ghudson;	state Exp;
branches;
next	1.19;

1.19
date	95.10.28.20.42.42;	author ghudson;	state Exp;
branches;
next	1.18;

1.18
date	95.10.28.01.45.29;	author ghudson;	state Exp;
branches;
next	1.17;

1.17
date	95.10.18.22.59.27;	author yoav;	state Exp;
branches;
next	1.16;

1.16
date	95.10.17.18.00.26;	author yoav;	state Exp;
branches;
next	1.15;

1.15
date	95.10.12.19.51.30;	author ghudson;	state Exp;
branches;
next	1.14;

1.14
date	95.10.04.21.44.28;	author yoav;	state Exp;
branches;
next	1.13;

1.13
date	95.09.08.19.22.57;	author yoav;	state Exp;
branches;
next	1.12;

1.12
date	95.08.26.05.02.37;	author yoav;	state Exp;
branches;
next	1.11;

1.11
date	95.08.26.04.55.05;	author yoav;	state Exp;
branches;
next	1.10;

1.10
date	95.08.14.14.49.40;	author ghudson;	state Exp;
branches;
next	1.9;

1.9
date	95.08.13.22.05.46;	author ghudson;	state Exp;
branches;
next	1.8;

1.8
date	95.08.13.21.15.26;	author ghudson;	state Exp;
branches;
next	1.7;

1.7
date	95.08.13.20.25.08;	author ghudson;	state Exp;
branches;
next	1.6;

1.6
date	95.08.13.19.35.50;	author ghudson;	state Exp;
branches;
next	1.5;

1.5
date	95.08.10.07.54.42;	author ghudson;	state Exp;
branches;
next	1.4;

1.4
date	95.08.10.06.03.34;	author ghudson;	state Exp;
branches;
next	1.3;

1.3
date	95.08.09.20.33.10;	author ghudson;	state Exp;
branches;
next	1.2;

1.2
date	95.08.09.10.08.51;	author ghudson;	state Exp;
branches;
next	1.1;

1.1
date	95.08.09.08.43.49;	author ghudson;	state Exp;
branches;
next	;


desc
@@


1.34
log
@Avoid recursion when we can't cd into a directory.
@
text
@# Notes:
#	* AL needs to be built in build tree before telnet

CONFDIR=	/usr/athena/config

ATHIMAKE=	AL adduser attach cleanup config delete discuss from \
		getcluster gettime gms help hesiod hostinfo ispell \
		kerberometer lert login lpr machtype mkserv neos quota \
		rkinit sendbug session synctree techinfo telnet \
		transcript-v2.1 write xdm athdir sis xdsc
XIMAKE=		dash tcsh
CUSTIMAKE=	olc olh moira
PLAINMAKE=	etc jot finger lpquota prototype_tmpuser reactivate tellme top
OTHER=		emacs-19.30 kerberos mh perl5.001 zephyr
PARTIALINSTALL=	motif
SUBDIRS=	${ATHIMAKE} ${XIMAKE} ${CUSTIMAKE} ${PLAINMAKE} ${OTHER}
ALLSUBDIRS=	${SUBDIRS} ${PARTIALINSTALL}
INSTSUBDIRS=	${SUBDIRS} motif/clients/mwm
INSTMANSUBDIRS=	${ATHIMAKE} ${XIMAKE} motif/clients/mwm olc olh zephyr

all:
	for i in ${ALLSUBDIRS}; do (cd $$i && ${MAKE} $@@ || exit 1); done

clean:
	for i in ${ALLSUBDIRS}; do (cd $$i && ${MAKE} $@@ || exit 1); done
	cd kerberos; make depend

install:
	mkdir -p ${DESTDIR}/bin/athena ${DESTDIR}/etc/athena
	mkdir -p ${DESTDIR}/usr/athena/bin ${DESTDIR}/usr/athena/lib
	mkdir -p ${DESTDIR}/usr/athena/etc ${DESTDIR}/usr/athena/man/man1
	mkdir -p ${DESTDIR}/usr/athena/man/man3 ${DESTDIR}/usr/athena/man/man5
	mkdir -p ${DESTDIR}/usr/athena/man/man7 ${DESTDIR}/usr/athena/man/man8
	mkdir -p ${DESTDIR}/usr/athena/lib/X11/app-defaults
	mkdir -p ${DESTDIR}/usr/athena/lib/X11/bitmaps
	for i in ${INSTSUBDIRS}; do (cd $$i && ${MAKE} $@@ || exit 1); done

install.man:
	for i in ${INSTMANSUBDIRS}; do (cd $$i && ${MAKE} $@@ || exit 1); done

Makefiles:
	for i in ${ATHIMAKE} mh; do (cd $$i && imake -I${CONFDIR} && \
		${MAKE} $@@); done
	for i in ${XIMAKE}; do (cd $$i && xmkmf; ${MAKE} $@@); done
	for i in ${CUSTIMAKE}; do (cd $$i && imake -Iconfig; ${MAKE} $@@); done
	cd emacs-19.30 && ./configure --prefix=/usr/athena --with-x-toolkit \
		--sharedstatedir=/var/tmp --with-pop --with-hesiod \
		--with-kerberos
	cd kerberos && ./configure --site=athena && make depend
	cd motif && imake -Iconfig -DTOPDIR=`pwd` -DUseInstalled && ${MAKE} $@@
	cd perl5.001 && rm -f config.sh && \
		cp arch/${ATHENA_SYS}/config.sh config.sh && \
		./Configure -S; ${MAKE} depend
	cd zephyr && imake -Iconfig -DTOPDIR=`pwd` && ${MAKE} $@@

@


1.33
log
@login uses an Athena Imakefile now.
@
text
@d22 1
a22 1
	for i in ${ALLSUBDIRS}; do (cd $$i; ${MAKE} $@@ || exit 1); done
d25 1
a25 1
	for i in ${ALLSUBDIRS}; do (cd $$i; ${MAKE} $@@ || exit 1); done
d36 1
a36 1
	for i in ${INSTSUBDIRS}; do (cd $$i; ${MAKE} $@@ || exit 1); done
d39 1
a39 1
	for i in ${INSTMANSUBDIRS}; do (cd $$i; ${MAKE} $@@ || exit 1); done
d42 5
a46 5
	for i in ${ATHIMAKE} mh; do (cd $$i; imake -I${CONFDIR}; ${MAKE} $@@); \
		done
	for i in ${XIMAKE}; do (cd $$i; xmkmf; ${MAKE} $@@); done
	for i in ${CUSTIMAKE}; do (cd $$i; imake -Iconfig; ${MAKE} $@@); done
	cd emacs-19.30; ./configure --prefix=/usr/athena --with-x-toolkit \
d49 4
a52 4
	cd kerberos; ./configure --site=athena; make depend
	cd motif; imake -Iconfig -DTOPDIR=`pwd` -DUseInstalled; ${MAKE} $@@
	cd perl5.001; rm -f config.sh; \
		cp arch/${ATHENA_SYS}/config.sh config.sh; \
d54 1
a54 1
	cd zephyr; imake -Iconfig -DTOPDIR=`pwd`; ${MAKE} $@@
@


1.32
log
@A small change to emacs-19.30/Makefile.in allows us not to need to
specify --srcdir when using a symlink farm.
@
text
@d8 1
a8 1
		kerberometer lert lpr machtype mkserv neos quota \
d13 1
a13 2
PLAINMAKE=	etc jot finger login lpquota prototype_tmpuser reactivate \
		tellme top
@


1.31
log
@Add xdsc.
Rename etc.athena to etc (etc now includes other files).
Change all instance of $(...) to ${...}.
@
text
@a3 1
SRC=		/afs/sipb.mit.edu/project/sipb-athena/src
d47 3
a49 3
	cd emacs-19.30; ./configure --prefix=/usr/athena \
		--srcdir=${SRC}/emacs-19.30 --sharedstatedir=/var/tmp \
		--with-x-toolkit --with-pop --with-hesiod --with-kerberos
@


1.30
log
@Move to emacs 19.30; use --sharedstatedir to set shared state
directory to /var/tmp.
@
text
@d11 1
a11 1
		transcript-v2.1 write xdm athdir sis
d14 2
a15 2
PLAINMAKE=	etc.athena jot finger login lpquota prototype_tmpuser \
		reactivate tellme top
d18 4
a21 4
SUBDIRS=	$(ATHIMAKE) $(XIMAKE) ${CUSTIMAKE} ${PLAINMAKE} ${OTHER}
ALLSUBDIRS=	$(SUBDIRS) $(PARTIALINSTALL)
INSTSUBDIRS=	$(SUBDIRS) motif/clients/mwm
INSTMANSUBDIRS=	$(ATHIMAKE) $(XIMAKE) motif/clients/mwm olc olh zephyr
d24 1
a24 1
	for i in $(ALLSUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d27 1
a27 1
	for i in $(ALLSUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d35 1
a35 1
	mkdir -p $(DESTDIR)/usr/athena/man/man7 ${DESTDIR}/usr/athena/man/man8
d38 1
a38 1
	for i in $(INSTSUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d41 1
a41 1
	for i in $(INSTMANSUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d44 1
a44 1
	for i in $(ATHIMAKE) mh; do (cd $$i; imake -I${CONFDIR}; $(MAKE) $@@); \
d46 2
a47 2
	for i in $(XIMAKE); do (cd $$i; xmkmf; $(MAKE) $@@); done
	for i in $(CUSTIMAKE); do (cd $$i; imake -Iconfig; $(MAKE) $@@); done
d52 1
a52 1
	cd motif; imake -Iconfig -DTOPDIR=`pwd` -DUseInstalled; $(MAKE) $@@
d55 2
a56 2
		./Configure -S; $(MAKE) depend
	cd zephyr; imake -Iconfig -DTOPDIR=`pwd`; $(MAKE) $@@
@


1.29
log
@Don't rely on /afs/sipb -> sipb.mit.edu symlink for SRC.
@
text
@d16 1
a16 1
OTHER=		emacs-19.29 kerberos mh perl5.001 zephyr
d48 3
a50 3
	cd emacs-19.29; ./configure --prefix=/usr/athena \
		--srcdir=${SRC}/emacs-19.29 --with-x-toolkit \
		--with-pop --with-hesiod --with-kerberos
@


1.28
log
@made sis use imake instead of make
@
text
@d4 1
a4 1
SRC=		/afs/sipb/project/sipb-athena/src
@


1.27
log
@Add new source directories.
help now uses an Athena imakefile.
@
text
@d11 1
a11 1
		transcript-v2.1 write xdm athdir
d15 1
a15 1
		reactivate sis tellme top
@


1.26
log
@Build all of Motif, but only install mwm.
Some reorganization of make variables.
"make depend" in kerberos after a make clean, since kerberos won't
  install properly after a make clean otherwise.
@
text
@d7 4
a10 3
ATHIMAKE=	AL attach cleanup config delete discuss from getcluster \
		gettime gms hesiod hostinfo ispell kerberometer lert \
		lpr machtype neos rkinit session synctree telnet \
d15 1
a15 1
		reactivate tellme top help
@


1.25
log
@Add motif.
@
text
@d15 2
a16 1
OTHER=		emacs-19.29 kerberos mh motif perl5.001 zephyr
d18 3
d23 1
a23 1
	for i in $(SUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d26 2
a27 1
	for i in $(SUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d34 1
a34 1
	mkdir -p ${DESTDIR}/usr/athena/man/man8
d37 1
a37 1
	for i in $(SUBDIRS); do (cd $$i; $(MAKE) $@@ || exit 1); done
d40 1
a40 2
	for i in $(ATHIMAKE) $(XIMAKE) motif olc olh zephyr; do (cd $$i; \
		$(MAKE) install.man || exit 1); done
@


1.24
log
@Put transcript in correctly.
@
text
@d15 1
a15 1
OTHER=		emacs-19.29 kerberos mh perl5.001 zephyr
d35 1
a35 1
	for i in $(ATHIMAKE) $(XIMAKE) olc olh zephyr; do (cd $$i; \
d47 1
@


1.23
log
@Move login and top to PLAINMAKE, since they don't have any special
treatment.  (login will probably move back to OTHER when I deal with
getting it to build for Linux).
@
text
@d7 4
a10 4
ATHIMAKE=	AL attach cleanup config delete discuss from \
		getcluster gettime gms hesiod hostinfo ispell kerberometer \
		lert lpr machtype neos rkinit session synctree telnet write \
		xdm athdir
@


1.22
log
@Replace enscript decoy with transcript source tree.
@
text
@d13 3
a15 3
PLAINMAKE=	etc.athena jot finger lpquota prototype_tmpuser reactivate \
		tellme help
OTHER=		emacs-19.29 kerberos mh perl5.001 zephyr login top
@


1.21
log
@added enscript to the list
@
text
@d7 4
a10 4
ATHIMAKE=	AL attach cleanup config delete discuss from getcluster \
		gettime gms hesiod hostinfo ispell kerberometer lert lpr \
		machtype neos rkinit session synctree telnet write xdm \
		athdir
d14 1
a14 1
		tellme help enscript
@


1.20
log
@Athena movemail is now obsolete.
@
text
@d14 1
a14 1
		tellme help
@


1.19
log
@Build emacs movemail with pop, hesiod, kerberos support.
@
text
@d13 2
a14 2
PLAINMAKE=	etc.athena jot finger lpquota movemail prototype_tmpuser \
		reactivate tellme help
@


1.18
log
@Fix SRC.
@
text
@d44 2
a45 1
		--srcdir=${SRC}/emacs-19.29 --with-x-toolkit
@


1.17
log
@added help to the list of stuff to install
@
text
@d4 1
a4 1
SRC=		/afs/sipb/project/sipb-athena
@


1.16
log
@added athdir to the Athena Imake stuff
@
text
@d14 1
a14 1
		reactivate tellme
@


1.15
log
@getcluster and reactivate have moved to the top level.
@
text
@d9 2
a10 1
		machtype neos rkinit session synctree telnet write xdm
@


1.14
log
@top added
@
text
@d7 3
a9 3
ATHIMAKE=	AL attach config delete discuss from gettime gms \
		hesiod hostinfo ispell kerberometer lert lpr machtype neos \
		rkinit session synctree telnet write xdm
@


1.13
log
@added tellme to the list of subdirs
@
text
@d14 1
a14 1
OTHER=		emacs-19.29 kerberos mh perl5.001 zephyr login
@


1.12
log
@dropped mkserv, since I don't have a linux box to build it under
@
text
@d13 1
a13 1
		reactivate
@


1.11
log
@added mkserv to the tree
@
text
@d10 1
a10 1
XIMAKE=		dash tcsh mkserv
@


1.10
log
@Configure emacs with --with-x-toolkit.
@
text
@d10 1
a10 1
XIMAKE=		dash tcsh
@


1.9
log
@Be more forceful copying config.sh.
@
text
@d42 2
a43 2
	cd emacs-19.29; \
		./configure --prefix=/usr/athena --srcdir=${SRC}/emacs-19.29
@


1.8
log
@Make emacs with srcdir set to emacs source directory (not link tree),
to avoid having emacs make links when installing
/usr/athena/share/emacs.  I don't like this solution very much, since
it means we have to know where we are.
@
text
@d45 2
a46 1
	cd perl5.001; cp arch/${ATHENA_SYS}/config.sh config.sh; \
@


1.7
log
@Add finger.
@
text
@d4 1
d42 2
a43 1
	cd emacs-19.29; ./configure --prefix=/usr/athena
@


1.6
log
@Separate install.man from install.  (Possibly a mistake, but no big
 deal either way.)
Remove mh from ATHIMAKE, since it's really sort of a mess.  It
 generates a Makefile from an Athena imakefile, and then replaces that
 Makefiles with something from conf/makefiles, which doesn't
 understand install.man.  mh goes under OTHER now.
@
text
@d6 2
a7 2
ATHIMAKE=	AL attach config delete discuss from gettime gms hesiod \
		hostinfo ispell kerberometer lert lpr machtype neos \
d11 2
a12 1
PLAINMAKE=	etc.athena jot lpquota movemail prototype_tmpuser reactivate
@


1.5
log
@movemail was missing.
@
text
@d7 1
a7 1
		hostinfo ispell kerberometer lert lpr machtype mh \
d12 1
a12 1
OTHER=		emacs-19.29 kerberos perl5.001 zephyr
d22 7
d30 3
a32 1
	for i in $(ATHIMAKE) $(XIMAKE); do (cd $i; \
d36 2
a37 1
	for i in $(ATHIMAKE); do (cd $$i; imake -I${CONFDIR}; $(MAKE) $@@); done
@


1.4
log
@A bunch of fixes to get this to work.
Throw in jot, even though it's distributed with NetBSD.
@
text
@d11 1
a11 1
PLAINMAKE=	etc.athena jot lpquota prototype_tmpuser reactivate
@


1.3
log
@kerberometer has been reverted to using Athena Imakefiles instead of
X11 Imakefiles.
@
text
@d7 2
a8 2
		hostinfo ispell kerberometer lert lpr machtype mh moira olc \
		olh rkinit session synctree telnet write xdm
d10 4
a13 4
CUSTIMAKE=	zephyr
MAKE=		etc.athena lpquota prototype_tmpuser reactivate
OTHER=		emacs-19.29 kerberos perl5.001
SUBDIRS=	$(ATHIMAKE) $(XIMAKE) ${CUSTIMAKE} ${MAKE} ${OTHER}
d16 1
a16 1
	for i in $(SUBDIRS); do cd $i; $(MAKE) $@@ || exit 1; done
d19 1
a19 1
	for i in $(SUBDIRS); do cd $i; $(MAKE) $@@ || exit 1; done
d22 3
a24 3
	for i in $(SUBDIRS); do cd $i; $(MAKE) $@@ || exit 1; done
	for i in $(ATHIMAKE) $(XIMAKE); do cd $i; \
		$(MAKE) install.man || exit 1; done
d27 4
a30 4
	for i in $(ATHIMAKE); do cd $i; imake -I${CONFDIR}; $(MAKE) $@@; done
	for i in $(XIMAKE); do cd $i; xmkmf; $(MAKE) $@@; done
	for i in $(CUSTIMAKE); do cd $i; imake -Iconfig -DTOPDIR=`pwd`; \
		$(MAKE) $@@; done
d32 3
a34 3
	cd emacs-19.29; ./configure --prefix=/usr/athena
	cd perl5.001; ./Configure -S -f arch/${ATHENA_SYS}/config.sh; \
		$(MAKE) depend
@


1.2
log
@Add new source t\directories.  Split up programs for better
documentation.
@
text
@d7 3
a9 3
		hostinfo ispell lert lpr machtype mh moira olc olh rkinit \
		session synctree telnet write xdm
XIMAKE=		dash kerberometer tcsh
@


1.1
log
@Initial revision
@
text
@d1 2
a2 1
# Under construction.
d6 4
a9 3
ATHIMAKE=	AL attach config delete discuss gms hesiod hostinfo ispell \
		lert lpr machtype mh moira olc olh session telnet write
XIMAKE=		dash kerberometer
d11 3
a13 2
OTHER=		etc.athena kerberos lpquota prototype_tmpuser xdm
SUBDIRS=	$(ATHIMAKE) $(XIMAKE) ${CUSTIMAKE} ${OTHER}
d18 1
a18 1
clean install:
d21 5
d32 3
@
