diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-08-22 10:59:33 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-08-22 10:59:33 +0000 |
commit | ef41142de6b617218dd639a77450439e84fe64be (patch) | |
tree | 6774e4f83d543d2cf250ce762d6818878c8db2fa /gnu/usr.bin/gdb/libgdb/Makefile | |
parent | a81636660a27459002564c608a0c48e9a83c8c53 (diff) | |
download | FreeBSD-src-ef41142de6b617218dd639a77450439e84fe64be.zip FreeBSD-src-ef41142de6b617218dd639a77450439e84fe64be.tar.gz |
Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
Diffstat (limited to 'gnu/usr.bin/gdb/libgdb/Makefile')
-rw-r--r-- | gnu/usr.bin/gdb/libgdb/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile index fc59783..8857f76 100644 --- a/gnu/usr.bin/gdb/libgdb/Makefile +++ b/gnu/usr.bin/gdb/libgdb/Makefile @@ -37,10 +37,14 @@ SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c bcache.c \ tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ tui-winsource.c typeprint.c ui-file.c ui-out.c user-regs.c \ utils.c valarith.c valops.c valprint.c values.c varobj.c \ - wrapper.c fbsd-threads.c ${LIBSRCS} + wrapper.c ${LIBSRCS} GENSRCS= version.c +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" +LIBSRCS+= fbsd-threads.c +.endif + version.c: echo '#include "version.h"' > ${.TARGET} echo 'const char version[] = ${VERSION};' >> ${.TARGET} |