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/libcore \
18 -I$(top_srcdir)/ir/lower \
19 -I$(top_srcdir)/ir/net \
20 -I$(top_srcdir)/ir/opt \
21 -I$(top_srcdir)/ir/stat \
22 -I$(top_srcdir)/ir/tr \
25 libfirm_la_SOURCES = \
44 ana/analyze_irg_args.c \
50 ana/execution_frequency.c \
51 ana/field_temperature.c \
53 ana/interval_analysis.c \
112 be/bepressurestat.c \
119 be/beschedregpress.c \
122 be/beschedtrivial.c \
123 be/bespillbelady2.c \
124 be/bespillbelady3.c \
128 be/bespilllinearscan.c \
129 be/bespilloptions.c \
134 be/bessadestrsimple.c \
145 common/firm_common.c \
148 common/statistics.c \
172 ir/irlinkednodemap.c \
173 ir/irlinkednodeset.c \
188 libcore/lc_appendable.c \
189 libcore/lc_config_lexer.c \
190 libcore/lc_config_parser.c \
192 libcore/lc_opts_enum.c \
193 libcore/lc_printf.c \
195 lower/lower_calls.c \
196 lower/lower_copyb.c \
199 lower/lower_intrinsics.c \
200 lower/lower_mode_b.c \
203 obstack/obstack_printf.c \
206 opt/code_placement.c \
210 opt/critical_edges.c \
211 opt/data_flow_scalar_replace.c \
223 opt/opt_polymorphy.c \
227 opt/scalar_replace.c \
241 tr/tr_inheritance.c \
244 tr/type_finalization.c \
264 be/bessadestrsimple.h \
277 be/bechordal_draw.h \
289 be/bepressurestat.h \
295 be/bespilloptions.h \
319 common/statistics.h \
323 common/firm_common_t.h \
352 ir/irlinkednodemap.h \
353 ir/irlinkednodeset.h \
355 libcore/lc_common_t.h \
356 libcore/lc_appendable.h \
357 libcore/lc_config.h \
358 libcore/lc_parser_t.h \
359 libcore/lc_printf_arg_types.def \
360 libcore/do_bisonflex.sh \
361 libcore/lc_config_parser.h \
362 libcore/lc_opts_t.h \
363 libcore/lc_defines.h \
364 libcore/lc_opts_enum.h \
366 libcore/lc_printf.h \
369 opt/scalar_replace.h \
371 opt/opt_polymorphy.h \
390 be/scripts/generate_emitter_new.pl \
391 be/scripts/generate_emitter.pl \
392 be/scripts/generate_machine.pl \
393 be/scripts/generate_new_opcodes.pl \
394 be/scripts/generate_regalloc_if.pl
400 be/ia32/bearch_ia32.c \
401 be/ia32/ia32_architecture.c \
402 be/ia32/ia32_address_mode.c \
403 be/ia32/ia32_emitter.c \
404 be/ia32/ia32_finish.c \
406 be/ia32/ia32_intrinsics.c \
407 be/ia32/ia32_map_regs.c \
408 be/ia32/ia32_new_nodes.c \
409 be/ia32/ia32_optimize.c \
410 be/ia32/ia32_transform.c \
411 be/ia32/ia32_util.c \
414 ia32_built_sources = \
415 be/ia32/gen_ia32_emitter.c \
416 be/ia32/gen_ia32_emitter.h \
417 be/ia32/gen_ia32_machine.c \
418 be/ia32/gen_ia32_machine.h \
419 be/ia32/gen_ia32_regalloc_if.c \
420 be/ia32/gen_ia32_regalloc_if.h \
421 be/ia32/gen_ia32_new_nodes.c.inl \
422 be/ia32/gen_ia32_new_nodes.h
423 MAINTAINERCLEANFILES = $(ia32_built_sources)
424 BUILT_SOURCES = $(ia32_built_sources)
425 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
428 be/ia32/ia32_spec.pl \
429 be/ia32/ia32_simd_spec.pl \
430 be/ia32/bearch_ia32_t.h \
431 be/ia32/ia32_architecture.h \
432 be/ia32/ia32_address_mode.h \
433 be/ia32/ia32_dbg_stat.h \
434 be/ia32/ia32_emitter.h \
435 be/ia32/ia32_finish.h \
437 be/ia32/ia32_map_regs.h \
438 be/ia32/ia32_new_nodes.h \
439 be/ia32/ia32_nodes_attr.h \
440 be/ia32/ia32_optimize.h \
441 be/ia32/ia32_transform.h \
442 be/ia32/ia32_util.h \
445 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
446 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
447 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
449 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
450 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
451 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
453 $(srcdir)/be/ia32/gen_ia32_machine.c $(srcdir)/be/ia32/gen_ia32_machine.h: \
454 be/ia32/ia32_spec.pl be/scripts/generate_machine.pl
455 $(PERL) $(srcdir)/be/scripts/generate_machine.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/bearch_arm.c \
465 be/arm/arm_emitter.c \
466 be/arm/arm_map_regs.c \
467 be/arm/arm_new_nodes.c \
468 be/arm/arm_optimize.c \
469 be/arm/arm_transform.c
470 arm_built_sources = \
471 be/arm/gen_arm_emitter.c \
472 be/arm/gen_arm_emitter.h \
473 be/arm/gen_arm_machine.c \
474 be/arm/gen_arm_machine.h \
475 be/arm/gen_arm_regalloc_if.c \
476 be/arm/gen_arm_regalloc_if.h \
477 be/arm/gen_arm_new_nodes.c.inl \
478 be/arm/gen_arm_new_nodes.h
479 MAINTAINERCLEANFILES += $(arm_built_sources)
480 BUILT_SOURCES += $(arm_built_sources)
481 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
486 be/arm/arm_emitter.h \
487 be/arm/arm_map_regs.h \
488 be/arm/arm_new_nodes.h \
489 be/arm/arm_nodes_attr.h \
490 be/arm/arm_optimize.h \
491 be/arm/arm_transform.h \
492 be/arm/bearch_arm.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_machine.c $(srcdir)/be/arm/gen_arm_machine.h: \
504 be/arm/arm_spec.pl be/scripts/generate_machine.pl
505 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
507 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
508 be/arm/arm_spec.pl be/scripts/generate_machine.pl
509 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
514 be/mips/bearch_mips.c \
515 be/mips/mips_emitter.c \
516 be/mips/mips_map_regs.c \
517 be/mips/mips_new_nodes.c \
518 be/mips/mips_scheduler.c \
519 be/mips/mips_transform.c
520 mips_built_sources = \
521 be/mips/gen_mips_emitter.c \
522 be/mips/gen_mips_emitter.h \
523 be/mips/gen_mips_machine.c \
524 be/mips/gen_mips_machine.h \
525 be/mips/gen_mips_regalloc_if.c \
526 be/mips/gen_mips_regalloc_if.h \
527 be/mips/gen_mips_new_nodes.c.inl \
528 be/mips/gen_mips_new_nodes.h
529 MAINTAINERCLEANFILES += $(mips_built_sources)
530 BUILT_SOURCES += $(mips_built_sources)
531 libfirm_la_SOURCES += $(mips_sources) $(mips_built_sources)
534 be/mips/mips_spec.pl \
535 be/mips/bearch_mips.h \
536 be/mips/bearch_mips_t.h \
537 be/mips/mips_emitter.h \
538 be/mips/mips_map_regs.h \
539 be/mips/mips_new_nodes.h \
540 be/mips/mips_nodes_attr.h \
541 be/mips/mips_scheduler.h \
542 be/mips/mips_transform.h \
545 $(srcdir)/be/mips/gen_mips_new_nodes.c.inl $(srcdir)/be/mips/gen_mips_new_nodes.h: \
546 be/mips/mips_spec.pl be/scripts/generate_new_opcodes.pl
547 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
549 $(srcdir)/be/mips/gen_mips_emitter.c $(srcdir)/be/mips/gen_mips_emitter.h: \
550 be/mips/mips_spec.pl be/scripts/generate_emitter.pl
551 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
553 $(srcdir)/be/mips/gen_mips_machine.c $(srcdir)/be/mips/gen_mips_machine.h: \
554 be/mips/mips_spec.pl be/scripts/generate_machine.pl
555 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
557 $(srcdir)/be/mips/gen_mips_regalloc_if.c $(srcdir)/be/mips/gen_mips_regalloc_if.h: \
558 be/mips/mips_spec.pl be/scripts/generate_machine.pl
559 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
564 be/ppc32/bearch_ppc32.c \
565 be/ppc32/ppc32_emitter.c \
566 be/ppc32/ppc32_map_regs.c \
567 be/ppc32/ppc32_new_nodes.c \
568 be/ppc32/ppc32_transform.c \
569 be/ppc32/ppc32_transform_conv.c
570 ppc32_built_sources = \
571 be/ppc32/gen_ppc32_emitter.c \
572 be/ppc32/gen_ppc32_emitter.h \
573 be/ppc32/gen_ppc32_machine.c \
574 be/ppc32/gen_ppc32_machine.h \
575 be/ppc32/gen_ppc32_regalloc_if.c \
576 be/ppc32/gen_ppc32_regalloc_if.h \
577 be/ppc32/gen_ppc32_new_nodes.c.inl \
578 be/ppc32/gen_ppc32_new_nodes.h
579 MAINTAINERCLEANFILES += $(ppc32_built_sources)
580 BUILT_SOURCES += $(ppc32_built_sources)
581 libfirm_la_SOURCES += $(ppc32_sources) $(ppc32_built_sources)
584 be/ppc32/ppc32_spec.pl \
585 be/ppc32/bearch_ppc32.h \
586 be/ppc32/bearch_ppc32_t.h \
587 be/ppc32/ppc32_emitter.h \
588 be/ppc32/ppc32_map_regs.h \
589 be/ppc32/ppc32_new_nodes.h \
590 be/ppc32/ppc32_nodes_attr.h \
591 be/ppc32/ppc32_transform_conv.h \
592 be/ppc32/ppc32_transform.h
594 $(srcdir)/be/ppc32/gen_ppc32_new_nodes.c.inl $(srcdir)/be/ppc32/gen_ppc32_new_nodes.h: \
595 be/ppc32/ppc32_spec.pl be/scripts/generate_new_opcodes.pl
596 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
598 $(srcdir)/be/ppc32/gen_ppc32_emitter.c $(srcdir)/be/ppc32/gen_ppc32_emitter.h: \
599 be/ppc32/ppc32_spec.pl be/scripts/generate_emitter.pl
600 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
602 $(srcdir)/be/ppc32/gen_ppc32_machine.c $(srcdir)/be/ppc32/gen_ppc32_machine.h: \
603 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
604 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
606 $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.c $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.h: \
607 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
608 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32