head	1.2;
access;
symbols
	bsd_44_lite_2:1.1.1.3
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.07.13.14.18.44;	author peter;	state dead;
branches;
next	1.1;

1.1
date	94.05.27.04.59.57;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.04.59.58;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.12.30.18.49.11;	author peter;	state dead;
branches;
next	1.1.1.3;

1.1.1.3
date	97.07.03.03.24.25;	author bde;	state Exp;
branches;
next	;


desc
@@


1.2
log
@kill the undead
@
text
@#
#	@@(#)Makefile	2.1 88/08/10 4.0 RPCSRC
#
DESTDIR=
CFLAGS=	-O
RPCLIB= -lrpclib

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

all:	${NSTD}

chkey: chkey.c
	${CC} ${CFLAGS} -o chkey chkey.c -lrpcsvc -lmp ${RPCLIB}

keylogin: keylogin.c
	${CC} ${CFLAGS} -o keylogin keylogin.c -lrpcsvc ${RPCLIB}

install:
	-for i in ${NSTD}; do \
		(install -s $$i ${DESTDIR}/usr/bin/$$i); done

clean:
	rm -f a.out core *.s *.o
	rm -f ${NSTD}

depend:
	for i in ${NSTD}; do \
	    cc -M ${INCPATH} $$i.c | sed 's/\.o//' | \
	    awk ' { if ($$1 != prev) \
		{ if (rec != "") print rec; rec = $$0; prev = $$1; } \
		else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
		else rec = rec " " $$2 } } \
		END { print rec } ' >> makedep; done
	echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
	echo '$$r makedep' >>eddep
	echo 'w' >>eddep
	cp Makefile Makefile.bak
	ed - Makefile < eddep
	rm eddep makedep
	echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
	echo '# see make depend above' >> Makefile

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

# DO NOT DELETE THIS LINE -- make depend uses it

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@


1.1.1.2
log
@recording cvs-1.6 file death
@
text
@@


1.1.1.3
log
@Import Lite2's src/lib, except for non-i386 machine-dependent directories,
libc/db, libc/gen/crypt.* and libtelnet.  All affected files except 3
unimportant ones have already left the vendor branch.
@
text
@@
