freebsd-nq/gnu/usr.bin/gdb/Makefile
Warner Losh b29d0c6134 Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.
2010-04-12 23:35:58 +00:00

11 lines
184 B
Makefile

# $FreeBSD$
SUBDIR= doc libgdb gdb gdbtui kgdb
TARGET_ARCH?= ${MACHINE_ARCH}
.if exists(${.CURDIR}/gdbserver/reg-${TARGET_ARCH}.c)
SUBDIR+=gdbserver
.endif
.include <bsd.subdir.mk>