Makefile revision 134154
1239281Sgonzo# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 134154 2004-08-22 10:59:33Z davidxu $ 2239281Sgonzo 3239281SgonzoLIB= gdb 4239281SgonzoINTERNALLIB= yes 5239281SgonzoSRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c bcache.c \ 6239281Sgonzo bfd-target.c block.c blockframe.c breakpoint.c buildsym.c \ 7239281Sgonzo c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \ 8239281Sgonzo cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \ 9239281Sgonzo cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \ 10239281Sgonzo coffread.c complaints.c completer.c copying.c corefile.c \ 11239281Sgonzo corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \ 12239281Sgonzo dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \ 13239281Sgonzo dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \ 14239281Sgonzo dwarf2read.c dwarfread.c elfread.c environ.c eval.c \ 15239281Sgonzo event-loop.c event-top.c exec.c expprint.c f-exp.y f-lang.c \ 16239281Sgonzo f-typeprint.c f-valprint.c findvar.c fork-child.c frame-base.c \ 17239281Sgonzo frame-unwind.c frame.c gdb-events.c gdbarch.c gdbtypes.c \ 18239281Sgonzo gnu-v2-abi.c gnu-v3-abi.c hpacc-abi.c inf-loop.c infcall.c \ 19239281Sgonzo infcmd.c inflow.c infptrace.c infrun.c inftarg.c init.c \ 20239281Sgonzo interps.c jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c \ 21239281Sgonzo kod-cisco.c kod.c language.c linespec.c m2-exp.y m2-lang.c \ 22239281Sgonzo m2-typeprint.c m2-valprint.c macrocmd.c macroexp.c macroscope.c \ 23239281Sgonzo macrotab.c main.c maint.c mdebugread.c mem-break.c memattr.c \ 24239281Sgonzo mi-cmd-break.c mi-cmd-disas.c mi-cmd-env.c mi-cmd-file.c \ 25239281Sgonzo mi-cmd-stack.c mi-cmd-var.c mi-cmds.c mi-console.c mi-getopt.c \ 26239281Sgonzo mi-interp.c mi-main.c mi-out.c mi-parse.c mi-symbol-cmds.c \ 27239281Sgonzo minsyms.c mipsread.c nlmread.c objc-exp.y objc-lang.c \ 28239281Sgonzo objfiles.c observer.c osabi.c p-exp.y p-lang.c p-typeprint.c \ 29239281Sgonzo p-valprint.c parse.c printcmd.c regcache.c reggroups.c remote.c \ 30239281Sgonzo remote-fileio.c remote-utils.c scm-exp.c scm-lang.c \ 31239281Sgonzo scm-valprint.c sentinel-frame.c ser-pipe.c ser-tcp.c ser-unix.c \ 32283276Sgonzo serial.c signals.c solib.c solib-svr4.c source.c stabsread.c \ 33239281Sgonzo stack.c std-regs.c symfile.c symmisc.c symtab.c target.c \ 34239281Sgonzo thread.c top.c tracepoint.c trad-frame.c tui.c tui-command.c \ 35239281Sgonzo tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \ 36283276Sgonzo tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \ 37239281Sgonzo tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ 38239281Sgonzo tui-winsource.c typeprint.c ui-file.c ui-out.c user-regs.c \ 39239281Sgonzo utils.c valarith.c valops.c valprint.c values.c varobj.c \ 40283276Sgonzo wrapper.c ${LIBSRCS} 41239281Sgonzo 42239281SgonzoGENSRCS= version.c 43239281Sgonzo 44239281Sgonzo.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 45239281SgonzoLIBSRCS+= fbsd-threads.c 46239281Sgonzo.endif 47239281Sgonzo 48239281Sgonzoversion.c: 49239281Sgonzo echo '#include "version.h"' > ${.TARGET} 50239281Sgonzo echo 'const char version[] = ${VERSION};' >> ${.TARGET} 51239281Sgonzo echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \ 52239281Sgonzo >> ${.TARGET} 53239281Sgonzo echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \ 54239281Sgonzo >> ${.TARGET} 55239281Sgonzo 56283276Sgonzo.include <bsd.lib.mk> 57283276Sgonzo