| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.46 2018/04/05 05:38:59 mrg Exp $ | | 1 | # $NetBSD: Makefile,v 1.47 2018/04/12 20:44:16 mrg Exp $ |
2 | | | 2 | |
3 | LIBISPRIVATE= yes | | 3 | LIBISPRIVATE= yes |
4 | | | 4 | |
5 | LIB= backend | | 5 | LIB= backend |
6 | | | 6 | |
7 | SRCS= ${G_OBJS} ${G_out_file:T} regsub.c | | 7 | SRCS= ${G_OBJS} ${G_out_file:T} regsub.c |
8 | | | 8 | |
9 | # XXX: something misses these. | | 9 | # XXX: something misses these. |
10 | CLEANDIRFILES+= ${G_OBJS:.o=.d} | | 10 | CLEANDIRFILES+= ${G_OBJS:.o=.d} |
11 | | | 11 | |
12 | # Make sure we use the pre-generated C files | | 12 | # Make sure we use the pre-generated C files |
13 | .l.c: | | 13 | .l.c: |
14 | @true | | 14 | @true |
| @@ -453,47 +453,60 @@ CASECFNDEPS= aarch64-builtins.c arm-buil | | | @@ -453,47 +453,60 @@ CASECFNDEPS= aarch64-builtins.c arm-buil |
453 | ${CASECFNDEPS}: case-cfn-macros.h | | 453 | ${CASECFNDEPS}: case-cfn-macros.h |
454 | | | 454 | |
455 | # | | 455 | # |
456 | # Required hard-coded dependancies. | | 456 | # Required hard-coded dependancies. |
457 | # | | 457 | # |
458 | genextract.lo: insn-config.h | | 458 | genextract.lo: insn-config.h |
459 | gencondmd.lo: tm_p.h tm-constrs.h | | 459 | gencondmd.lo: tm_p.h tm-constrs.h |
460 | read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: insn-constants.h gtype-desc.h | | 460 | read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: insn-constants.h gtype-desc.h |
461 | genattr-common.lo gensupport.lo genconditions.lo gentarget-def.lo: insn-constants.h | | 461 | genattr-common.lo gensupport.lo genconditions.lo gentarget-def.lo: insn-constants.h |
462 | genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: insn-constants.h gtype-desc.h | | 462 | genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: insn-constants.h gtype-desc.h |
463 | genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: insn-constants.h | | 463 | genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: insn-constants.h |
464 | build-ggc-none.lo: gtype-desc.h | | 464 | build-ggc-none.lo: gtype-desc.h |
465 | ggc-none.o: gtype-desc.h | | 465 | ggc-none.o: gtype-desc.h |
466 | | | 466 | asan.d asan.o: insn-opinit.h |
467 | insn-attrtab.o: insn-config.h | | 467 | insn-attrtab.o: insn-config.h |
468 | insn-extract.o: insn-config.h | | 468 | insn-extract.o: insn-config.h |
469 | toplev.d toplev.o: options.h | | 469 | toplev.d toplev.o: options.h |
470 | coverage.d: gcov-iov.h | | 470 | coverage.d: gcov-iov.h |
471 | gcov-io.h: gcov-iov.h | | 471 | gcov-io.h: gcov-iov.h |
472 | alias.d alias.o: insn-constants.h tm_p.h | | 472 | alias.d alias.o: insn-constants.h tm_p.h |
473 | cgraph.d cgraphunit.d cgraphunit.o: gcov-io.h | | 473 | cgraph.d cgraphunit.d cgraphunit.o: gcov-io.h |
474 | vec.lo: gtype-desc.h | | 474 | vec.lo: gtype-desc.h |
475 | gtype-desc.d gtype-desc.o: insn-constants.h | | 475 | gtype-desc.d gtype-desc.o: insn-constants.h |
476 | insn-emit.d insn-emit.o: tm-constrs.h | | 476 | insn-emit.d insn-emit.o: tm-constrs.h insn-opinit.h |
477 | insn-attr.h: insn-attr-common.h | | 477 | insn-attr.h: insn-attr-common.h |
478 | asan.d asan.o: insn-opinit.h | | | |
479 | data-streamer.d data-streamer-out.d coverage.d gcov-dump.d gcov-io.d gcov-iov.d gcov.d libgcov.d lto-cgraph.d mcf.d modulo-sched.d profile.d value-prof.d: gcov-io.h | | | |
480 | data-streamer.o data-streamer-out.o coverage.o gcov-dump.o gcov-io.o gcov-iov.o gcov.o libgcov.o lto-cgraph.o mcf.o modulo-sched.o profile.o value-prof.o: gcov-io.h | | | |
481 | gcov-io.h: gcov-iov.h | | 478 | gcov-io.h: gcov-iov.h |
482 | df-scan.d df-scan.o: target-hooks-def.h | | 479 | df-scan.d df-scan.o: target-hooks-def.h |
483 | read-md.d read-md.o read-md.lo: auto-build.h | | 480 | read-md.d read-md.o read-md.lo: auto-build.h |
484 | hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h | | 481 | hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h |
485 | gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h | | 482 | gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h |
486 | cgraphunit.d cgraphunit.o: pass-instances.def | | 483 | cgraphunit.d cgraphunit.o: pass-instances.def |
| | | 484 | insn-opinit.o insn-opinit.d: insn-flags.h |
| | | 485 | .for _f in insn-attrtab insn-automata insn-dfatab insn-latencytab insn-output |
| | | 486 | ${_f}.o ${_f}.d: insn-attr-common.h insn-attr.h |
| | | 487 | .endfor |
| | | 488 | .for _f in insn-attrtab insn-automata insn-dfatab insn-emit insn-extract \ |
| | | 489 | insn-latencytab insn-opinit insn-output insn-peep insn-preds \ |
| | | 490 | insn-recog |
| | | 491 | ${_f}.o ${_f}.d: insn-codes.h insn-config.h insn-constants.h insn-flags.h |
| | | 492 | .endfor |
| | | 493 | .for _f in insn-enums insn-modes |
| | | 494 | ${_f}.o ${_f}.d: insn-constants.h |
| | | 495 | .endfor |
| | | 496 | .for _f in data-streamer data-streamer-out coverage gcov-dump gcov-io \ |
| | | 497 | gcov-iov gcov libgcov lto-cgraph mcf modulo-sched profile value-prof |
| | | 498 | ${_f}.o ${_f}.d: gcov-io.h |
| | | 499 | .endfor |
487 | | | 500 | |
488 | # XXX make all hooks generated for now. | | 501 | # XXX make all hooks generated for now. |
489 | final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h | | 502 | final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h |
490 | | | 503 | |
491 | .if ${GCC_MACHINE_ARCH} == "alpha" | | 504 | .if ${GCC_MACHINE_ARCH} == "alpha" |
492 | alpha.d alpha.o: tm-constrs.h tm_p.h insn-opinit.h target-hooks-def.h | | 505 | alpha.d alpha.o: tm-constrs.h tm_p.h insn-opinit.h target-hooks-def.h |
493 | alpha.d: pass-instances.def | | 506 | alpha.d: pass-instances.def |
494 | .endif | | 507 | .endif |
495 | | | 508 | |
496 | .if ${MACHINE_CPU} == "arm" | | 509 | .if ${MACHINE_CPU} == "arm" |
497 | arm.d arm.o: insn-constants.h tm_p.h insn-opinit.h target-hooks-def.h | | 510 | arm.d arm.o: insn-constants.h tm_p.h insn-opinit.h target-hooks-def.h |
498 | arm-builtins.d arm-builtins.o: insn-opinit.h | | 511 | arm-builtins.d arm-builtins.o: insn-opinit.h |
499 | # XXX insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror] | | 512 | # XXX insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror] |