Makefile (137440) | Makefile (138215) |
---|---|
1# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 137440 2004-11-09 06:02:48Z marcel $ | 1# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 138215 2004-11-30 05:12:37Z marcel $ |
2 | 2 |
3TARGET_ARCH?= ${MACHINE_ARCH} 4.if ${TARGET_ARCH} != ${MACHINE_ARCH} 5GDB_CROSS_DEBUGGER= 6.endif 7 |
|
3LIB= gdb 4INTERNALLIB= 5SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \ 6 bcache.c bfd-target.c block.c blockframe.c breakpoint.c \ 7 buildsym.c \ 8 c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \ 9 cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \ 10 cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \ 11 coffread.c complaints.c completer.c copying.c corefile.c \ 12 corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \ 13 dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \ 14 dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \ 15 dwarf2read.c dwarfread.c \ 16 elfread.c environ.c eval.c event-loop.c event-top.c exec.c \ 17 expprint.c \ 18 f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \ | 8LIB= gdb 9INTERNALLIB= 10SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \ 11 bcache.c bfd-target.c block.c blockframe.c breakpoint.c \ 12 buildsym.c \ 13 c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \ 14 cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \ 15 cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \ 16 coffread.c complaints.c completer.c copying.c corefile.c \ 17 corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \ 18 dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \ 19 dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \ 20 dwarf2read.c dwarfread.c \ 21 elfread.c environ.c eval.c event-loop.c event-top.c exec.c \ 22 expprint.c \ 23 f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \ |
19 fork-child.c frame-base.c frame-unwind.c frame.c \ | 24 ${_fork_child} frame-base.c frame-unwind.c frame.c \ |
20 gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \ 21 hpacc-abi.c \ | 25 gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \ 26 hpacc-abi.c \ |
22 inf-loop.c infcall.c infcmd.c inflow.c infptrace.c infrun.c \ 23 inftarg.c init.c interps.c \ | 27 inf-loop.c infcall.c infcmd.c inflow.c ${_infptrace} infrun.c \ 28 ${_inftarg} init.c interps.c \ |
24 jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c \ 25 kod-cisco.c kod.c \ 26 language.c linespec.c \ 27 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c macrocmd.c \ 28 macroexp.c macroscope.c macrotab.c main.c maint.c mdebugread.c \ 29 mem-break.c memattr.c mi-cmd-break.c mi-cmd-disas.c \ 30 mi-cmd-env.c mi-cmd-file.c mi-cmd-stack.c mi-cmd-var.c \ 31 mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \ --- 10 unchanged lines hidden (view full) --- 42 tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \ 43 tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \ 44 tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ 45 tui-winsource.c tui.c typeprint.c \ 46 ui-file.c ui-out.c user-regs.c utils.c \ 47 valarith.c valops.c valprint.c values.c varobj.c \ 48 wrapper.c ${LIBSRCS} 49 | 29 jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c \ 30 kod-cisco.c kod.c \ 31 language.c linespec.c \ 32 m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c macrocmd.c \ 33 macroexp.c macroscope.c macrotab.c main.c maint.c mdebugread.c \ 34 mem-break.c memattr.c mi-cmd-break.c mi-cmd-disas.c \ 35 mi-cmd-env.c mi-cmd-file.c mi-cmd-stack.c mi-cmd-var.c \ 36 mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \ --- 10 unchanged lines hidden (view full) --- 47 tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \ 48 tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \ 49 tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ 50 tui-winsource.c tui.c typeprint.c \ 51 ui-file.c ui-out.c user-regs.c utils.c \ 52 valarith.c valops.c valprint.c values.c varobj.c \ 53 wrapper.c ${LIBSRCS} 54 |
50GENSRCS= version.c | 55TARGET_ARCH?= ${MACHINE_ARCH} 56.if ${TARGET_ARCH} != ${MACHINE_ARCH} 57GDB_CROSS_DEBUGGER= 58.endif |
51 | 59 |
52.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 53LIBSRCS+= fbsd-threads.c | 60.if !defined(GDB_CROSS_DEBUGGER) 61_fork_child= fork-child.c 62_infptrace= infptrace.c 63_inftarg= inftarg.c |
54.endif 55 | 64.endif 65 |
66GENSRCS= version.c 67 |
|
56version.c: 57 echo '#include "version.h"' > ${.TARGET} 58 echo 'const char version[] = ${VERSION};' >> ${.TARGET} 59 echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \ 60 >> ${.TARGET} 61 echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \ 62 >> ${.TARGET} 63 64.include <bsd.lib.mk> | 68version.c: 69 echo '#include "version.h"' > ${.TARGET} 70 echo 'const char version[] = ${VERSION};' >> ${.TARGET} 71 echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \ 72 >> ${.TARGET} 73 echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \ 74 >> ${.TARGET} 75 76.include <bsd.lib.mk> |