Module Name: src Committed By: darran Date: Wed Dec 23 00:10:15 UTC 2009
Added Files: src/external/bsd/libdwarf: Makefile Makefile.inc src/external/bsd/libdwarf/lib: Makefile shlib_version Log Message: Add build glue. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/bsd/libdwarf/Makefile \ src/external/bsd/libdwarf/Makefile.inc cvs rdiff -u -r0 -r1.1 src/external/bsd/libdwarf/lib/Makefile \ src/external/bsd/libdwarf/lib/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/external/bsd/libdwarf/Makefile diff -u /dev/null src/external/bsd/libdwarf/Makefile:1.1 --- /dev/null Wed Dec 23 00:10:15 2009 +++ src/external/bsd/libdwarf/Makefile Wed Dec 23 00:10:15 2009 @@ -0,0 +1,5 @@ +# $NetBSD: Makefile,v 1.1 2009/12/23 00:10:15 darran Exp $ + +SUBDIR= lib + +.include <bsd.subdir.mk> Index: src/external/bsd/libdwarf/Makefile.inc diff -u /dev/null src/external/bsd/libdwarf/Makefile.inc:1.1 --- /dev/null Wed Dec 23 00:10:15 2009 +++ src/external/bsd/libdwarf/Makefile.inc Wed Dec 23 00:10:15 2009 @@ -0,0 +1,11 @@ +# $NetBSD: Makefile.inc,v 1.1 2009/12/23 00:10:15 darran Exp $ + +.include <bsd.own.mk> + +LIBDWARF_DIR= ${NETBSDSRCDIR}/external/bsd/libdwarf/dist + +CPPFLAGS+= -I${LIBDWARF_DIR} + +WARNS?= 4 + +.PATH: ${LIBDWARF_DIR} Index: src/external/bsd/libdwarf/lib/Makefile diff -u /dev/null src/external/bsd/libdwarf/lib/Makefile:1.1 --- /dev/null Wed Dec 23 00:10:15 2009 +++ src/external/bsd/libdwarf/lib/Makefile Wed Dec 23 00:10:15 2009 @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2009/12/23 00:10:15 darran Exp $ + +.include <bsd.init.mk> + +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 +INCSDIR= /usr/include + +CPPFLAGS+= -I${.CURDIR} + +WITHOUT_MAN= yes + +.include <bsd.lib.mk> Index: src/external/bsd/libdwarf/lib/shlib_version diff -u /dev/null src/external/bsd/libdwarf/lib/shlib_version:1.1 --- /dev/null Wed Dec 23 00:10:15 2009 +++ src/external/bsd/libdwarf/lib/shlib_version Wed Dec 23 00:10:15 2009 @@ -0,0 +1,6 @@ +# $NetBSD: shlib_version,v 1.1 2009/12/23 00:10:15 darran Exp $ +# Remember to update distrib/sets/lists/base/shl.* when changing +# + +major=0 +minor=0