diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2004-03-17 07:40:42 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-03-17 07:40:42 +0000 |
| commit | 77047bb3e7877395301a07a391c3fe5406abfe72 (patch) | |
| tree | 80ff825ca243f1087f940bbff3f45c9d108af497 /gnu/usr.bin/binutils | |
| parent | f7d39bdcb636407cb8a8bea8f6d907765642659a (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/binutils')
| -rw-r--r-- | gnu/usr.bin/binutils/gasp/Makefile | 8 | ||||
| -rw-r--r-- | gnu/usr.bin/binutils/gdb/Makefile | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile index 8749722a5a7c..c2c6dbaf3a30 100644 --- a/gnu/usr.bin/binutils/gasp/Makefile +++ b/gnu/usr.bin/binutils/gasp/Makefile @@ -5,7 +5,7 @@ .PATH: ${SRCDIR}/gas PROG= gasp -SRCS+= gasp+%FIXED.c macro.c sb.c hash.c +SRCS+= gasp.c macro.c sb.c hash.c xregex.h WARNS?= 2 CFLAGS+= -DBFD_ASSEMBLER CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as @@ -13,9 +13,9 @@ CFLAGS+= -I${.CURDIR} CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config DPADD= ${RELTOP}/libiberty/libiberty.a LDADD= ${DPADD} -CLEANFILES= gasp+%FIXED.c +CLEANFILES= xregex.h -gasp+%FIXED.c: gasp.c - sed -e 's|xregex\.h|regex.h|g' ${.ALLSRC} >${.TARGET} +xregex.h: + @echo '#include <gnu/regex.h>' >${.TARGET} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index cadd3b23397d..0104729d090a 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -58,7 +58,6 @@ CFLAGS+= -DDEFAULT_BFD_ARCH=bfd_${GDB_CPU}_arch CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd CFLAGS+= -I${GDBDIR}/gdb -I${GDBDIR}/gdb/config -CFLAGS+= -I${DESTDIR}/usr/include/gnu CFLAGS+= -I$(.CURDIR) YFLAGS= @@ -136,6 +135,6 @@ gdbversion.c: Makefile @echo 'const char target_name[] = "${TARGET_ARCH}-undermydesk-freebsd";' >>${.TARGET} xregex.h: - @echo '#include <regex.h>' >${.TARGET} + @echo '#include <gnu/regex.h>' >${.TARGET} .include <bsd.prog.mk> |
