Makefile (138383) | Makefile (141911) |
---|---|
1# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 138383 2004-12-05 06:59:01Z marcel $ | 1# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 141911 2005-02-14 12:10:14Z obrien $ |
2 3TARGET_ARCH?= ${MACHINE_ARCH} 4 5LIB= gdb 6INTERNALLIB= 7SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \ 8 bcache.c bfd-target.c block.c blockframe.c breakpoint.c \ 9 buildsym.c \ --- 33 unchanged lines hidden (view full) --- 43 tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \ 44 tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \ 45 tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ 46 tui-winsource.c tui.c typeprint.c \ 47 ui-file.c ui-out.c user-regs.c utils.c \ 48 valarith.c valops.c valprint.c values.c varobj.c \ 49 wrapper.c ${LIBSRCS} 50 | 2 3TARGET_ARCH?= ${MACHINE_ARCH} 4 5LIB= gdb 6INTERNALLIB= 7SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \ 8 bcache.c bfd-target.c block.c blockframe.c breakpoint.c \ 9 buildsym.c \ --- 33 unchanged lines hidden (view full) --- 43 tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \ 44 tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \ 45 tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ 46 tui-winsource.c tui.c typeprint.c \ 47 ui-file.c ui-out.c user-regs.c utils.c \ 48 valarith.c valops.c valprint.c values.c varobj.c \ 49 wrapper.c ${LIBSRCS} 50 |
51.for stupid_gnu in \ 52xregcomp xre_exec xregexec xre_search xre_compile_fastmap xregerror xre_comp xre_set_syntax 53CFLAGS+= -D${stupid_gnu}=${stupid_gnu:S/^x//} 54.endfor 55 |
|
51.if ${TARGET_ARCH} == ${MACHINE_ARCH} 52_fork_child= fork-child.c 53_infptrace= infptrace.c 54_inftarg= inftarg.c 55.endif 56 57GENSRCS= version.c 58 59version.c: 60 echo '#include "version.h"' > ${.TARGET} 61 echo 'const char version[] = ${VERSION};' >> ${.TARGET} 62 echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \ 63 >> ${.TARGET} 64 echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \ 65 >> ${.TARGET} 66 67.include <bsd.lib.mk> | 56.if ${TARGET_ARCH} == ${MACHINE_ARCH} 57_fork_child= fork-child.c 58_infptrace= infptrace.c 59_inftarg= inftarg.c 60.endif 61 62GENSRCS= version.c 63 64version.c: 65 echo '#include "version.h"' > ${.TARGET} 66 echo 'const char version[] = ${VERSION};' >> ${.TARGET} 67 echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \ 68 >> ${.TARGET} 69 echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \ 70 >> ${.TARGET} 71 72.include <bsd.lib.mk> |