Allow gdb to be cross-compiled.
[dragonfly.git] / gnu / usr.bin / gdb / libgdb / Makefile.i386
CommitLineData
643b986c 1# $DragonFly: src/gnu/usr.bin/gdb/libgdb/Makefile.i386,v 1.7 2008/07/28 22:33:21 corecode Exp $
b6fca148 2
0c3d4888
SS
3# TDEPFILES (part 2, cleaned)
4SRCS+= i386-tdep.c i387-tdep.c i386bsd-tdep.c i386fbsd-tdep.c
5
643b986c 6.if ${TARGET_ARCH} == ${MACHINE_ARCH}
0c3d4888
SS
7# NATDEPFILES (part 2)
8SRCS+= fbsd-nat.c i386-nat.c i386bsd-nat.c i386fbsd-nat.c
643b986c 9.endif
b6fca148 10
cb79d205
SS
11SRCS+= nm.h
12CLEANFILES+= nm.h
13CFLAGS+= -DGDB_NM_FILE
4d9cbbf0 14nm.h:
0c3d4888 15 echo '#include "i386/nm-fbsd.h"' > ${.TARGET}