Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 16:05:42 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50890 for review
Message-ID:  <200404112305.i3BN5gK4020184@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50890

Change 50890 by marcel@marcel_nfs on 2004/04/11 16:05:00

	o  Create platform subdirectories.
	o  Build bfd from contrib/gdb. 

Affected files ...

.. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/i386/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/i386/bfd.h#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/i386/config.h#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#5 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/i386/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/i386/config.h#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/i386/init.c#1 add

Differences ...

==== //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#5 (text+ko) ====

@@ -3,20 +3,20 @@
 .include "../Makefile.inc0"
 
 .PATH:	${CNTRB_GDB}/gdb ${CNTRB_GDB}/gdb/cli ${CNTRB_GDB}/gdb/mi	\
-	${CNTRB_GDB}/gdb/signals
+	${CNTRB_GDB}/gdb/signals ${CNTRB_GDB}/gdb/tui ${TARGET_SUBDIR}
 
 PROG=	gdb
 GENSRCS=version.c nm.h tm.h xm.h
-SRCS=	annotate.c arch-utils.c ax-gdb.c ax-general.c bcache.c		\
+SRCS=	annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c bcache.c	\
 	bfd-target.c block.c blockframe.c breakpoint.c buildsym.c	\
 	c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c		\
 	cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c	\
 	cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c	\
-	coffread.c complaints.c completer.c copying.c core-aout.c	\
-	corefile.c corelow.c cp-abi.c cp-namespace.c cp-support.c	\
-	cp-valprint.c dbxread.c dcache.c demangle.c dictionary.c	\
-	disasm.c doublest.c dummy-frame.c dwarf2-frame.c dwarf2expr.c	\
-	dwarf2loc.c dwarf2read.c dwarfread.c elfread.c environ.c eval.c	\
+	coffread.c complaints.c completer.c copying.c corefile.c	\
+	corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c	\
+	dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c	\
+	dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c		\
+	dwarf2read.c dwarfread.c elfread.c environ.c eval.c		\
 	event-loop.c event-top.c exec.c expprint.c f-exp.y f-lang.c	\
 	f-typeprint.c f-valprint.c fbsd-proc.c findvar.c fork-child.c	\
 	frame-base.c frame-unwind.c frame.c gcore.c gdb-events.c gdb.c	\
@@ -34,27 +34,34 @@
 	p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c		\
 	regcache.c reggroups.c remote.c remote-fileio.c remote-utils.c	\
 	scm-exp.c scm-lang.c scm-valprint.c sentinel-frame.c ser-pipe.c	\
-	ser-tcp.c ser-unix.c serial.c signals.c solib.c solib-legacy.c	\
+	ser-tcp.c ser-unix.c serial.c signals.c solib.c			\
 	solib-svr4.c source.c stabsread.c stack.c std-regs.c symfile.c	\
 	symmisc.c symtab.c target.c thread.c top.c tracepoint.c		\
-	trad-frame.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 ${GENSRCS}
+	trad-frame.c tui.c tui-command.c tui-data.c tui-disasm.c	\
+	tui-file.c tui-hooks.c tui-interp.c tui-io.c tui-layout.c	\
+	tui-out.c tui-regs.c tui-source.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 ${GENSRCS}
+
+.include "${TARGET_ARCH}/Makefile"
 
 CLEANFILES+= ${GENSRCS}
 
-.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-CFLAGS+= -DCROSS_COMPILE=1
-.endif
-CFLAGS+= -DHAVE_CONFIG_H -DMI_OUT=1
+CFLAGS+= -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1
 CFLAGS+= -I.
 CFLAGS+= -I${.CURDIR}
-CFLAGS+= -I${CNTRB_BINUTILS}/bfd
-CFLAGS+= -I${CNTRB_BINUTILS}/include
+CFLAGS+= -I${TARGET_SUBDIR}
 CFLAGS+= -I${CNTRB_GDB}/gdb
 CFLAGS+= -I${CNTRB_GDB}/gdb/config
 CFLAGS+= -I${CNTRB_GDB}/include
-CFLAGS+= -I${CNTRB_GDB}/readline
-CFLAGS+= -I${GNUBIN_BINUTILS}/libbfd/${TARGET_ARCH}
+CFLAGS+= -I${CNTRB_GDB}/bfd
+CFLAGS+= -I${.CURDIR}/../bfd/${TARGET_ARCH}
+
+GDB_LIBS= ../bfd/libbfd.a
+
+DPADD=	${GDB_LIBS} ${LIBREADLINE}
+LDADD=	${GDB_LIBS} -lreadline
 
 nm.h:
 	echo '#include "${TARGET_ARCH}/nm-fbsd.h"' > ${.TARGET}
@@ -67,7 +74,7 @@
 
 version.c:
 	echo '#include "version.h"' >  ${.TARGET}
-	echo 'const char version[] = "${VERSION}"' >> ${.TARGET}
+	echo 'const char version[] = ${VERSION};' >> ${.TARGET}
 	echo 'const char host_name[] = "${MACHINE_ARCH}-intree-freebsd";' \
 	    >> ${.TARGET}
 	echo 'const char target_name[] = "${TARGET_ARCH}-intree-freebsd";' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404112305.i3BN5gK4020184>