Index: head/cddl/usr.bin/Makefile =================================================================== --- head/cddl/usr.bin/Makefile (revision 179199) +++ head/cddl/usr.bin/Makefile (revision 179200) @@ -1,13 +1,18 @@ # $FreeBSD$ .include -SUBDIR= ${_ztest} +SUBDIR= \ + ctfconvert \ + ctfdump \ + ctfmerge \ + sgsmsg \ + ${_ztest} .if ${MK_ZFS} != "no" .if ${MK_LIBTHR} != "no" _ztest= ztest .endif .endif .include Index: head/cddl/usr.bin/ctfconvert/Makefile =================================================================== --- head/cddl/usr.bin/ctfconvert/Makefile (nonexistent) +++ head/cddl/usr.bin/ctfconvert/Makefile (revision 179200) @@ -0,0 +1,51 @@ +# $FreeBSD$ + +.include + +.include "../../Makefile.inc" + +DEBUG_FLAGS= -g + +PROG= ctfconvert + +SRCS= alist.c \ + ctf.c \ + ctfconvert.c \ + dwarf.c \ + fixup_tdescs.c \ + hash.c \ + iidesc.c \ + input.c \ + list.c \ + memory.c \ + merge.c \ + output.c \ + st_parse.c \ + stabs.c \ + stack.c \ + strtab.c \ + symbol.c \ + tdata.c \ + traverse.c \ + util.c + +WARNS?= 6 + +CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ + -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ + -I${OPENSOLARIS_USR_DISTDIR} \ + -I${OPENSOLARIS_SYS_DISTDIR} \ + -I${OPENSOLARIS_USR_DISTDIR}/head \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ + -I${OPENSOLARIS_SYS_DISTDIR}/uts/common + +LDADD+= -lctf -ldwarf -lelf -lz -lthr + +.PATH: ${.CURDIR} +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt + +MK_MAN= no + +.include Property changes on: head/cddl/usr.bin/ctfconvert/Makefile ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/cddl/usr.bin/ctfdump/Makefile =================================================================== --- head/cddl/usr.bin/ctfdump/Makefile (nonexistent) +++ head/cddl/usr.bin/ctfdump/Makefile (revision 179200) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +.include "../../Makefile.inc" + +PROG= ctfdump + +SRCS= dump.c \ + symbol.c \ + utils.c + +WARNS?= 6 + +CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \ + -I${OPENSOLARIS_SYS_DISTDIR} \ + -I${OPENSOLARIS_USR_DISTDIR}/head \ + -I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \ + -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ + -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ + -I${OPENSOLARIS_SYS_DISTDIR}/uts/common + +LDFLAGS+= -pthread + +LDADD+= -lelf -lz + +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/dump + +NO_MAN= + +.include Property changes on: head/cddl/usr.bin/ctfdump/Makefile ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/cddl/usr.bin/ctfmerge/Makefile =================================================================== --- head/cddl/usr.bin/ctfmerge/Makefile (nonexistent) +++ head/cddl/usr.bin/ctfmerge/Makefile (revision 179200) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +.include + +.include "../../Makefile.inc" + +WARNS= 1 + +PROG= ctfmerge + +SRCS= alist.c \ + barrier.c \ + ctf.c \ + ctfmerge.c \ + fifo.c \ + hash.c \ + iidesc.c \ + input.c \ + list.c \ + memory.c \ + merge.c \ + output.c \ + strtab.c \ + symbol.c \ + tdata.c \ + traverse.c \ + util.c + +WARNS?= 6 + +CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ + -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ + -I${OPENSOLARIS_USR_DISTDIR} \ + -I${OPENSOLARIS_SYS_DISTDIR} \ + -I${OPENSOLARIS_USR_DISTDIR}/head \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ + -I${OPENSOLARIS_SYS_DISTDIR}/uts/common + +LDADD+= -lctf -ldwarf -lelf -lz -lthr + +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt + +MK_MAN= no + +.include Property changes on: head/cddl/usr.bin/ctfmerge/Makefile ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/cddl/usr.bin/sgsmsg/Makefile =================================================================== --- head/cddl/usr.bin/sgsmsg/Makefile (nonexistent) +++ head/cddl/usr.bin/sgsmsg/Makefile (revision 179200) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +.include "../../Makefile.inc" + +# This program is required as a bootstrap tool for 'make buildworld' +PROG= sgsmsg + +SRCS= avl.c sgsmsg.c string_table.c findprime.c + +CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ + -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ + -I${OPENSOLARIS_USR_DISTDIR}/cmd/sgs/include \ + -I${OPENSOLARIS_SYS_DISTDIR}/uts/common + +.PATH: ${OPENSOLARIS_USR_DISTDIR}/cmd/sgs/tools/common +.PATH: ${OPENSOLARIS_SYS_DISTDIR}/common/avl + +NO_MAN= + +.include Property changes on: head/cddl/usr.bin/sgsmsg/Makefile ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property