b9cf7d31ab
They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
12 lines
224 B
Makefile
12 lines
224 B
Makefile
# $NetBSD: Makefile,v 1.7 2010/04/25 00:54:46 joerg Exp $
|
|
|
|
PROG= services_mkdb
|
|
MAN= services_mkdb.8
|
|
SRCS= services_mkdb.c output_cdb.c output_db.c uniq.c
|
|
|
|
LDADD+= -lutil
|
|
DPADD+= ${LIBUTIL}
|
|
#COPTS+=-g
|
|
|
|
.include <bsd.prog.mk>
|