1290650Shselasky# $FreeBSD$ 2290650Shselasky 3290650ShselaskyGENSRCS+= xm.h 4290650Shselasky.if !defined(GDB_CROSS_DEBUGGER) 5290650ShselaskyLIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c 6290650ShselaskyLIBSRCS+= amd64-nat.c amd64bsd-nat.c amd64fbsd-nat.c 7290650Shselasky.endif 8290650ShselaskyLIBSRCS+= solib.c solib-svr4.c 9290650ShselaskyLIBSRCS+= amd64-tdep.c amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c \ 10290650Shselasky i386fbsd-tdep-fixed.c i387-tdep.c 11290650Shselasky 12290650Shselaskynm.h: 13290650Shselasky echo '#include "i386/nm-fbsd64.h"' > ${.TARGET} 14290650Shselasky 15290650Shselaskytm.h: 16290650Shselasky echo '#include "i386/tm-fbsd.h"' > ${.TARGET} 17290650Shselasky 18290650Shselaskyxm.h: 19290650Shselasky echo '#include "i386/xm-i386.h"' > ${.TARGET} 20290650Shselasky 21290650Shselasky# Fix source static/extern mismatch nits that GCC 4.2 warns about. 22290650ShselaskyCLEANFILES+= i386fbsd-tdep-fixed.c 23290650Shselaskyi386fbsd-tdep-fixed.c: i386fbsd-tdep.c 24290650Shselasky sed -e '48s/^static //' ${.ALLSRC} > ${.TARGET} 25290650Shselasky