diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2024-11-19 05:50:42 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2024-11-19 05:50:42 +0000 |
commit | 635400b2c122ce6ba3b2c61e026fb6c592684804 (patch) | |
tree | 23a5939117bc48fb4f0a318b022cdff96cc4ceba /regress/sys/arch/amd64/ddb/Makefile | |
parent | 59ac9330d5a4cb5723c420f4117cae7aa3628cd8 (diff) |
Add amd64 ddb regress suite allowing the disassembler to be tested from
userspace.
Diffstat (limited to 'regress/sys/arch/amd64/ddb/Makefile')
-rw-r--r-- | regress/sys/arch/amd64/ddb/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/regress/sys/arch/amd64/ddb/Makefile b/regress/sys/arch/amd64/ddb/Makefile new file mode 100644 index 00000000000..483d24693fc --- /dev/null +++ b/regress/sys/arch/amd64/ddb/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1 2024/11/19 05:50:41 anton Exp $ + +.if "${MACHINE_ARCH}" == "amd64" + +SRCS+= disasm.c +SRCS+= stubs.c +SRCS+= db_disasm.c +SRCS+= db_output.c +SRCS+= db_sym.c +PROG= disasm + +CPPFLAGS+= -D_KERNEL +CPPFLAGS+= -I${.CURDIR}/../../../../../sys +WARNINGS= yes + +.PATH: ${.CURDIR}/../../../../../sys/arch/amd64/amd64 +.PATH: ${.CURDIR}/../../../../../sys/ddb + +.else + +regress: + @echo SKIPPED + +.endif + +.include <bsd.regress.mk> |