# RCSid:
#	$Id: Makefile,v 1.7 1997/03/11 20:42:34 sjg Exp $
#
#	@(#) Copyright (c) 1995 Simon J. Gerraty
#
#	This file is provided in the hope that it will
#	be of use.  There is absolutely NO WARRANTY.
#	Permission to copy, redistribute or otherwise
#	use this file is hereby granted provided that 
#	the above copyright notice and this notice are
#	left intact. 
#      
#	Please send copies of changes and bug-fixes to:
#	sjg@quick.com.au
#

# a totally generic makefile suits 90% of projects

PROG=	${.CURDIR:T}

SRCS=	${PROG}.c local_passwd.c pw_util.c pw_copy.c

CFLAGS+= -I.
LIBS= -ltelnet

.include "prog.mk"

.if ${MACHINE} == "ultrix.mips" || ${MACHINE} == "ultrix"
LDIR=${.CURDIR}/../../lib/${.OBJDIR:T}
LDADD+= -L${LDIR} -lcompat
.endif
