# $Source: /mit/kerberos/src/appl/erlogin/RCS/Imakefile,v $
# $Author: jtkohl $
# $Header: Imakefile,v 4.0 89/01/24 14:03:00 jtkohl Exp $
#
# Copyright 1987, 1988 by the Massachusetts Institute of Technology.
#
# For copying and distribution information,
# please see the file <mit-copyright.h>.
#
# Imakefile for erlogin (environment passing erlogin)
#	Derived from licensed BSD code; therefore source license is required.

#
# Options:
#
# VFS is used for kernels with Sun's vfs code; it re-wrote the quota stuff
#
# set	 DBG=-DDBG to turn on debugging info (currently broken, though)
# set	-DENV to turn on DISPLAY-passing (for sites using the X window system)
DBG	=
DEFINES=-DENV ${DBG}
SRCDIR=${SRCTOP}/appl/erlogin
LIBS=${KRB_LIB} ${DES_LIB}
DEPLIBS=${KRB_LIBDEP} ${DES_LIBDEP}
SRCS=envoob.c login.c rldio.c rlogin.c rlogind.c winoob.c fifo.h
CODE=${SRCS} Imakefile

suidprogram(erlogin,rlogin.o clientwinoob.o clientenvoob.o,${DEPLIBS},${LIBS},${PROGDIR})
program(erlogind,rlogind.o serverwinoob.o serverenvoob.o rldio.o,${DEPLIBS},${LIBS},${DAEMDIR})
program(login.erl,login.o,${DEPLIBS},${LIBS},${DAEMDIR})

host_cplx_object(clientwinoob.o,winoob.o,winoob.c,-DCLIENT,fifo.h)
host_cplx_object(clientenvoob.o,envoob.o,envoob.c,-DCLIENT,fifo.h)
host_cplx_object(serverwinoob.o,winoob.o,winoob.c,-DSERVER,fifo.h)
host_cplx_object(serverenvoob.o,envoob.o,envoob.c,-DSERVER,fifo.h)
