1 lib_LTLIBRARIES = libfirm.la
3 INCLUDES = $(LIBCORE_CFLAGS) \
4 -I$(top_srcdir)/include/libfirm \
5 -I$(top_srcdir)/include/libfirm/adt \
9 -I$(top_srcdir)/ir/adt \
10 -I$(top_srcdir)/ir/ana \
11 -I$(top_srcdir)/ir/arch \
12 -I$(top_srcdir)/ir/be \
13 -I$(top_srcdir)/ir/common \
14 -I$(top_srcdir)/ir/debug \
15 -I$(top_srcdir)/ir/ident \
16 -I$(top_srcdir)/ir/ir \
17 -I$(top_srcdir)/ir/libcore \
18 -I$(top_srcdir)/ir/lower \
19 -I$(top_srcdir)/ir/net \
20 -I$(top_srcdir)/ir/opt \
21 -I$(top_srcdir)/ir/stat \
22 -I$(top_srcdir)/ir/tr \
25 libfirm_la_SOURCES = \
44 ana/analyze_irg_args.c \
50 ana/execution_frequency.c \
51 ana/field_temperature.c \
53 ana/interval_analysis.c \
112 be/bepressurestat.c \
119 be/beschedregpress.c \
122 be/beschedtrivial.c \
123 be/bespillbelady2.c \
124 be/bespillbelady3.c \
128 be/bespilllinearscan.c \
129 be/bespilloptions.c \
134 be/bessadestrsimple.c \
145 common/firm_common.c \
148 common/statistics.c \
172 ir/irlinkednodemap.c \
173 ir/irlinkednodeset.c \
188 libcore/lc_appendable.c \
189 libcore/lc_config_lexer.c \
190 libcore/lc_config_parser.c \
192 libcore/lc_opts_enum.c \
193 libcore/lc_printf.c \
195 lower/lower_calls.c \
196 lower/lower_copyb.c \
199 lower/lower_intrinsics.c \
200 lower/lower_mode_b.c \
201 lower/lower_switch.c \
204 obstack/obstack_printf.c \
207 opt/code_placement.c \
211 opt/critical_edges.c \
212 opt/data_flow_scalar_replace.c \
224 opt/opt_polymorphy.c \
228 opt/scalar_replace.c \
242 tr/tr_inheritance.c \
245 tr/type_finalization.c \
265 be/bessadestrsimple.h \
278 be/bechordal_draw.h \
290 be/bepressurestat.h \
296 be/bespilloptions.h \
320 common/statistics.h \
324 common/firm_common_t.h \
353 ir/irlinkednodemap.h \
354 ir/irlinkednodeset.h \
356 libcore/lc_common_t.h \
357 libcore/lc_appendable.h \
358 libcore/lc_config.h \
359 libcore/lc_parser_t.h \
360 libcore/lc_printf_arg_types.def \
361 libcore/do_bisonflex.sh \
362 libcore/lc_config_parser.h \
363 libcore/lc_opts_t.h \
364 libcore/lc_defines.h \
365 libcore/lc_opts_enum.h \
367 libcore/lc_printf.h \
370 opt/scalar_replace.h \
372 opt/opt_polymorphy.h \
391 be/scripts/generate_emitter_new.pl \
392 be/scripts/generate_emitter.pl \
393 be/scripts/generate_machine.pl \
394 be/scripts/generate_new_opcodes.pl \
395 be/scripts/generate_regalloc_if.pl
401 be/ia32/bearch_ia32.c \
402 be/ia32/ia32_architecture.c \
403 be/ia32/ia32_address_mode.c \
404 be/ia32/ia32_emitter.c \
405 be/ia32/ia32_finish.c \
407 be/ia32/ia32_intrinsics.c \
408 be/ia32/ia32_map_regs.c \
409 be/ia32/ia32_new_nodes.c \
410 be/ia32/ia32_optimize.c \
411 be/ia32/ia32_transform.c \
412 be/ia32/ia32_util.c \
415 ia32_built_sources = \
416 be/ia32/gen_ia32_emitter.c \
417 be/ia32/gen_ia32_emitter.h \
418 be/ia32/gen_ia32_machine.c \
419 be/ia32/gen_ia32_machine.h \
420 be/ia32/gen_ia32_regalloc_if.c \
421 be/ia32/gen_ia32_regalloc_if.h \
422 be/ia32/gen_ia32_new_nodes.c.inl \
423 be/ia32/gen_ia32_new_nodes.h
424 MAINTAINERCLEANFILES = $(ia32_built_sources)
425 BUILT_SOURCES = $(ia32_built_sources)
426 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
429 be/ia32/ia32_spec.pl \
430 be/ia32/ia32_simd_spec.pl \
431 be/ia32/bearch_ia32_t.h \
432 be/ia32/ia32_architecture.h \
433 be/ia32/ia32_address_mode.h \
434 be/ia32/ia32_dbg_stat.h \
435 be/ia32/ia32_emitter.h \
436 be/ia32/ia32_finish.h \
438 be/ia32/ia32_map_regs.h \
439 be/ia32/ia32_new_nodes.h \
440 be/ia32/ia32_nodes_attr.h \
441 be/ia32/ia32_optimize.h \
442 be/ia32/ia32_transform.h \
443 be/ia32/ia32_util.h \
446 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
447 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
448 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
450 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
451 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
452 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
454 $(srcdir)/be/ia32/gen_ia32_machine.c $(srcdir)/be/ia32/gen_ia32_machine.h: \
455 be/ia32/ia32_spec.pl be/scripts/generate_machine.pl
456 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
458 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
459 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
460 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
465 be/arm/bearch_arm.c \
466 be/arm/arm_emitter.c \
467 be/arm/arm_map_regs.c \
468 be/arm/arm_new_nodes.c \
469 be/arm/arm_optimize.c \
470 be/arm/arm_transform.c
471 arm_built_sources = \
472 be/arm/gen_arm_emitter.c \
473 be/arm/gen_arm_emitter.h \
474 be/arm/gen_arm_machine.c \
475 be/arm/gen_arm_machine.h \
476 be/arm/gen_arm_regalloc_if.c \
477 be/arm/gen_arm_regalloc_if.h \
478 be/arm/gen_arm_new_nodes.c.inl \
479 be/arm/gen_arm_new_nodes.h
480 MAINTAINERCLEANFILES += $(arm_built_sources)
481 BUILT_SOURCES += $(arm_built_sources)
482 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
487 be/arm/arm_emitter.h \
488 be/arm/arm_map_regs.h \
489 be/arm/arm_new_nodes.h \
490 be/arm/arm_nodes_attr.h \
491 be/arm/arm_optimize.h \
492 be/arm/arm_transform.h \
493 be/arm/bearch_arm.h \
494 be/arm/bearch_arm_t.h
496 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
497 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
498 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
500 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
501 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
502 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
504 $(srcdir)/be/arm/gen_arm_machine.c $(srcdir)/be/arm/gen_arm_machine.h: \
505 be/arm/arm_spec.pl be/scripts/generate_machine.pl
506 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
508 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
509 be/arm/arm_spec.pl be/scripts/generate_machine.pl
510 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
515 be/mips/bearch_mips.c \
516 be/mips/mips_emitter.c \
517 be/mips/mips_map_regs.c \
518 be/mips/mips_new_nodes.c \
519 be/mips/mips_scheduler.c \
520 be/mips/mips_transform.c
521 mips_built_sources = \
522 be/mips/gen_mips_emitter.c \
523 be/mips/gen_mips_emitter.h \
524 be/mips/gen_mips_machine.c \
525 be/mips/gen_mips_machine.h \
526 be/mips/gen_mips_regalloc_if.c \
527 be/mips/gen_mips_regalloc_if.h \
528 be/mips/gen_mips_new_nodes.c.inl \
529 be/mips/gen_mips_new_nodes.h
530 MAINTAINERCLEANFILES += $(mips_built_sources)
531 BUILT_SOURCES += $(mips_built_sources)
532 libfirm_la_SOURCES += $(mips_sources) $(mips_built_sources)
535 be/mips/mips_spec.pl \
536 be/mips/bearch_mips.h \
537 be/mips/bearch_mips_t.h \
538 be/mips/mips_emitter.h \
539 be/mips/mips_map_regs.h \
540 be/mips/mips_new_nodes.h \
541 be/mips/mips_nodes_attr.h \
542 be/mips/mips_scheduler.h \
543 be/mips/mips_transform.h \
546 $(srcdir)/be/mips/gen_mips_new_nodes.c.inl $(srcdir)/be/mips/gen_mips_new_nodes.h: \
547 be/mips/mips_spec.pl be/scripts/generate_new_opcodes.pl
548 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
550 $(srcdir)/be/mips/gen_mips_emitter.c $(srcdir)/be/mips/gen_mips_emitter.h: \
551 be/mips/mips_spec.pl be/scripts/generate_emitter.pl
552 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
554 $(srcdir)/be/mips/gen_mips_machine.c $(srcdir)/be/mips/gen_mips_machine.h: \
555 be/mips/mips_spec.pl be/scripts/generate_machine.pl
556 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
558 $(srcdir)/be/mips/gen_mips_regalloc_if.c $(srcdir)/be/mips/gen_mips_regalloc_if.h: \
559 be/mips/mips_spec.pl be/scripts/generate_machine.pl
560 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
565 be/ppc32/bearch_ppc32.c \
566 be/ppc32/ppc32_emitter.c \
567 be/ppc32/ppc32_map_regs.c \
568 be/ppc32/ppc32_new_nodes.c \
569 be/ppc32/ppc32_transform.c \
570 be/ppc32/ppc32_transform_conv.c
571 ppc32_built_sources = \
572 be/ppc32/gen_ppc32_emitter.c \
573 be/ppc32/gen_ppc32_emitter.h \
574 be/ppc32/gen_ppc32_machine.c \
575 be/ppc32/gen_ppc32_machine.h \
576 be/ppc32/gen_ppc32_regalloc_if.c \
577 be/ppc32/gen_ppc32_regalloc_if.h \
578 be/ppc32/gen_ppc32_new_nodes.c.inl \
579 be/ppc32/gen_ppc32_new_nodes.h
580 MAINTAINERCLEANFILES += $(ppc32_built_sources)
581 BUILT_SOURCES += $(ppc32_built_sources)
582 libfirm_la_SOURCES += $(ppc32_sources) $(ppc32_built_sources)
585 be/ppc32/ppc32_spec.pl \
586 be/ppc32/bearch_ppc32.h \
587 be/ppc32/bearch_ppc32_t.h \
588 be/ppc32/ppc32_emitter.h \
589 be/ppc32/ppc32_map_regs.h \
590 be/ppc32/ppc32_new_nodes.h \
591 be/ppc32/ppc32_nodes_attr.h \
592 be/ppc32/ppc32_transform_conv.h \
593 be/ppc32/ppc32_transform.h
595 $(srcdir)/be/ppc32/gen_ppc32_new_nodes.c.inl $(srcdir)/be/ppc32/gen_ppc32_new_nodes.h: \
596 be/ppc32/ppc32_spec.pl be/scripts/generate_new_opcodes.pl
597 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
599 $(srcdir)/be/ppc32/gen_ppc32_emitter.c $(srcdir)/be/ppc32/gen_ppc32_emitter.h: \
600 be/ppc32/ppc32_spec.pl be/scripts/generate_emitter.pl
601 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
603 $(srcdir)/be/ppc32/gen_ppc32_machine.c $(srcdir)/be/ppc32/gen_ppc32_machine.h: \
604 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
605 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
607 $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.c $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.h: \
608 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
609 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
614 be/TEMPLATE/bearch_TEMPLATE.c \
615 be/TEMPLATE/TEMPLATE_emitter.c \
616 be/TEMPLATE/TEMPLATE_map_regs.c \
617 be/TEMPLATE/TEMPLATE_new_nodes.c \
618 be/TEMPLATE/TEMPLATE_transform.c
619 TEMPLATE_built_sources = \
620 be/TEMPLATE/gen_TEMPLATE_emitter.c \
621 be/TEMPLATE/gen_TEMPLATE_emitter.h \
622 be/TEMPLATE/gen_TEMPLATE_machine.c \
623 be/TEMPLATE/gen_TEMPLATE_machine.h \
624 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
625 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h \
626 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
627 be/TEMPLATE/gen_TEMPLATE_new_nodes.h
628 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
629 BUILT_SOURCES += $(TEMPLATE_built_sources)
630 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
633 be/TEMPLATE/TEMPLATE_spec.pl \
634 be/TEMPLATE/bearch_TEMPLATE.h \
635 be/TEMPLATE/bearch_TEMPLATE_t.h \
636 be/TEMPLATE/TEMPLATE_emitter.h \
637 be/TEMPLATE/TEMPLATE_map_regs.h \
638 be/TEMPLATE/TEMPLATE_new_nodes.h \
639 be/TEMPLATE/TEMPLATE_nodes_attr.h \
640 be/TEMPLATE/TEMPLATE_transform.h
642 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.h: \
643 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_new_opcodes.pl
644 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
646 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.h: \
647 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_emitter.pl
648 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
650 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_machine.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_machine.h: \
651 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_machine.pl
652 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
654 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
655 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_machine.pl
656 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE