CC = gcc
PROG = rlogind
CFLAGS = -O2 -include /usr/include/bsd/bsd.h -I/usr/include/bsd # -DKERBEROS -DCRYPT
OBJS = rlogind.o # des_rw.o
LDLIBS = -lbsd # -lutil -lkrb -ldes
LDFLAGS = -s

all: $(PROG)

$(PROG): $(OBJS)

clean:
	rm -f *.o *~ core
	rm -f $(PROG)

install: $(PROGS)
	cp rlogind ${BINROOTDIR}/usr/sbin
	cp rlogind.8 ${BINROOTDIR}/usr/man/man8

