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/kaps \
18 -I$(top_srcdir)/ir/libcore \
19 -I$(top_srcdir)/ir/lower \
20 -I$(top_srcdir)/ir/lpp \
21 -I$(top_srcdir)/ir/net \
22 -I$(top_srcdir)/ir/opt \
23 -I$(top_srcdir)/ir/stat \
24 -I$(top_srcdir)/ir/tr \
27 libfirm_la_LDFLAGS = -no-undefined -version-info $(LT_VERSION) -lm
28 libfirm_la_SOURCES = \
46 ana/analyze_irg_args.c \
70 be/bechordal_common.c \
84 be/beemitter_binary.c \
100 be/bepbqpcoloring.c \
107 be/beschedregpress.c \
109 be/beschedtrivial.c \
128 common/firm_common.c \
151 ir/irlinkednodemap.c \
152 ir/irlinkednodeset.c \
169 libcore/lc_appendable.c \
171 libcore/lc_opts_enum.c \
172 libcore/lc_printf.c \
173 lower/lower_alloc.c \
174 lower/lower_builtins.c \
175 lower/lower_calls.c \
176 lower/lower_copyb.c \
179 lower/lower_intrinsics.c \
180 lower/lower_mode_b.c \
182 lower/lower_softfloat.c \
183 lower/lower_switch.c \
193 obstack/obstack_printf.c \
196 opt/code_placement.c \
199 opt/critical_edges.c \
200 opt/dead_code_elimination.c \
204 opt/garbage_collect.c \
208 opt/jumpthreading.c \
219 opt/parallelize_mem.c \
223 opt/scalar_replace.c \
237 tr/tr_inheritance.c \
240 tr/type_finalization.c \
248 kaps/heuristical_co.c \
249 kaps/heuristical_co_ld.c \
284 be/bechordal_draw.h \
295 be/bechordal_common.h \
300 be/beemitter_binary.h \
311 be/bepbqpcoloring.h \
352 ir/irlinkednodemap.h \
353 ir/irlinkednodeset.h \
361 libcore/lc_appendable.h \
363 libcore/lc_opts_enum.h \
364 libcore/lc_opts_t.h \
365 libcore/lc_printf.h \
366 libcore/lc_printf_arg_types.def \
367 lower/lower_calls.h \
369 lower/lower_alloc.h \
370 lower/lower_builtins.h \
371 lower/lower_mode_b.h \
372 lower/lower_softfloat.h \
384 opt/scalar_replace.h \
395 tr/compound_path_t.h \
406 kaps/heuristical_co.h \
407 kaps/heuristical_co_ld.h \
420 ir/gen_ir_cons.c.inl \
422 ir/gen_irnode.c.inl \
424 ir/gen_irdump.c.inl \
425 be/scripts/generate_emitter_new.pl \
426 be/scripts/generate_emitter.pl \
427 be/scripts/generate_new_opcodes.pl \
428 be/scripts/generate_regalloc_if.pl
432 be/ia32/bearch_ia32.c \
433 be/ia32/ia32_address_mode.c \
434 be/ia32/ia32_architecture.c \
435 be/ia32/ia32_common_transform.c \
436 be/ia32/ia32_emitter.c \
437 be/ia32/ia32_finish.c \
439 be/ia32/ia32_intrinsics.c \
440 be/ia32/ia32_new_nodes.c \
441 be/ia32/ia32_optimize.c \
442 be/ia32/ia32_transform.c \
445 ia32_built_sources = \
446 be/ia32/gen_ia32_emitter.c \
447 be/ia32/gen_ia32_emitter.h \
448 be/ia32/gen_ia32_new_nodes.c.inl \
449 be/ia32/gen_ia32_new_nodes.h \
450 be/ia32/gen_ia32_regalloc_if.c \
451 be/ia32/gen_ia32_regalloc_if.h
452 MAINTAINERCLEANFILES = $(ia32_built_sources)
453 BUILT_SOURCES = $(ia32_built_sources)
454 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
457 be/ia32/bearch_ia32_t.h \
458 be/ia32/ia32_address_mode.h \
459 be/ia32/ia32_architecture.h \
460 be/ia32/ia32_common_transform.h \
461 be/ia32/ia32_dbg_stat.h \
462 be/ia32/ia32_emitter.h \
463 be/ia32/ia32_finish.h \
465 be/ia32/ia32_new_nodes.h \
466 be/ia32/ia32_nodes_attr.h \
467 be/ia32/ia32_optimize.h \
468 be/ia32/ia32_spec.pl \
469 be/ia32/ia32_transform.h \
472 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
473 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
474 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
476 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
477 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
478 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
480 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
481 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
482 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
487 be/arm/arm_emitter.c \
488 be/arm/arm_new_nodes.c \
489 be/arm/arm_optimize.c \
490 be/arm/arm_transform.c \
491 be/arm/arm_map_regs.c \
494 arm_built_sources = \
495 be/arm/gen_arm_emitter.c \
496 be/arm/gen_arm_emitter.h \
497 be/arm/gen_arm_new_nodes.c.inl \
498 be/arm/gen_arm_new_nodes.h \
499 be/arm/gen_arm_regalloc_if.c \
500 be/arm/gen_arm_regalloc_if.h
501 MAINTAINERCLEANFILES += $(arm_built_sources)
502 BUILT_SOURCES += $(arm_built_sources)
503 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
507 be/arm/arm_emitter.h \
508 be/arm/arm_new_nodes.h \
509 be/arm/arm_nodes_attr.h \
510 be/arm/arm_optimize.h \
512 be/arm/arm_transform.h \
513 be/arm/arm_map_regs.h \
515 be/arm/bearch_arm_t.h
517 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
518 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
519 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
521 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
522 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
523 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
525 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
526 be/arm/arm_spec.pl be/scripts/generate_regalloc_if.pl
527 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
532 be/sparc/bearch_sparc.c \
533 be/sparc/sparc_cconv.c \
534 be/sparc/sparc_emitter.c \
535 be/sparc/sparc_finish.c \
536 be/sparc/sparc_lower64.c \
537 be/sparc/sparc_new_nodes.c \
538 be/sparc/sparc_stackframe.c \
539 be/sparc/sparc_transform.c
540 sparc_built_sources = \
541 be/sparc/gen_sparc_emitter.c \
542 be/sparc/gen_sparc_emitter.h \
543 be/sparc/gen_sparc_new_nodes.c.inl \
544 be/sparc/gen_sparc_new_nodes.h \
545 be/sparc/gen_sparc_regalloc_if.c \
546 be/sparc/gen_sparc_regalloc_if.h
547 MAINTAINERCLEANFILES += $(sparc_built_sources)
548 BUILT_SOURCES += $(sparc_built_sources)
549 libfirm_la_SOURCES += $(sparc_sources) $(sparc_built_sources)
552 be/sparc/sparc_emitter.h \
553 be/sparc/sparc_new_nodes.h \
554 be/sparc/sparc_nodes_attr.h \
555 be/sparc/sparc_spec.pl \
556 be/sparc/sparc_cconv.h \
557 be/sparc/sparc_transform.h \
558 be/sparc/bearch_sparc_t.h
560 $(srcdir)/be/sparc/gen_sparc_new_nodes.c.inl $(srcdir)/be/sparc/gen_sparc_new_nodes.h: \
561 be/sparc/sparc_spec.pl be/scripts/generate_new_opcodes.pl
562 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
564 $(srcdir)/be/sparc/gen_sparc_emitter.c $(srcdir)/be/sparc/gen_sparc_emitter.h: \
565 be/sparc/sparc_spec.pl be/scripts/generate_emitter.pl
566 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
568 $(srcdir)/be/sparc/gen_sparc_regalloc_if.c $(srcdir)/be/sparc/gen_sparc_regalloc_if.h: \
569 be/sparc/sparc_spec.pl be/scripts/generate_regalloc_if.pl
570 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
575 be/amd64/amd64_emitter.c \
576 be/amd64/amd64_new_nodes.c \
577 be/amd64/amd64_transform.c \
578 be/amd64/bearch_amd64.c
579 amd64_built_sources = \
580 be/amd64/gen_amd64_emitter.c \
581 be/amd64/gen_amd64_emitter.h \
582 be/amd64/gen_amd64_new_nodes.c.inl \
583 be/amd64/gen_amd64_new_nodes.h \
584 be/amd64/gen_amd64_regalloc_if.c \
585 be/amd64/gen_amd64_regalloc_if.h
586 MAINTAINERCLEANFILES += $(amd64_built_sources)
587 BUILT_SOURCES += $(amd64_built_sources)
588 libfirm_la_SOURCES += $(amd64_sources) $(amd64_built_sources)
591 be/amd64/amd64_emitter.h \
592 be/amd64/amd64_new_nodes.h \
593 be/amd64/amd64_nodes_attr.h \
594 be/amd64/amd64_spec.pl \
595 be/amd64/amd64_transform.h \
596 be/amd64/bearch_amd64_t.h
598 $(srcdir)/be/amd64/gen_amd64_new_nodes.c.inl $(srcdir)/be/amd64/gen_amd64_new_nodes.h: \
599 be/amd64/amd64_spec.pl be/scripts/generate_new_opcodes.pl
600 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
602 $(srcdir)/be/amd64/gen_amd64_emitter.c $(srcdir)/be/amd64/gen_amd64_emitter.h: \
603 be/amd64/amd64_spec.pl be/scripts/generate_emitter.pl
604 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
606 $(srcdir)/be/amd64/gen_amd64_regalloc_if.c $(srcdir)/be/amd64/gen_amd64_regalloc_if.h: \
607 be/amd64/amd64_spec.pl be/scripts/generate_regalloc_if.pl
608 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
614 be/TEMPLATE/TEMPLATE_emitter.c \
615 be/TEMPLATE/TEMPLATE_new_nodes.c \
616 be/TEMPLATE/TEMPLATE_transform.c \
617 be/TEMPLATE/bearch_TEMPLATE.c
618 TEMPLATE_built_sources = \
619 be/TEMPLATE/gen_TEMPLATE_emitter.c \
620 be/TEMPLATE/gen_TEMPLATE_emitter.h \
621 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
622 be/TEMPLATE/gen_TEMPLATE_new_nodes.h \
623 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
624 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h
625 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
626 BUILT_SOURCES += $(TEMPLATE_built_sources)
627 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
630 be/TEMPLATE/TEMPLATE_emitter.h \
631 be/TEMPLATE/TEMPLATE_new_nodes.h \
632 be/TEMPLATE/TEMPLATE_nodes_attr.h \
633 be/TEMPLATE/TEMPLATE_spec.pl \
634 be/TEMPLATE/TEMPLATE_transform.h \
635 be/TEMPLATE/bearch_TEMPLATE_t.h
637 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.h: \
638 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_new_opcodes.pl
639 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
641 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.h: \
642 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_emitter.pl
643 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
645 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
646 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_regalloc_if.pl
647 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE