| @@ -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 | |
3 | LIBISPRIVATE= yes | | 3 | LIBISPRIVATE= yes |
4 | | | 4 | |
5 | LIB= backend | | 5 | LIB= backend |
6 | | | 6 | |
7 | SRCS= ${G_OBJS:.o=.c} ${G_out_file:T} | | 7 | SRCS= ${G_OBJS:.o=.c} ${G_out_file:T} |
8 | | | 8 | |
9 | CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ | | 9 | CPPFLAGS+= -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}\" |
11 | HOST_CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} | | 11 | HOST_CPPFLAGS+= -I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} |
12 | DPSRCS+= insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h | | 12 | DPSRCS+= insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h |
13 | CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\" | | 13 | CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\" |
14 | CPPFLAGS.cppdefault.c+= -DPREFIX=\"/usr\" | | 14 | CPPFLAGS.cppdefault.c+= -DPREFIX=\"/usr\" |
| @@ -317,18 +317,20 @@ genextract.lo: insn-config.h | | | @@ -317,18 +317,20 @@ genextract.lo: insn-config.h |
317 | insn-conditions.lo: insn-constants.h tm_p.h tm-preds.h | | 317 | insn-conditions.lo: insn-constants.h tm_p.h tm-preds.h |
318 | build-ggc-none.lo: gtype-desc.h | | 318 | build-ggc-none.lo: gtype-desc.h |
319 | ggc-none.o: gtype-desc.h | | 319 | ggc-none.o: gtype-desc.h |
320 | | | 320 | |
321 | insn-attrtab.o: insn-config.h | | 321 | insn-attrtab.o: insn-config.h |
322 | insn-extract.o: insn-config.h | | 322 | insn-extract.o: insn-config.h |
323 | toplev.d toplev.o: options.h | | 323 | toplev.d toplev.o: options.h |
324 | coverage.d: gcov-iov.h | | 324 | coverage.d: gcov-iov.h |
325 | gcov-io.h: gcov-iov.h | | 325 | gcov-io.h: gcov-iov.h |
326 | alias.d alias.o: insn-constants.h tm_p.h tm-preds.h | | 326 | alias.d alias.o: insn-constants.h tm_p.h tm-preds.h |
327 | cgraphunit.d cgraphunit.o: gcov-io.h | | 327 | cgraphunit.d cgraphunit.o: gcov-io.h |
328 | vec.lo: gtype-desc.h | | 328 | vec.lo: gtype-desc.h |
329 | # XXX | | 329 | # XXX |
| | | 330 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
330 | i386.d i386.o: tm-constrs.h | | 331 | i386.d i386.o: tm-constrs.h |
| | | 332 | .endif |
331 | | | 333 | |
332 | COPTS+=-Wno-stack-protector | | 334 | COPTS+=-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 |