head	1.23;
access;
symbols
	ATH7_7:1.23
	ATH7_4:1.15
	ATH7_6:1.22;
locks; strict;
comment	@# @;


1.23
date	94.03.17.20.33.37;	author cfields;	state Exp;
branches;
next	1.22;

1.22
date	93.06.18.18.13.17;	author miki;	state Exp;
branches;
next	1.21;

1.21
date	93.05.05.12.16.23;	author miki;	state Exp;
branches;
next	1.20;

1.20
date	93.04.29.17.27.30;	author vrt;	state Exp;
branches;
next	1.19;

1.19
date	93.04.29.17.26.27;	author vrt;	state Exp;
branches;
next	1.18;

1.18
date	93.04.29.17.05.23;	author vrt;	state Exp;
branches;
next	1.17;

1.17
date	93.02.15.17.29.07;	author probe;	state Exp;
branches;
next	1.16;

1.16
date	93.02.03.17.52.26;	author probe;	state Exp;
branches;
next	1.15;

1.15
date	92.05.03.19.05.02;	author epeisach;	state Exp;
branches;
next	1.14;

1.14
date	92.04.26.11.42.06;	author epeisach;	state Exp;
branches;
next	1.13;

1.13
date	91.07.19.15.42.16;	author probe;	state Exp;
branches;
next	1.12;

1.12
date	91.07.04.23.32.25;	author probe;	state Exp;
branches;
next	1.11;

1.11
date	91.07.02.23.45.15;	author probe;	state Exp;
branches;
next	1.10;

1.10
date	91.06.28.20.29.30;	author probe;	state Exp;
branches;
next	1.9;

1.9
date	91.05.26.07.16.51;	author probe;	state Exp;
branches;
next	1.8;

1.8
date	91.03.05.13.00.22;	author epeisach;	state Exp;
branches;
next	1.7;

1.7
date	91.03.04.13.02.15;	author epeisach;	state Exp;
branches;
next	1.6;

1.6
date	91.01.22.15.03.22;	author epeisach;	state Exp;
branches;
next	1.5;

1.5
date	91.01.22.13.23.49;	author probe;	state Exp;
branches;
next	1.4;

1.4
date	90.11.18.21.45.08;	author probe;	state Exp;
branches;
next	1.3;

1.3
date	90.11.18.21.12.51;	author probe;	state Exp;
branches;
next	1.2;

1.2
date	90.08.30.12.13.03;	author epeisach;	state Exp;
branches;
next	1.1;

1.1
date	90.08.30.12.12.37;	author epeisach;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Originally a higher level Imakefile.
Cut down for this purpose.
7.7 checkin; changes by vrt
@
text
@#
# $Id: Imakefile,v 1.22 93/06/18 18:13:17 miki Exp Locker: vrt $
#
# Remember: most conditionalization should be done in the package, not here.


SimpleProgram(gettime,gettime.o,,$(ATHRETCDIR)/)

@


1.22
log
@took out cc.sh for Solaris2.x
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.21 93/05/05 12:16:23 miki Exp Locker: miki $
a5 15
#ifdef SOLARIS
#define ISUBDIRS cleanup inetd newsyslog nfsc rvd synctree track traceroute xdm
#else
#define ISUBDIRS cleanup ftpd inetd netconfig newsyslog nfsc rvd synctree track traceroute xdm
#endif

#ifdef ultrix
XSCRIPTS=console-getty
#endif

#ifdef SOLARIS
XSCRIPTS=console-ttymon 
#endif

SCRIPT= clean_tmp_areas config_afs reactivate shutdown_notify $(XSCRIPTS)
a8 13
#ifdef SOLARIS
install::
	for i in ${SCRIPT}; do \
		$(INSTALL) -m 0755 $$i.sh $(DESTDIR)$(ATHRETCDIR)/$$i; \
		done
#else
install::
	for i in ${SCRIPT}; do \
		$(INSTALL) -m 0755 $$i.sh $(DESTDIR)$(ATHRETCDIR)/$$i; \
		done
#endif

install_man(reactivate.8,reactivate.8)
@


1.21
log
@ported to Solaris2.1
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.20 93/04/29 17:27:30 vrt Exp Locker: miki $
a28 1
	$(INSTALL) -m 0755 -o bin cc.sh $(DESTDIR)/usr/ucb/cc; 
@


1.20
log
@*** empty log message ***
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.19 93/04/29 17:26:27 vrt Exp Locker: vrt $
d16 4
d24 1
d29 7
@


1.19
log
@we dont do netconfig either

@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.18 93/04/29 17:05:23 vrt Exp Locker: vrt $
d7 1
a7 1
#define ISUBDIRS cleanup inetd netconfig newsyslog nfsc rvd synctree track traceroute xdm
d9 1
a9 1
#define ISUBDIRS cleanup ftpd inetd newsyslog nfsc rvd synctree track traceroute xdm
@


1.18
log
@solaris will not be building ftpd just yet.
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.17 93/02/15 17:29:07 probe Exp Locker: vrt $
d9 1
a9 1
#define ISUBDIRS cleanup ftpd inetd netconfig newsyslog nfsc rvd synctree track traceroute xdm
@


1.17
log
@Added "traceroute" subdir
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.16 93/02/03 17:52:26 probe Exp Locker: probe $
d6 3
d10 1
@


1.16
log
@Added "inetd"
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.15 92/05/03 19:05:02 epeisach Exp Locker: probe $
d6 1
a6 1
#define ISUBDIRS cleanup ftpd inetd netconfig newsyslog nfsc rvd synctree track xdm
@


1.15
log
@ftpd a subdir of Imakefile
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.14 92/04/26 11:42:06 epeisach Exp Locker: epeisach $
d4 1
d6 1
a6 1
#define ISUBDIRS cleanup ftpd netconfig newsyslog nfsc rvd synctree track xdm
@


1.14
log
@Syncree is a subdirectory
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.13 91/07/19 15:42:16 probe Exp Locker: epeisach $
d5 1
a5 1
#define ISUBDIRS	cleanup netconfig newsyslog nfsc rvd synctree track xdm
@


1.13
log
@Added config_afs; removed suid_afs_cells
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.12 91/07/04 23:32:25 probe Exp Locker: probe $
d5 1
a5 1
#define ISUBDIRS	cleanup netconfig newsyslog nfsc rvd track xdm
@


1.12
log
@Removed crufty scripts
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.11 91/07/02 23:45:15 probe Exp Locker: probe $
d11 1
a11 1
SCRIPT= clean_tmp_areas reactivate shutdown_notify suid_afs_cells $(XSCRIPTS)
@


1.11
log
@Moved nfsc directory here.
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.10 91/06/28 20:29:30 probe Exp Locker: probe $
d11 1
a11 3
SCRIPT= clean_tmp_areas csh_commands_path reactivate \
	sh_commands_path shutdown_notify \
	suid_afs_cells rti_users $(XSCRIPTS)
@


1.10
log
@install reactivate(8)
@
text
@d2 1
a2 1
# $Id: Imakefile,v 1.9 91/05/26 07:16:51 probe Exp Locker: probe $
d5 1
a5 1
#define ISUBDIRS	cleanup netconfig newsyslog rvd track xdm
@


1.9
log
@RIOS integration
@
text
@d2 1
a2 1
# $Id$
d21 2
@


1.8
log
@Cleaned up Imakefile - go into rvd and netconfig - those Imakefiles
will determine platforms.
@
text
@d2 1
a2 1
# $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v 1.7 91/03/04 13:02:15 epeisach Exp Locker: epeisach $
d15 1
a15 1
SimpleProgram(gettime,gettime.o,,/etc/athena/)
d19 1
a19 1
		$(INSTALL) -m 0755 $$i.sh ${DESTDIR}/etc/athena/$$i; \
@


1.7
log
@newsyslog moved to a sub dir.
@
text
@d2 1
a2 1
# $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v 1.6 91/01/22 15:03:22 epeisach Exp Locker: epeisach $
d5 1
a5 1
DESTDIR=
a7 1
#define ISUBDIRS	cleanup track newsyslog xdm
a8 2
#else
#define ISUBDIRS	cleanup netconfig newsyslog rvd track xdm
@


1.6
log
@Install -m 0755 scripts
@
text
@d2 1
a2 1
# $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v 1.5 91/01/22 13:23:49 probe Exp Locker: epeisach $
d8 1
a8 1
#define ISUBDIRS	cleanup track xdm
d11 1
a11 1
#define ISUBDIRS	cleanup netconfig rvd track xdm
a17 1
SimpleProgram(newsyslog,newsyslog.o,,/etc/athena/)
@


1.5
log
@Converting for new Imake rules
@
text
@d2 1
a2 1
# $Header$
d23 1
a23 1
		$(INSTALL) InstPgmFlags $$i.sh ${DESTDIR}/etc/athena/$$i; \
@


1.4
log
@Pulled activate/deactivate from the release...
@
text
@d1 3
a4 5
#
# 	$Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v $
#	$Author: probe $
#	$Locker: probe $
#	$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v 1.3 90/11/18 21:12:51 probe Exp Locker: probe $
a5 2
INCDIR= /usr/include
CFLAGS=	-O -I${INCDIR} -DX11
a6 2
# Programs that live in subdirectories, and have makefiles of their own.
#
d8 2
a9 2
SUBDIR=  track xdm
CONSGETTY=console-getty
d11 1
a11 1
SUBDIR= nip rvd track xdm
d14 3
a16 5
# Shell scripts that need only be installed and are never removed.
#
SCRIPT= backup backuperr clean_tmp_areas cppart csh_commands_path \
	cut_msgs dumptape sh_commands_path shutdown_notify \
	stop_mailer suid_afs_cells rti_users $(CONSGETTY)
d18 2
a19 5
# C programs that live in the current directory and do not need
# explicit make lines.
#
STD= gettime newsyslog
SRCS=gettime.c log.c login-shutdown.c newsyslog.c
a20 29
# Programs that must run setgid to kmem
#
SETGID=

# Special, the login-shutdown shell

LOGSD= login-shutdown
# Programs that must be owned by backup and in group "operator"
#
# OP_GID is the group ID for group operator
BACKUP= backup backuperr dumptape
OP_GID = 28

# C programs that live in the current directory and need explicit make lines.
# (make depend has special rules for these files)
#
NSTD= login-shutdown

all::	${SUBDIR} ${STD} ${NSTD} ${SETGID}

${SUBDIR}: FRC
	cd $@@; make ${MFLAGS} all; cd ..

FRC:

${STD}:
	${CC} ${CFLAGS} -o $@@ $@@.c


a21 3
	for i in ${SUBDIR}; do \
		(cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install; cd ..); \
		done
d23 1
a23 1
		install -c $$i.sh ${DESTDIR}/etc/athena/$$i; \
a24 35
	for i in ${STD} ${NSTD} ${OSETUID}; do \
		(install -c -s $$i ${DESTDIR}/etc/athena/$$i); \
		done
#	for i in ${SETGID}; do (chgrp kmem ${DESTDIR}/etc/athena/$$i; \
#		chmod 2755 ${DESTDIR}/etc/athena/$$i); \
#	done

	for i in ${BACKUP}; do \
		/etc/chown $$USER ${DESTDIR}/etc/athena/$$i; \
		chgrp ${OP_GID} ${DESTDIR}/etc/athena/$$i; \
		chmod 774 ${DESTDIR}/etc/athena/$$i; \
		/etc/chown backup ${DESTDIR}/etc/athena/$$i; \
		done
	for i in ${LOGSD}; do \
		install -c -m 4755 -o root $$i ${DESTDIR}/etc/athena/; \
		done

clean::
	rm -f a.out core *.s *.o ${STD} ${NSTD}
	for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean; cd ..); done
	rm -f ${STD} ${NSTD}

depend::
	touch Make.depend; makedepend -fMake.depend -o '' ${CFLAGS} ${SRCS}
	for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done

# Files listed in ${NSTD} have explicit make lines given below.

login-shutdown:
	cc -o login-shutdown login-shutdown.c

toehold:
	${CC} ${CFLAGS} -o toehold toehold.c -lX11

# DO NOT DELETE THIS LINE -- make depend depends on it.
@


1.3
log
@Removed building of toehold
@
text
@d4 1
a4 1
#	$Author: epeisach $
d6 1
a6 1
#	$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/etc.athena/RCS/Imakefile,v 1.2 90/08/30 12:13:03 epeisach Exp Locker: probe $
d22 2
a23 2
SCRIPT= activate backup backuperr clean_tmp_areas cppart csh_commands_path \
	cut_msgs deactivate dumptape sh_commands_path shutdown_notify \
@


1.2
log
@Work around restriction of ultrix kernel in chown.
@
text
@d3 4
a6 4
# 	$Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/Ultrix-3.1/override/athena/etc.athena/RCS/Imakefile,v $
#	$Author: dschmidt $
#	$Locker:  $
#	$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/Ultrix-3.1/override/athena/etc.athena/RCS/Imakefile,v 1.2 90/07/25 10:37:43 dschmidt Exp $
d30 1
a30 1
SRCS=gettime.c log.c login-shutdown.c newsyslog.c toehold.c
d48 1
a48 1
NSTD= login-shutdown toehold
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# 	$Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/Ultrix-3.1/athena/etc.athena/RCS/Imakefile,v $
d6 1
a6 1
#	$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/Ultrix-3.1/athena/etc.athena/RCS/Imakefile,v 1.6 90/07/10 11:44:03 dschmidt Exp $
d76 1
d78 1
a79 1
		chmod 774 ${DESTDIR}/etc/athena/$$i; \
@
