# $FreeBSD: stable/9/gnu/usr.bin/gdb/arch/arm/Makefile 241193 2012-10-04 09:53:59Z fjoe $

GENSRCS+= xm.h
LIBSRCS+= armfbsd-nat.c
LIBSRCS+= arm-tdep.c armfbsd-tdep.c solib.c solib-svr4.c
.if !defined(GDB_CROSS_DEBUGGER)
LIBSRCS+= fbsd-threads.c
.endif

nm.h:
#XXX this should be arm/nm-fbsd.h but won't until it's merged into the gdb repo
	echo '#include "nm-fbsd.h"' > ${.TARGET}

tm.h:
#XXX this should be arm/tm-fbsd.h
	echo '#include "tm-fbsd.h"' > ${.TARGET}

xm.h:
#XXX this should be arm/xm-fbsd.h
	echo '#include "xm-fbsd.h"' > ${.TARGET}
