freebsd-dev/usr.sbin/kvm_mkdb/Makefile
Peter Wemm 046e06a57c Initial support for dealing with an elf /kernel. This is a loose hybrid
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
1997-08-30 23:35:00 +00:00

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>