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 \
48 ana/compute_loop_info.c \
51 ana/execution_frequency.c \
52 ana/field_temperature.c \
54 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/bespilloptions.c \
133 be/bessadestrsimple.c \
144 common/firm_common.c \
147 common/statistics.c \
182 libcore/lc_appendable.c \
183 libcore/lc_config_lexer.c \
184 libcore/lc_config_parser.c \
186 libcore/lc_opts_enum.c \
187 libcore/lc_printf.c \
189 lower/lower_calls.c \
192 lower/lower_intrinsics.c \
193 lower/lower_mode_b.c \
196 obstack/obstack_printf.c \
201 opt/data_flow_scalar_replace.c \
209 opt/loop_unrolling.c \
213 opt/opt_polymorphy.c \
217 opt/scalar_replace.c \
232 tr/tr_inheritance.c \
235 tr/type_finalization.c \
256 be/bessadestrsimple.h \
268 be/bechordal_draw.h \
280 be/bepressurestat.h \
286 be/bespilloptions.h \
309 common/statistics.h \
313 common/firm_common_t.h \
341 libcore/lc_common_t.h \
342 libcore/lc_appendable.h \
343 libcore/lc_config.h \
344 libcore/lc_parser_t.h \
345 libcore/lc_printf_arg_types.def \
346 libcore/do_bisonflex.sh \
347 libcore/lc_config_parser.h \
348 libcore/lc_opts_t.h \
349 libcore/lc_defines.h \
350 libcore/lc_opts_enum.h \
352 libcore/lc_printf.h \
356 opt/scalar_replace.h \
358 opt/opt_polymorphy.h \
359 opt/strength_red_t.h \
376 be/scripts/generate_emitter_new.pl \
377 be/scripts/generate_emitter.pl \
378 be/scripts/generate_machine.pl \
379 be/scripts/generate_new_opcodes.pl \
380 be/scripts/generate_regalloc_if.pl
385 be/ia32/bearch_ia32.c \
386 be/ia32/ia32_architecture.c \
387 be/ia32/ia32_address_mode.c \
388 be/ia32/ia32_emitter.c \
389 be/ia32/ia32_finish.c \
391 be/ia32/ia32_intrinsics.c \
392 be/ia32/ia32_map_regs.c \
393 be/ia32/ia32_new_nodes.c \
394 be/ia32/ia32_optimize.c \
395 be/ia32/ia32_transform.c \
396 be/ia32/ia32_util.c \
399 ia32_built_sources = \
400 be/ia32/gen_ia32_emitter.c \
401 be/ia32/gen_ia32_emitter.h \
402 be/ia32/gen_ia32_machine.c \
403 be/ia32/gen_ia32_machine.h \
404 be/ia32/gen_ia32_regalloc_if.c \
405 be/ia32/gen_ia32_regalloc_if.h \
406 be/ia32/gen_ia32_new_nodes.c.inl \
407 be/ia32/gen_ia32_new_nodes.h
408 MAINTAINERCLEANFILES = $(ia32_built_sources)
409 BUILT_SOURCES = $(ia32_built_sources)
410 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
413 be/ia32/ia32_spec.pl \
414 be/ia32/ia32_simd_spec.pl \
415 be/ia32/bearch_ia32_t.h \
416 be/ia32/ia32_architecture.h \
417 be/ia32/ia32_address_mode.h \
418 be/ia32/ia32_dbg_stat.h \
419 be/ia32/ia32_emitter.h \
420 be/ia32/ia32_finish.h \
422 be/ia32/ia32_map_regs.h \
423 be/ia32/ia32_new_nodes.h \
424 be/ia32/ia32_nodes_attr.h \
425 be/ia32/ia32_optimize.h \
426 be/ia32/ia32_transform.h \
427 be/ia32/ia32_util.h \
430 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
431 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
432 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
434 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
435 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
436 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
438 $(srcdir)/be/ia32/gen_ia32_machine.c $(srcdir)/be/ia32/gen_ia32_machine.h: \
439 be/ia32/ia32_spec.pl be/scripts/generate_machine.pl
440 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
442 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
443 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
444 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
449 be/arm/bearch_arm.c \
450 be/arm/arm_emitter.c \
451 be/arm/arm_map_regs.c \
452 be/arm/arm_new_nodes.c \
453 be/arm/arm_transform.c
454 arm_built_sources = \
455 be/arm/gen_arm_emitter.c \
456 be/arm/gen_arm_emitter.h \
457 be/arm/gen_arm_machine.c \
458 be/arm/gen_arm_machine.h \
459 be/arm/gen_arm_regalloc_if.c \
460 be/arm/gen_arm_regalloc_if.h \
461 be/arm/gen_arm_new_nodes.c.inl \
462 be/arm/gen_arm_new_nodes.h
463 MAINTAINERCLEANFILES += $(arm_built_sources)
464 BUILT_SOURCES += $(arm_built_sources)
465 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
470 be/arm/arm_emitter.h \
471 be/arm/arm_map_regs.h \
472 be/arm/arm_new_nodes.h \
473 be/arm/arm_nodes_attr.h \
474 be/arm/arm_transform.h \
475 be/arm/bearch_arm.h \
476 be/arm/bearch_arm_t.h
478 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
479 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
480 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
482 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
483 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
484 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
486 $(srcdir)/be/arm/gen_arm_machine.c $(srcdir)/be/arm/gen_arm_machine.h: \
487 be/arm/arm_spec.pl be/scripts/generate_machine.pl
488 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
490 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
491 be/arm/arm_spec.pl be/scripts/generate_machine.pl
492 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
497 be/mips/bearch_mips.c \
498 be/mips/mips_emitter.c \
499 be/mips/mips_map_regs.c \
500 be/mips/mips_new_nodes.c \
501 be/mips/mips_scheduler.c \
502 be/mips/mips_transform.c
503 mips_built_sources = \
504 be/mips/gen_mips_emitter.c \
505 be/mips/gen_mips_emitter.h \
506 be/mips/gen_mips_machine.c \
507 be/mips/gen_mips_machine.h \
508 be/mips/gen_mips_regalloc_if.c \
509 be/mips/gen_mips_regalloc_if.h \
510 be/mips/gen_mips_new_nodes.c.inl \
511 be/mips/gen_mips_new_nodes.h
512 MAINTAINERCLEANFILES += $(mips_built_sources)
513 BUILT_SOURCES += $(mips_built_sources)
514 libfirm_la_SOURCES += $(mips_sources) $(mips_built_sources)
517 be/mips/mips_spec.pl \
518 be/mips/bearch_mips.h \
519 be/mips/bearch_mips_t.h \
520 be/mips/mips_emitter.h \
521 be/mips/mips_map_regs.h \
522 be/mips/mips_new_nodes.h \
523 be/mips/mips_nodes_attr.h \
524 be/mips/mips_scheduler.h \
525 be/mips/mips_transform.h \
528 $(srcdir)/be/mips/gen_mips_new_nodes.c.inl $(srcdir)/be/mips/gen_mips_new_nodes.h: \
529 be/mips/mips_spec.pl be/scripts/generate_new_opcodes.pl
530 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
532 $(srcdir)/be/mips/gen_mips_emitter.c $(srcdir)/be/mips/gen_mips_emitter.h: \
533 be/mips/mips_spec.pl be/scripts/generate_emitter.pl
534 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
536 $(srcdir)/be/mips/gen_mips_machine.c $(srcdir)/be/mips/gen_mips_machine.h: \
537 be/mips/mips_spec.pl be/scripts/generate_machine.pl
538 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
540 $(srcdir)/be/mips/gen_mips_regalloc_if.c $(srcdir)/be/mips/gen_mips_regalloc_if.h: \
541 be/mips/mips_spec.pl be/scripts/generate_machine.pl
542 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
547 be/ppc32/bearch_ppc32.c \
548 be/ppc32/ppc32_emitter.c \
549 be/ppc32/ppc32_map_regs.c \
550 be/ppc32/ppc32_new_nodes.c \
551 be/ppc32/ppc32_transform.c \
552 be/ppc32/ppc32_transform_conv.c
553 ppc32_built_sources = \
554 be/ppc32/gen_ppc32_emitter.c \
555 be/ppc32/gen_ppc32_emitter.h \
556 be/ppc32/gen_ppc32_machine.c \
557 be/ppc32/gen_ppc32_machine.h \
558 be/ppc32/gen_ppc32_regalloc_if.c \
559 be/ppc32/gen_ppc32_regalloc_if.h \
560 be/ppc32/gen_ppc32_new_nodes.c.inl \
561 be/ppc32/gen_ppc32_new_nodes.h
562 MAINTAINERCLEANFILES += $(ppc32_built_sources)
563 BUILT_SOURCES += $(ppc32_built_sources)
564 libfirm_la_SOURCES += $(ppc32_sources) $(ppc32_built_sources)
567 be/ppc32/ppc32_spec.pl \
568 be/ppc32/bearch_ppc32.h \
569 be/ppc32/bearch_ppc32_t.h \
570 be/ppc32/ppc32_emitter.h \
571 be/ppc32/ppc32_map_regs.h \
572 be/ppc32/ppc32_new_nodes.h \
573 be/ppc32/ppc32_nodes_attr.h \
574 be/ppc32/ppc32_transform_conv.h \
575 be/ppc32/ppc32_transform.h
577 $(srcdir)/be/ppc32/gen_ppc32_new_nodes.c.inl $(srcdir)/be/ppc32/gen_ppc32_new_nodes.h: \
578 be/ppc32/ppc32_spec.pl be/scripts/generate_new_opcodes.pl
579 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
581 $(srcdir)/be/ppc32/gen_ppc32_emitter.c $(srcdir)/be/ppc32/gen_ppc32_emitter.h: \
582 be/ppc32/ppc32_spec.pl be/scripts/generate_emitter.pl
583 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
585 $(srcdir)/be/ppc32/gen_ppc32_machine.c $(srcdir)/be/ppc32/gen_ppc32_machine.h: \
586 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
587 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
589 $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.c $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.h: \
590 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
591 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32