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 \
238 tr/tr_inheritance.c \
241 tr/type_finalization.c \
249 kaps/heuristical_co.c \
250 kaps/heuristical_co_ld.c \
286 be/bechordal_draw.h \
297 be/bechordal_common.h \
302 be/beemitter_binary.h \
313 be/bepbqpcoloring.h \
354 ir/irlinkednodemap.h \
355 ir/irlinkednodeset.h \
363 libcore/lc_appendable.h \
365 libcore/lc_opts_enum.h \
366 libcore/lc_opts_t.h \
367 libcore/lc_printf.h \
368 libcore/lc_printf_arg_types.def \
369 lower/lower_calls.h \
371 lower/lower_alloc.h \
372 lower/lower_builtins.h \
373 lower/lower_mode_b.h \
374 lower/lower_softfloat.h \
386 opt/scalar_replace.h \
397 tr/compound_path_t.h \
408 kaps/heuristical_co.h \
409 kaps/heuristical_co_ld.h \
422 ir/gen_ir_cons.c.inl \
424 ir/gen_irnode.c.inl \
426 ir/gen_irdump.c.inl \
427 be/scripts/generate_emitter_new.pl \
428 be/scripts/generate_emitter.pl \
429 be/scripts/generate_new_opcodes.pl \
430 be/scripts/generate_regalloc_if.pl
434 be/ia32/bearch_ia32.c \
435 be/ia32/ia32_address_mode.c \
436 be/ia32/ia32_architecture.c \
437 be/ia32/ia32_common_transform.c \
438 be/ia32/ia32_emitter.c \
439 be/ia32/ia32_finish.c \
441 be/ia32/ia32_intrinsics.c \
442 be/ia32/ia32_new_nodes.c \
443 be/ia32/ia32_optimize.c \
444 be/ia32/ia32_transform.c \
447 ia32_built_sources = \
448 be/ia32/gen_ia32_emitter.c \
449 be/ia32/gen_ia32_emitter.h \
450 be/ia32/gen_ia32_new_nodes.c.inl \
451 be/ia32/gen_ia32_new_nodes.h \
452 be/ia32/gen_ia32_regalloc_if.c \
453 be/ia32/gen_ia32_regalloc_if.h
454 MAINTAINERCLEANFILES = $(ia32_built_sources)
455 BUILT_SOURCES = $(ia32_built_sources)
456 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
459 be/ia32/bearch_ia32_t.h \
460 be/ia32/ia32_address_mode.h \
461 be/ia32/ia32_architecture.h \
462 be/ia32/ia32_common_transform.h \
463 be/ia32/ia32_dbg_stat.h \
464 be/ia32/ia32_emitter.h \
465 be/ia32/ia32_finish.h \
467 be/ia32/ia32_new_nodes.h \
468 be/ia32/ia32_nodes_attr.h \
469 be/ia32/ia32_optimize.h \
470 be/ia32/ia32_spec.pl \
471 be/ia32/ia32_transform.h \
474 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
475 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
476 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
478 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
479 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
480 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
482 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
483 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
484 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
489 be/arm/arm_emitter.c \
490 be/arm/arm_new_nodes.c \
491 be/arm/arm_optimize.c \
492 be/arm/arm_transform.c \
493 be/arm/arm_map_regs.c \
496 arm_built_sources = \
497 be/arm/gen_arm_emitter.c \
498 be/arm/gen_arm_emitter.h \
499 be/arm/gen_arm_new_nodes.c.inl \
500 be/arm/gen_arm_new_nodes.h \
501 be/arm/gen_arm_regalloc_if.c \
502 be/arm/gen_arm_regalloc_if.h
503 MAINTAINERCLEANFILES += $(arm_built_sources)
504 BUILT_SOURCES += $(arm_built_sources)
505 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
509 be/arm/arm_emitter.h \
510 be/arm/arm_new_nodes.h \
511 be/arm/arm_nodes_attr.h \
512 be/arm/arm_optimize.h \
514 be/arm/arm_transform.h \
515 be/arm/arm_map_regs.h \
517 be/arm/bearch_arm_t.h
519 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
520 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
521 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
523 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
524 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
525 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
527 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
528 be/arm/arm_spec.pl be/scripts/generate_regalloc_if.pl
529 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
534 be/sparc/bearch_sparc.c \
535 be/sparc/sparc_cconv.c \
536 be/sparc/sparc_emitter.c \
537 be/sparc/sparc_finish.c \
538 be/sparc/sparc_lower64.c \
539 be/sparc/sparc_new_nodes.c \
540 be/sparc/sparc_stackframe.c \
541 be/sparc/sparc_transform.c
542 sparc_built_sources = \
543 be/sparc/gen_sparc_emitter.c \
544 be/sparc/gen_sparc_emitter.h \
545 be/sparc/gen_sparc_new_nodes.c.inl \
546 be/sparc/gen_sparc_new_nodes.h \
547 be/sparc/gen_sparc_regalloc_if.c \
548 be/sparc/gen_sparc_regalloc_if.h
549 MAINTAINERCLEANFILES += $(sparc_built_sources)
550 BUILT_SOURCES += $(sparc_built_sources)
551 libfirm_la_SOURCES += $(sparc_sources) $(sparc_built_sources)
554 be/sparc/sparc_emitter.h \
555 be/sparc/sparc_new_nodes.h \
556 be/sparc/sparc_nodes_attr.h \
557 be/sparc/sparc_spec.pl \
558 be/sparc/sparc_cconv.h \
559 be/sparc/sparc_transform.h \
560 be/sparc/bearch_sparc_t.h
562 $(srcdir)/be/sparc/gen_sparc_new_nodes.c.inl $(srcdir)/be/sparc/gen_sparc_new_nodes.h: \
563 be/sparc/sparc_spec.pl be/scripts/generate_new_opcodes.pl
564 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
566 $(srcdir)/be/sparc/gen_sparc_emitter.c $(srcdir)/be/sparc/gen_sparc_emitter.h: \
567 be/sparc/sparc_spec.pl be/scripts/generate_emitter.pl
568 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
570 $(srcdir)/be/sparc/gen_sparc_regalloc_if.c $(srcdir)/be/sparc/gen_sparc_regalloc_if.h: \
571 be/sparc/sparc_spec.pl be/scripts/generate_regalloc_if.pl
572 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
577 be/amd64/amd64_emitter.c \
578 be/amd64/amd64_new_nodes.c \
579 be/amd64/amd64_transform.c \
580 be/amd64/bearch_amd64.c
581 amd64_built_sources = \
582 be/amd64/gen_amd64_emitter.c \
583 be/amd64/gen_amd64_emitter.h \
584 be/amd64/gen_amd64_new_nodes.c.inl \
585 be/amd64/gen_amd64_new_nodes.h \
586 be/amd64/gen_amd64_regalloc_if.c \
587 be/amd64/gen_amd64_regalloc_if.h
588 MAINTAINERCLEANFILES += $(amd64_built_sources)
589 BUILT_SOURCES += $(amd64_built_sources)
590 libfirm_la_SOURCES += $(amd64_sources) $(amd64_built_sources)
593 be/amd64/amd64_emitter.h \
594 be/amd64/amd64_new_nodes.h \
595 be/amd64/amd64_nodes_attr.h \
596 be/amd64/amd64_spec.pl \
597 be/amd64/amd64_transform.h \
598 be/amd64/bearch_amd64_t.h
600 $(srcdir)/be/amd64/gen_amd64_new_nodes.c.inl $(srcdir)/be/amd64/gen_amd64_new_nodes.h: \
601 be/amd64/amd64_spec.pl be/scripts/generate_new_opcodes.pl
602 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
604 $(srcdir)/be/amd64/gen_amd64_emitter.c $(srcdir)/be/amd64/gen_amd64_emitter.h: \
605 be/amd64/amd64_spec.pl be/scripts/generate_emitter.pl
606 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
608 $(srcdir)/be/amd64/gen_amd64_regalloc_if.c $(srcdir)/be/amd64/gen_amd64_regalloc_if.h: \
609 be/amd64/amd64_spec.pl be/scripts/generate_regalloc_if.pl
610 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
616 be/TEMPLATE/TEMPLATE_emitter.c \
617 be/TEMPLATE/TEMPLATE_new_nodes.c \
618 be/TEMPLATE/TEMPLATE_transform.c \
619 be/TEMPLATE/bearch_TEMPLATE.c
620 TEMPLATE_built_sources = \
621 be/TEMPLATE/gen_TEMPLATE_emitter.c \
622 be/TEMPLATE/gen_TEMPLATE_emitter.h \
623 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
624 be/TEMPLATE/gen_TEMPLATE_new_nodes.h \
625 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
626 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h
627 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
628 BUILT_SOURCES += $(TEMPLATE_built_sources)
629 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
632 be/TEMPLATE/TEMPLATE_emitter.h \
633 be/TEMPLATE/TEMPLATE_new_nodes.h \
634 be/TEMPLATE/TEMPLATE_nodes_attr.h \
635 be/TEMPLATE/TEMPLATE_spec.pl \
636 be/TEMPLATE/TEMPLATE_transform.h \
637 be/TEMPLATE/bearch_TEMPLATE_t.h
639 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.h: \
640 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_new_opcodes.pl
641 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
643 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.h: \
644 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_emitter.pl
645 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
647 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
648 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_regalloc_if.pl
649 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE