Date: Sun, 11 Apr 2004 21:13:10 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 50906 for review Message-ID: <200404120413.i3C4DAMG001219@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50906 Change 50906 by marcel@marcel_nfs on 2004/04/11 21:12:09 Use ${TARGET_SUBDIR} instead of ${.CURDIR}/${TARGET_ARCH} or just ${TARGET_ARCH} for makefile inclusions. There are currently 2 exceptions, both are ${.CURDIR}/../bfd/${TARGET_ARCH}. Ideally these should be abstracted as well so that we can select a subdir that's different from ${TARGET_ARCH}. Think variations of a single platforms (as in big-endian and little-endian). Affected files ... .. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/Makefile#3 edit .. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#8 edit .. //depot/projects/gdb/gnu/usr.bin/gdb/libiberty/Makefile#3 edit .. //depot/projects/gdb/gnu/usr.bin/gdb/opcodes/Makefile#2 edit Differences ... ==== //depot/projects/gdb/gnu/usr.bin/gdb/bfd/Makefile#3 (text+ko) ==== @@ -15,13 +15,13 @@ merge.c opncls.c reloc.c section.c simple.c srec.c stab-syms.c \ stabs.c syms.c targets.c tekhex.c ${GENSRCS} -.include "${TARGET_ARCH}/Makefile" +.include "${TARGET_SUBDIR}/Makefile" CLEANFILES+= ${GENSRCS} CFLAGS+= -DHAVE_CONFIG_H CFLAGS+= -I. -CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} +CFLAGS+= -I${TARGET_SUBDIR} CFLAGS+= -I${CNTRB_GDB}/bfd CFLAGS+= -I${CNTRB_GDB}/include ==== //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#8 (text+ko) ==== @@ -44,7 +44,7 @@ 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" +.include "${TARGET_SUBDIR}/Makefile" CLEANFILES+= ${GENSRCS} ==== //depot/projects/gdb/gnu/usr.bin/gdb/libiberty/Makefile#3 (text+ko) ==== @@ -17,7 +17,7 @@ CFLAGS+= -DHAVE_CONFIG_H CFLAGS+= -I. -CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} +CFLAGS+= -I${TARGET_SIBDIR} CFLAGS+= -I${CNTRB_GDB}/libiberty CFLAGS+= -I${CNTRB_GDB}/include ==== //depot/projects/gdb/gnu/usr.bin/gdb/opcodes/Makefile#2 (text+ko) ==== @@ -10,13 +10,13 @@ GENSRCS= SRCS= dis-buf.c dis-init.c disassemble.c ${GENSRCS} -.include "${TARGET_ARCH}/Makefile" +.include "${TARGET_SUBDIR}/Makefile" CLEANFILES+= ${GENSRCS} CFLAGS+= -DHAVE_CONFIG_H CFLAGS+= -I. -CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} +CFLAGS+= -I${TARGET_SUBDIR} CFLAGS+= -I${.CURDIR}/../bfd/${TARGET_ARCH} CFLAGS+= -I${CNTRB_GDB}/include
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404120413.i3C4DAMG001219>