# -DRESTRICT_FTP if you want to deny all users in /etc/ftusers to use rexecd
# -DTCP_WRAPPER if you want to have support for the tcpd-6.1 or newer
#		(Then do not wrap it in /etc/inetd.conf...)
#		This also adds syslogging

CFLAGS = -O2 -fomit-frame-pointer -m486 -DRESTRICT_FTP \
	-include /usr/include/bsd/bsd.h -I/usr/include/bsd \
# -DKERBEROS -DCRYPT
LDLIBS = -lbsd # -lutil -lkrb -ldes
LDFLAGS = -s -v

rexecd: rexecd.o

install: rexecd
	install -o root -g root -m 0755 rexecd ${DEBDIR}/usr/sbin/in.rexecd
	install -o root -g root -m 0644 rexecd.8 ${DEBDIR}/usr/man/man8
	install -o root -g root -m 0644 in.rexecd.8 ${DEBDIR}/usr/man/man8

clean:
	rm -f *.o rexecd

