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

rshd: rshd.o # des_rw.o

install: rshd
	install -o root -g root -m 0755 rshd ${DEBDIR}/usr/sbin/in.rshd
	install -o root -g root -m 0644 rshd.8 ${DEBDIR}/usr/man/man8
	install -o root -g root -m 0644 in.rshd.8 ${DEBDIR}/usr/man/man8
	install -o root -g root -m 0644 rhosts.5 ${DEBDIR}/usr/man/man5
	install -o root -g root -m 0644 hosts.equiv.5 ${DEBDIR}/usr/man/man5

clean:
	rm -f *.o rshd

