# $BSDSUniX: base/head/gnu/usr.bin/gdb/arch/amd64/Makefile 14 2016-06-12 15:25:30Z michelle $ .if defined(__FreeBSD__) GENSRCS+= xm.h .if !defined(GDB_CROSS_DEBUGGER) LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c LIBSRCS+= amd64-nat.c amd64bsd-nat.c amd64fbsd-nat.c .endif LIBSRCS+= solib.c solib-svr4.c LIBSRCS+= amd64-tdep.c amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c \ i386fbsd-tdep-fixed.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd64.h"' > ${.TARGET} tm.h: echo '#include "i386/tm-fbsd.h"' > ${.TARGET} xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} # Fix source static/extern mismatch nits that GCC 4.2 warns about. CLEANFILES+= i386fbsd-tdep-fixed.c i386fbsd-tdep-fixed.c: i386fbsd-tdep.c sed -e '48s/^static //' ${.ALLSRC} > ${.TARGET} .else GENSRCS+= xm.h .if !defined(GDB_CROSS_DEBUGGER) LIBSRCS+= bsdsux-proc.c bsdsux-threads.c gcore.c LIBSRCS+= amd64-nat.c amd64bsd-nat.c amd64bsdsux-nat.c .endif LIBSRCS+= solib.c solib-svr4.c LIBSRCS+= amd64-tdep.c amd64bsdsux-tdep.c i386-tdep.c i386bsd-tdep.c \ i386bsdsux-tdep-fixed.c i387-tdep.c nm.h: echo '#include "i386/nm-bsdsux64.h"' > ${.TARGET} tm.h: echo '#include "i386/tm-bsdsux.h"' > ${.TARGET} xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} # Fix source static/extern mismatch nits that GCC 4.2 warns about. CLEANFILES+= i386bsdsux-tdep-fixed.c i386bsdsux-tdep-fixed.c: i386bsdsux-tdep.c sed -e '48s/^static //' ${.ALLSRC} > ${.TARGET} .endif