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 \
338 ir/irlinkednodemap.h \
339 ir/irlinkednodeset.h \
349 libcore/lc_appendable.h \
350 libcore/lc_common_t.h \
351 libcore/lc_config.h \
353 libcore/lc_defines.h \
354 libcore/lc_opts_enum.h \
355 libcore/lc_opts_t.h \
356 libcore/lc_printf.h \
357 libcore/lc_printf_arg_types.def \
358 opt/opt_polymorphy.h \
360 opt/scalar_replace.h \
371 tr/compound_path_t.h \
382 kaps/heuristical_co.h \
383 kaps/heuristical_co_ld.h \
396 ir/gen_ir_cons.c.inl \
397 ir/gen_irnode.c.inl \
399 ir/gen_irio_export.inl \
400 ir/gen_irio_import.inl \
401 ir/gen_irio_lex.inl \
402 be/scripts/generate_emitter_new.pl \
403 be/scripts/generate_emitter.pl \
404 be/scripts/generate_new_opcodes.pl \
405 be/scripts/generate_regalloc_if.pl
409 be/ia32/bearch_ia32.c \
410 be/ia32/ia32_address_mode.c \
411 be/ia32/ia32_architecture.c \
412 be/ia32/ia32_common_transform.c \
413 be/ia32/ia32_emitter.c \
414 be/ia32/ia32_finish.c \
416 be/ia32/ia32_intrinsics.c \
417 be/ia32/ia32_new_nodes.c \
418 be/ia32/ia32_optimize.c \
419 be/ia32/ia32_transform.c \
422 ia32_built_sources = \
423 be/ia32/gen_ia32_emitter.c \
424 be/ia32/gen_ia32_emitter.h \
425 be/ia32/gen_ia32_new_nodes.c.inl \
426 be/ia32/gen_ia32_new_nodes.h \
427 be/ia32/gen_ia32_regalloc_if.c \
428 be/ia32/gen_ia32_regalloc_if.h
429 MAINTAINERCLEANFILES = $(ia32_built_sources)
430 BUILT_SOURCES = $(ia32_built_sources)
431 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
434 be/ia32/bearch_ia32_t.h \
435 be/ia32/ia32_address_mode.h \
436 be/ia32/ia32_architecture.h \
437 be/ia32/ia32_common_transform.h \
438 be/ia32/ia32_dbg_stat.h \
439 be/ia32/ia32_emitter.h \
440 be/ia32/ia32_finish.h \
442 be/ia32/ia32_new_nodes.h \
443 be/ia32/ia32_nodes_attr.h \
444 be/ia32/ia32_optimize.h \
445 be/ia32/ia32_spec.pl \
446 be/ia32/ia32_transform.h \
449 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
450 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
451 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
453 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
454 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
455 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
457 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
458 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
459 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
464 be/arm/arm_emitter.c \
465 be/arm/arm_new_nodes.c \
466 be/arm/arm_optimize.c \
467 be/arm/arm_transform.c \
468 be/arm/arm_map_regs.c \
471 arm_built_sources = \
472 be/arm/gen_arm_emitter.c \
473 be/arm/gen_arm_emitter.h \
474 be/arm/gen_arm_new_nodes.c.inl \
475 be/arm/gen_arm_new_nodes.h \
476 be/arm/gen_arm_regalloc_if.c \
477 be/arm/gen_arm_regalloc_if.h
478 MAINTAINERCLEANFILES += $(arm_built_sources)
479 BUILT_SOURCES += $(arm_built_sources)
480 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
484 be/arm/arm_emitter.h \
485 be/arm/arm_new_nodes.h \
486 be/arm/arm_nodes_attr.h \
487 be/arm/arm_optimize.h \
489 be/arm/arm_transform.h \
490 be/arm/arm_map_regs.h \
492 be/arm/bearch_arm_t.h
494 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
495 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
496 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
498 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
499 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
500 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
502 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
503 be/arm/arm_spec.pl be/scripts/generate_regalloc_if.pl
504 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
509 be/sparc/sparc_emitter.c \
510 be/sparc/sparc_new_nodes.c \
511 be/sparc/sparc_transform.c \
512 be/sparc/sparc_cconv.c \
513 be/sparc/sparc_finish.c \
514 be/sparc/bearch_sparc.c
515 sparc_built_sources = \
516 be/sparc/gen_sparc_emitter.c \
517 be/sparc/gen_sparc_emitter.h \
518 be/sparc/gen_sparc_new_nodes.c.inl \
519 be/sparc/gen_sparc_new_nodes.h \
520 be/sparc/gen_sparc_regalloc_if.c \
521 be/sparc/gen_sparc_regalloc_if.h
522 MAINTAINERCLEANFILES += $(sparc_built_sources)
523 BUILT_SOURCES += $(sparc_built_sources)
524 libfirm_la_SOURCES += $(sparc_sources) $(sparc_built_sources)
527 be/sparc/sparc_emitter.h \
528 be/sparc/sparc_new_nodes.h \
529 be/sparc/sparc_nodes_attr.h \
530 be/sparc/sparc_spec.pl \
531 be/sparc/sparc_cconv.h \
532 be/sparc/sparc_transform.h \
533 be/sparc/bearch_sparc_t.h
535 $(srcdir)/be/sparc/gen_sparc_new_nodes.c.inl $(srcdir)/be/sparc/gen_sparc_new_nodes.h: \
536 be/sparc/sparc_spec.pl be/scripts/generate_new_opcodes.pl
537 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
539 $(srcdir)/be/sparc/gen_sparc_emitter.c $(srcdir)/be/sparc/gen_sparc_emitter.h: \
540 be/sparc/sparc_spec.pl be/scripts/generate_emitter.pl
541 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
543 $(srcdir)/be/sparc/gen_sparc_regalloc_if.c $(srcdir)/be/sparc/gen_sparc_regalloc_if.h: \
544 be/sparc/sparc_spec.pl be/scripts/generate_regalloc_if.pl
545 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/sparc/sparc_spec.pl $(srcdir)/be/sparc
550 be/amd64/amd64_emitter.c \
551 be/amd64/amd64_new_nodes.c \
552 be/amd64/amd64_transform.c \
553 be/amd64/bearch_amd64.c
554 amd64_built_sources = \
555 be/amd64/gen_amd64_emitter.c \
556 be/amd64/gen_amd64_emitter.h \
557 be/amd64/gen_amd64_new_nodes.c.inl \
558 be/amd64/gen_amd64_new_nodes.h \
559 be/amd64/gen_amd64_regalloc_if.c \
560 be/amd64/gen_amd64_regalloc_if.h
561 MAINTAINERCLEANFILES += $(amd64_built_sources)
562 BUILT_SOURCES += $(amd64_built_sources)
563 libfirm_la_SOURCES += $(amd64_sources) $(amd64_built_sources)
566 be/amd64/amd64_emitter.h \
567 be/amd64/amd64_new_nodes.h \
568 be/amd64/amd64_nodes_attr.h \
569 be/amd64/amd64_spec.pl \
570 be/amd64/amd64_transform.h \
571 be/amd64/bearch_amd64_t.h
573 $(srcdir)/be/amd64/gen_amd64_new_nodes.c.inl $(srcdir)/be/amd64/gen_amd64_new_nodes.h: \
574 be/amd64/amd64_spec.pl be/scripts/generate_new_opcodes.pl
575 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
577 $(srcdir)/be/amd64/gen_amd64_emitter.c $(srcdir)/be/amd64/gen_amd64_emitter.h: \
578 be/amd64/amd64_spec.pl be/scripts/generate_emitter.pl
579 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
581 $(srcdir)/be/amd64/gen_amd64_regalloc_if.c $(srcdir)/be/amd64/gen_amd64_regalloc_if.h: \
582 be/amd64/amd64_spec.pl be/scripts/generate_regalloc_if.pl
583 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/amd64/amd64_spec.pl $(srcdir)/be/amd64
589 be/TEMPLATE/TEMPLATE_emitter.c \
590 be/TEMPLATE/TEMPLATE_new_nodes.c \
591 be/TEMPLATE/TEMPLATE_transform.c \
592 be/TEMPLATE/bearch_TEMPLATE.c
593 TEMPLATE_built_sources = \
594 be/TEMPLATE/gen_TEMPLATE_emitter.c \
595 be/TEMPLATE/gen_TEMPLATE_emitter.h \
596 be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl \
597 be/TEMPLATE/gen_TEMPLATE_new_nodes.h \
598 be/TEMPLATE/gen_TEMPLATE_regalloc_if.c \
599 be/TEMPLATE/gen_TEMPLATE_regalloc_if.h
600 MAINTAINERCLEANFILES += $(TEMPLATE_built_sources)
601 BUILT_SOURCES += $(TEMPLATE_built_sources)
602 libfirm_la_SOURCES += $(TEMPLATE_sources) $(TEMPLATE_built_sources)
605 be/TEMPLATE/TEMPLATE_emitter.h \
606 be/TEMPLATE/TEMPLATE_new_nodes.h \
607 be/TEMPLATE/TEMPLATE_nodes_attr.h \
608 be/TEMPLATE/TEMPLATE_spec.pl \
609 be/TEMPLATE/TEMPLATE_transform.h \
610 be/TEMPLATE/bearch_TEMPLATE_t.h
612 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.c.inl $(srcdir)/be/TEMPLATE/gen_TEMPLATE_new_nodes.h: \
613 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_new_opcodes.pl
614 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
616 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_emitter.h: \
617 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_emitter.pl
618 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE
620 $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.c $(srcdir)/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h: \
621 be/TEMPLATE/TEMPLATE_spec.pl be/scripts/generate_regalloc_if.pl
622 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/TEMPLATE/TEMPLATE_spec.pl $(srcdir)/be/TEMPLATE