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/net \
21 -I$(top_srcdir)/ir/opt \
22 -I$(top_srcdir)/ir/stat \
23 -I$(top_srcdir)/ir/tr \
26 libfirm_la_LDFLAGS = -no-undefined -version-info $(LT_VERSION)
27 libfirm_la_SOURCES = \
46 ana/analyze_irg_args.c \
52 ana/execution_frequency.c \
54 ana/interval_analysis.c \
76 be/bechordal_common.c \
88 be/beemitter_binary.c \
104 be/bepbqpcoloring.c \
111 be/beschedregpress.c \
113 be/beschedtrivial.c \
132 common/firm_common.c \
154 ir/irlinkednodemap.c \
155 ir/irlinkednodeset.c \
170 libcore/lc_appendable.c \
172 libcore/lc_opts_enum.c \
173 libcore/lc_printf.c \
174 lower/lower_calls.c \
175 lower/lower_copyb.c \
178 lower/lower_intrinsics.c \
179 lower/lower_mode_b.c \
181 lower/lower_switch.c \
183 obstack/obstack_printf.c \
186 opt/code_placement.c \
189 opt/critical_edges.c \
190 opt/dead_code_elimination.c \
194 opt/garbage_collect.c \
198 opt/jumpthreading.c \
207 opt/opt_polymorphy.c \
208 opt/parallelize_mem.c \
212 opt/scalar_replace.c \
227 tr/tr_inheritance.c \
230 tr/type_finalization.c \
238 kaps/heuristical_co.c \
239 kaps/heuristical_co_ld.c \
273 be/bechordal_common.h \
274 be/bechordal_draw.h \
282 be/beemitter_binary.h \
299 be/bepbqpcoloring.h \
339 ir/irlinkednodemap.h \
340 ir/irlinkednodeset.h \
350 libcore/lc_appendable.h \
351 libcore/lc_common_t.h \
352 libcore/lc_config.h \
354 libcore/lc_defines.h \
355 libcore/lc_opts_enum.h \
356 libcore/lc_opts_t.h \
357 libcore/lc_printf.h \
358 libcore/lc_printf_arg_types.def \
359 opt/opt_polymorphy.h \
361 opt/scalar_replace.h \
372 tr/compound_path_t.h \
383 kaps/heuristical_co.h \
384 kaps/heuristical_co_ld.h \
397 ir/gen_ir_cons.c.inl \
398 ir/gen_irnode.c.inl \
400 ir/gen_irio_export.inl \
401 ir/gen_irio_import.inl \
402 ir/gen_irio_lex.inl \
403 be/scripts/generate_emitter_new.pl \
404 be/scripts/generate_emitter.pl \
405 be/scripts/generate_new_opcodes.pl \
406 be/scripts/generate_regalloc_if.pl
410 be/ia32/bearch_ia32.c \
411 be/ia32/ia32_address_mode.c \
412 be/ia32/ia32_architecture.c \
413 be/ia32/ia32_common_transform.c \
414 be/ia32/ia32_emitter.c \
415 be/ia32/ia32_finish.c \
417 be/ia32/ia32_intrinsics.c \
418 be/ia32/ia32_new_nodes.c \
419 be/ia32/ia32_optimize.c \
420 be/ia32/ia32_transform.c \
423 ia32_built_sources = \
424 be/ia32/gen_ia32_emitter.c \
425 be/ia32/gen_ia32_emitter.h \
426 be/ia32/gen_ia32_new_nodes.c.inl \
427 be/ia32/gen_ia32_new_nodes.h \
428 be/ia32/gen_ia32_regalloc_if.c \
429 be/ia32/gen_ia32_regalloc_if.h
430 MAINTAINERCLEANFILES = $(ia32_built_sources)
431 BUILT_SOURCES = $(ia32_built_sources)
432 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
435 be/ia32/bearch_ia32_t.h \
436 be/ia32/ia32_address_mode.h \
437 be/ia32/ia32_architecture.h \
438 be/ia32/ia32_common_transform.h \
439 be/ia32/ia32_dbg_stat.h \
440 be/ia32/ia32_emitter.h \
441 be/ia32/ia32_finish.h \
443 be/ia32/ia32_new_nodes.h \
444 be/ia32/ia32_nodes_attr.h \
445 be/ia32/ia32_optimize.h \
446 be/ia32/ia32_spec.pl \
447 be/ia32/ia32_transform.h \
450 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
451 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
452 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
454 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
455 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
456 $(PERL) $(srcdir)/be/scripts/generate_emitter.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/arm_emitter.c \
466 be/arm/arm_new_nodes.c \
467 be/arm/arm_optimize.c \
468 be/arm/arm_transform.c \
469 be/arm/arm_map_regs.c \
472 arm_built_sources = \
473 be/arm/gen_arm_emitter.c \
474 be/arm/gen_arm_emitter.h \
475 be/arm/gen_arm_new_nodes.c.inl \
476 be/arm/gen_arm_new_nodes.h \
477 be/arm/gen_arm_regalloc_if.c \
478 be/arm/gen_arm_regalloc_if.h
479 MAINTAINERCLEANFILES += $(arm_built_sources)
480 BUILT_SOURCES += $(arm_built_sources)
481 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
485 be/arm/arm_emitter.h \
486 be/arm/arm_new_nodes.h \
487 be/arm/arm_nodes_attr.h \
488 be/arm/arm_optimize.h \
490 be/arm/arm_transform.h \
491 be/arm/arm_map_regs.h \
493 be/arm/bearch_arm_t.h
495 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
496 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
497 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
499 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
500 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
501 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
503 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
504 be/arm/arm_spec.pl be/scripts/generate_regalloc_if.pl
505 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
510 be/sparc/sparc_emitter.c \
511 be/sparc/sparc_new_nodes.c \
512 be/sparc/sparc_transform.c \
513 be/sparc/sparc_cconv.c \
514 be/sparc/sparc_finish.c \
515 be/sparc/bearch_sparc.c
516 sparc_built_sources = \
517 be/sparc/gen_sparc_emitter.c \
518 be/sparc/gen_sparc_emitter.h \
519 be/sparc/gen_sparc_new_nodes.c.inl \
520 be/sparc/gen_sparc_new_nodes.h \
521 be/sparc/gen_sparc_regalloc_if.c \
522 be/sparc/gen_sparc_regalloc_if.h
523 MAINTAINERCLEANFILES += $(sparc_built_sources)
524 BUILT_SOURCES += $(sparc_built_sources)
525 libfirm_la_SOURCES += $(sparc_sources) $(sparc_built_sources)
528 be/sparc/sparc_emitter.h \
529 be/sparc/sparc_new_nodes.h \
530 be/sparc/sparc_nodes_attr.h \
531 be/sparc/sparc_spec.pl \
532 be/sparc/sparc_cconv.h \
533 be/sparc/sparc_transform.h \
534 be/sparc/bearch_sparc_t.h
536 $(srcdir)/be/sparc/gen_sparc_new_nodes.c.inl $(srcdir)/be/sparc/gen_sparc_new_nodes.h: \
537 be/sparc/sparc_spec.pl be/scripts/generate_new_opcodes.pl
538 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
540 $(srcdir)/be/sparc/gen_sparc_emitter.c $(srcdir)/be/sparc/gen_sparc_emitter.h: \
541 be/sparc/sparc_spec.pl be/scripts/generate_emitter.pl
542 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
544 $(srcdir)/be/sparc/gen_sparc_regalloc_if.c $(srcdir)/be/sparc/gen_sparc_regalloc_if.h: \
545 be/sparc/sparc_spec.pl be/scripts/generate_regalloc_if.pl
546 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
551 be/amd64/amd64_emitter.c \
552 be/amd64/amd64_new_nodes.c \
553 be/amd64/amd64_transform.c \
554 be/amd64/bearch_amd64.c
555 amd64_built_sources = \
556 be/amd64/gen_amd64_emitter.c \
557 be/amd64/gen_amd64_emitter.h \
558 be/amd64/gen_amd64_new_nodes.c.inl \
559 be/amd64/gen_amd64_new_nodes.h \
560 be/amd64/gen_amd64_regalloc_if.c \
561 be/amd64/gen_amd64_regalloc_if.h
562 MAINTAINERCLEANFILES += $(amd64_built_sources)
563 BUILT_SOURCES += $(amd64_built_sources)
564 libfirm_la_SOURCES += $(amd64_sources) $(amd64_built_sources)
567 be/amd64/amd64_emitter.h \
568 be/amd64/amd64_new_nodes.h \
569 be/amd64/amd64_nodes_attr.h \
570 be/amd64/amd64_spec.pl \
571 be/amd64/amd64_transform.h \
572 be/amd64/bearch_amd64_t.h
574 $(srcdir)/be/amd64/gen_amd64_new_nodes.c.inl $(srcdir)/be/amd64/gen_amd64_new_nodes.h: \
575 be/amd64/amd64_spec.pl be/scripts/generate_new_opcodes.pl
576 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
578 $(srcdir)/be/amd64/gen_amd64_emitter.c $(srcdir)/be/amd64/gen_amd64_emitter.h: \
579 be/amd64/amd64_spec.pl be/scripts/generate_emitter.pl
580 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
582 $(srcdir)/be/amd64/gen_amd64_regalloc_if.c $(srcdir)/be/amd64/gen_amd64_regalloc_if.h: \
583 be/amd64/amd64_spec.pl be/scripts/generate_regalloc_if.pl
584 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
590 be/TEMPLATE/TEMPLATE_emitter.c \
591 be/TEMPLATE/TEMPLATE_new_nodes.c \
592 be/TEMPLATE/TEMPLATE_transform.c \
593 be/TEMPLATE/bearch_TEMPLATE.c
594 TEMPLATE_built_sources = \
595 be/TEMPLATE/gen_TEMPLATE_emitter.c \
596 be/TEMPLATE/gen_TEMPLATE_emitter.h \
597 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
598 be/TEMPLATE/gen_TEMPLATE_new_nodes.h \
599 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
600 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h
601 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
602 BUILT_SOURCES += $(TEMPLATE_built_sources)
603 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
606 be/TEMPLATE/TEMPLATE_emitter.h \
607 be/TEMPLATE/TEMPLATE_new_nodes.h \
608 be/TEMPLATE/TEMPLATE_nodes_attr.h \
609 be/TEMPLATE/TEMPLATE_spec.pl \
610 be/TEMPLATE/TEMPLATE_transform.h \
611 be/TEMPLATE/bearch_TEMPLATE_t.h
613 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.h: \
614 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_new_opcodes.pl
615 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
617 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.h: \
618 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_emitter.pl
619 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
621 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
622 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_regalloc_if.pl
623 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE