046e06a57c
of OpenBSD's elf nlist code for this, and our a.out version. The OpenBSD version was mainly a seek/read system with a mmap of the string table, this one simply mmap's the lot (like the a.out version). Obtained from: a fair chunk from OpenBSD
12 lines
216 B
Makefile
12 lines
216 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
PROG= kvm_mkdb
|
|
SRCS= kvm_mkdb.c nlist.c testdb.c
|
|
MAN8= kvm_mkdb.8
|
|
CFLAGS+=-DDO_AOUT
|
|
.if defined(BINFORMAT) && ${BINFORMAT} == elf
|
|
CFLAGS+=-DDO_ELF
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|