NOMAN   = true
SRCS    = gatekeeper.c permissions.c readcf.c read.c message.c
#CFLAGS += -DBE_FE=1
LDADD   = -lfl
PROG    = gatekeeper

read.c: read.l
	lex -li read.l
	mv lex.yy.c read.c

testme:
	$(CC) $(CFLAGS) -DTEST -o testme read.c readcf.c permissions.c -lfl

install: $(PROG)
	install -c -s $(PROG) /sbin
	install -c gatekeeper.cf /etc

.include <bsd.prog.mk>
