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 \
72 be/bechordal_common.c \
86 be/beemitter_binary.c \
102 be/bepbqpcoloring.c \
109 be/beschedregpress.c \
111 be/beschedtrivial.c \
130 common/firm_common.c \
153 ir/irlinkednodemap.c \
154 ir/irlinkednodeset.c \
171 libcore/lc_appendable.c \
173 libcore/lc_opts_enum.c \
174 libcore/lc_printf.c \
175 lower/lower_alloc.c \
176 lower/lower_builtins.c \
177 lower/lower_calls.c \
178 lower/lower_copyb.c \
181 lower/lower_intrinsics.c \
182 lower/lower_mode_b.c \
184 lower/lower_softfloat.c \
185 lower/lower_switch.c \
195 obstack/obstack_printf.c \
198 opt/code_placement.c \
201 opt/critical_edges.c \
202 opt/dead_code_elimination.c \
206 opt/garbage_collect.c \
210 opt/jumpthreading.c \
221 opt/parallelize_mem.c \
225 opt/scalar_replace.c \
240 tr/tr_inheritance.c \
243 tr/type_finalization.c \
251 kaps/heuristical_co.c \
252 kaps/heuristical_co_ld.c \
289 be/bechordal_draw.h \
300 be/bechordal_common.h \
305 be/beemitter_binary.h \
316 be/bepbqpcoloring.h \
357 ir/irlinkednodemap.h \
358 ir/irlinkednodeset.h \
366 libcore/lc_appendable.h \
368 libcore/lc_opts_enum.h \
369 libcore/lc_opts_t.h \
370 libcore/lc_printf.h \
371 libcore/lc_printf_arg_types.def \
372 lower/lower_calls.h \
374 lower/lower_alloc.h \
375 lower/lower_builtins.h \
376 lower/lower_mode_b.h \
377 lower/lower_softfloat.h \
389 opt/scalar_replace.h \
400 tr/compound_path_t.h \
411 kaps/heuristical_co.h \
412 kaps/heuristical_co_ld.h \
425 ir/gen_ir_cons.c.inl \
427 ir/gen_irnode.c.inl \
429 ir/gen_irdump.c.inl \
430 be/scripts/generate_emitter_new.pl \
431 be/scripts/generate_emitter.pl \
432 be/scripts/generate_new_opcodes.pl \
433 be/scripts/generate_regalloc_if.pl
437 be/ia32/bearch_ia32.c \
438 be/ia32/ia32_address_mode.c \
439 be/ia32/ia32_architecture.c \
440 be/ia32/ia32_common_transform.c \
441 be/ia32/ia32_emitter.c \
442 be/ia32/ia32_finish.c \
444 be/ia32/ia32_intrinsics.c \
445 be/ia32/ia32_new_nodes.c \
446 be/ia32/ia32_optimize.c \
447 be/ia32/ia32_transform.c \
450 ia32_built_sources = \
451 be/ia32/gen_ia32_emitter.c \
452 be/ia32/gen_ia32_emitter.h \
453 be/ia32/gen_ia32_new_nodes.c.inl \
454 be/ia32/gen_ia32_new_nodes.h \
455 be/ia32/gen_ia32_regalloc_if.c \
456 be/ia32/gen_ia32_regalloc_if.h
457 MAINTAINERCLEANFILES = $(ia32_built_sources)
458 BUILT_SOURCES = $(ia32_built_sources)
459 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
462 be/ia32/bearch_ia32_t.h \
463 be/ia32/ia32_address_mode.h \
464 be/ia32/ia32_architecture.h \
465 be/ia32/ia32_common_transform.h \
466 be/ia32/ia32_dbg_stat.h \
467 be/ia32/ia32_emitter.h \
468 be/ia32/ia32_finish.h \
470 be/ia32/ia32_new_nodes.h \
471 be/ia32/ia32_nodes_attr.h \
472 be/ia32/ia32_optimize.h \
473 be/ia32/ia32_spec.pl \
474 be/ia32/ia32_transform.h \
477 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
478 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
479 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
481 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
482 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
483 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
485 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
486 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
487 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
492 be/arm/arm_emitter.c \
493 be/arm/arm_new_nodes.c \
494 be/arm/arm_optimize.c \
495 be/arm/arm_transform.c \
496 be/arm/arm_map_regs.c \
499 arm_built_sources = \
500 be/arm/gen_arm_emitter.c \
501 be/arm/gen_arm_emitter.h \
502 be/arm/gen_arm_new_nodes.c.inl \
503 be/arm/gen_arm_new_nodes.h \
504 be/arm/gen_arm_regalloc_if.c \
505 be/arm/gen_arm_regalloc_if.h
506 MAINTAINERCLEANFILES += $(arm_built_sources)
507 BUILT_SOURCES += $(arm_built_sources)
508 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
512 be/arm/arm_emitter.h \
513 be/arm/arm_new_nodes.h \
514 be/arm/arm_nodes_attr.h \
515 be/arm/arm_optimize.h \
517 be/arm/arm_transform.h \
518 be/arm/arm_map_regs.h \
520 be/arm/bearch_arm_t.h
522 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
523 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
524 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
526 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
527 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
528 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
530 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
531 be/arm/arm_spec.pl be/scripts/generate_regalloc_if.pl
532 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
537 be/sparc/bearch_sparc.c \
538 be/sparc/sparc_cconv.c \
539 be/sparc/sparc_emitter.c \
540 be/sparc/sparc_finish.c \
541 be/sparc/sparc_lower64.c \
542 be/sparc/sparc_new_nodes.c \
543 be/sparc/sparc_stackframe.c \
544 be/sparc/sparc_transform.c
545 sparc_built_sources = \
546 be/sparc/gen_sparc_emitter.c \
547 be/sparc/gen_sparc_emitter.h \
548 be/sparc/gen_sparc_new_nodes.c.inl \
549 be/sparc/gen_sparc_new_nodes.h \
550 be/sparc/gen_sparc_regalloc_if.c \
551 be/sparc/gen_sparc_regalloc_if.h
552 MAINTAINERCLEANFILES += $(sparc_built_sources)
553 BUILT_SOURCES += $(sparc_built_sources)
554 libfirm_la_SOURCES += $(sparc_sources) $(sparc_built_sources)
557 be/sparc/sparc_emitter.h \
558 be/sparc/sparc_new_nodes.h \
559 be/sparc/sparc_nodes_attr.h \
560 be/sparc/sparc_spec.pl \
561 be/sparc/sparc_cconv.h \
562 be/sparc/sparc_transform.h \
563 be/sparc/bearch_sparc_t.h
565 $(srcdir)/be/sparc/gen_sparc_new_nodes.c.inl $(srcdir)/be/sparc/gen_sparc_new_nodes.h: \
566 be/sparc/sparc_spec.pl be/scripts/generate_new_opcodes.pl
567 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
569 $(srcdir)/be/sparc/gen_sparc_emitter.c $(srcdir)/be/sparc/gen_sparc_emitter.h: \
570 be/sparc/sparc_spec.pl be/scripts/generate_emitter.pl
571 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
573 $(srcdir)/be/sparc/gen_sparc_regalloc_if.c $(srcdir)/be/sparc/gen_sparc_regalloc_if.h: \
574 be/sparc/sparc_spec.pl be/scripts/generate_regalloc_if.pl
575 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
580 be/amd64/amd64_emitter.c \
581 be/amd64/amd64_new_nodes.c \
582 be/amd64/amd64_transform.c \
583 be/amd64/bearch_amd64.c
584 amd64_built_sources = \
585 be/amd64/gen_amd64_emitter.c \
586 be/amd64/gen_amd64_emitter.h \
587 be/amd64/gen_amd64_new_nodes.c.inl \
588 be/amd64/gen_amd64_new_nodes.h \
589 be/amd64/gen_amd64_regalloc_if.c \
590 be/amd64/gen_amd64_regalloc_if.h
591 MAINTAINERCLEANFILES += $(amd64_built_sources)
592 BUILT_SOURCES += $(amd64_built_sources)
593 libfirm_la_SOURCES += $(amd64_sources) $(amd64_built_sources)
596 be/amd64/amd64_emitter.h \
597 be/amd64/amd64_new_nodes.h \
598 be/amd64/amd64_nodes_attr.h \
599 be/amd64/amd64_spec.pl \
600 be/amd64/amd64_transform.h \
601 be/amd64/bearch_amd64_t.h
603 $(srcdir)/be/amd64/gen_amd64_new_nodes.c.inl $(srcdir)/be/amd64/gen_amd64_new_nodes.h: \
604 be/amd64/amd64_spec.pl be/scripts/generate_new_opcodes.pl
605 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
607 $(srcdir)/be/amd64/gen_amd64_emitter.c $(srcdir)/be/amd64/gen_amd64_emitter.h: \
608 be/amd64/amd64_spec.pl be/scripts/generate_emitter.pl
609 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
611 $(srcdir)/be/amd64/gen_amd64_regalloc_if.c $(srcdir)/be/amd64/gen_amd64_regalloc_if.h: \
612 be/amd64/amd64_spec.pl be/scripts/generate_regalloc_if.pl
613 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
619 be/TEMPLATE/TEMPLATE_emitter.c \
620 be/TEMPLATE/TEMPLATE_new_nodes.c \
621 be/TEMPLATE/TEMPLATE_transform.c \
622 be/TEMPLATE/bearch_TEMPLATE.c
623 TEMPLATE_built_sources = \
624 be/TEMPLATE/gen_TEMPLATE_emitter.c \
625 be/TEMPLATE/gen_TEMPLATE_emitter.h \
626 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
627 be/TEMPLATE/gen_TEMPLATE_new_nodes.h \
628 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
629 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h
630 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
631 BUILT_SOURCES += $(TEMPLATE_built_sources)
632 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
635 be/TEMPLATE/TEMPLATE_emitter.h \
636 be/TEMPLATE/TEMPLATE_new_nodes.h \
637 be/TEMPLATE/TEMPLATE_nodes_attr.h \
638 be/TEMPLATE/TEMPLATE_spec.pl \
639 be/TEMPLATE/TEMPLATE_transform.h \
640 be/TEMPLATE/bearch_TEMPLATE_t.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_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
651 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_regalloc_if.pl
652 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE