freebsd-dev/libexec/revnetgroup/Makefile
Bill Paul a44e4d1407 Import the first cut of my (finally finished) revnetgroup program. This
program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost
format for NIS.

I used hash tables to store the initial netgroup data in memory and to
construct the 'reverse' netgroup output. It seems just as fast as the
SunOS revnetgroup, which is surprising considering this is my first
attempt at using hash tables in a real application. :)

Note that I canibalized a large chunk of getnetgrent.c to save myself
from having to write my own netgroup parsing functions.
1995-10-26 16:25:29 +00:00

9 lines
115 B
Makefile

# $Id$
PROG= revnetgroup
SRCS= revnetgroup.c hash.c parse_netgroup.c
MAN8= revnetgroup.8
.include <bsd.prog.mk>