Wed Jun 29 02:17:36 2011 UTC ()
apply some .if checks upon dependancies.


(mrg)
diff -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/backend/Makefile

cvs diff -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/backend/Makefile (expand / switch to unified diff)

--- src/external/gpl3/gcc/usr.bin/backend/Makefile 2011/06/29 02:01:37 1.5
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile 2011/06/29 02:17:35 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.5 2011/06/29 02:01:37 mrg Exp $ 1# $NetBSD: Makefile,v 1.6 2011/06/29 02:17:35 mrg Exp $
2 2
3LIBISPRIVATE= yes 3LIBISPRIVATE= yes
4 4
5LIB= backend 5LIB= backend
6 6
7SRCS= ${G_OBJS:.o=.c} ${G_out_file:T} 7SRCS= ${G_OBJS:.o=.c} ${G_out_file:T}
8 8
9CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ 9CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
10 -DTARGET_NAME=\"${MACHINE_GNU_PLATFORM}\" 10 -DTARGET_NAME=\"${MACHINE_GNU_PLATFORM}\"
11HOST_CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} 11HOST_CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
12DPSRCS+= insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h 12DPSRCS+= insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h
13CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\" 13CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
14CPPFLAGS.cppdefault.c+= -DPREFIX=\"/usr\" 14CPPFLAGS.cppdefault.c+= -DPREFIX=\"/usr\"
@@ -317,18 +317,20 @@ genextract.lo: insn-config.h @@ -317,18 +317,20 @@ genextract.lo: insn-config.h
317insn-conditions.lo: insn-constants.h tm_p.h tm-preds.h 317insn-conditions.lo: insn-constants.h tm_p.h tm-preds.h
318build-ggc-none.lo: gtype-desc.h 318build-ggc-none.lo: gtype-desc.h
319ggc-none.o: gtype-desc.h 319ggc-none.o: gtype-desc.h
320 320
321insn-attrtab.o: insn-config.h 321insn-attrtab.o: insn-config.h
322insn-extract.o: insn-config.h 322insn-extract.o: insn-config.h
323toplev.d toplev.o: options.h 323toplev.d toplev.o: options.h
324coverage.d: gcov-iov.h 324coverage.d: gcov-iov.h
325gcov-io.h: gcov-iov.h 325gcov-io.h: gcov-iov.h
326alias.d alias.o: insn-constants.h tm_p.h tm-preds.h 326alias.d alias.o: insn-constants.h tm_p.h tm-preds.h
327cgraphunit.d cgraphunit.o: gcov-io.h 327cgraphunit.d cgraphunit.o: gcov-io.h
328vec.lo: gtype-desc.h 328vec.lo: gtype-desc.h
329# XXX 329# XXX
 330.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
330i386.d i386.o: tm-constrs.h 331i386.d i386.o: tm-constrs.h
 332.endif
331 333
332COPTS+=-Wno-stack-protector 334COPTS+=-Wno-stack-protector
333 335
334.PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include 336.PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include