daaf575910
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
29 lines
370 B
Makefile
29 lines
370 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= dwarf
|
|
|
|
SRCS= \
|
|
dwarf_abbrev.c \
|
|
dwarf_attr.c \
|
|
dwarf_attrval.c \
|
|
dwarf_cu.c \
|
|
dwarf_dealloc.c \
|
|
dwarf_die.c \
|
|
dwarf_dump.c \
|
|
dwarf_errmsg.c \
|
|
dwarf_errno.c \
|
|
dwarf_finish.c \
|
|
dwarf_form.c \
|
|
dwarf_init.c \
|
|
dwarf_loc.c
|
|
|
|
INCS= dwarf.h libdwarf.h
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}
|
|
|
|
SHLIB_MAJOR= 2
|
|
|
|
WITHOUT_MAN= yes
|
|
|
|
.include <bsd.lib.mk>
|