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 \
111 be/bepressurestat.c \
118 be/beschedregpress.c \
121 be/beschedtrivial.c \
122 be/bespillbelady2.c \
123 be/bespillbelady3.c \
127 be/bespilloptions.c \
132 be/bessadestrsimple.c \
143 common/firm_common.c \
146 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 \
212 opt/opt_polymorphy.c \
216 opt/scalar_replace.c \
230 tr/tr_inheritance.c \
233 tr/type_finalization.c \
254 be/bessadestrsimple.h \
266 be/bechordal_draw.h \
278 be/bepressurestat.h \
284 be/bespilloptions.h \
307 common/statistics.h \
311 common/firm_common_t.h \
339 libcore/lc_common_t.h \
340 libcore/lc_appendable.h \
341 libcore/lc_config.h \
342 libcore/lc_parser_t.h \
343 libcore/lc_printf_arg_types.def \
344 libcore/do_bisonflex.sh \
345 libcore/lc_config_parser.h \
346 libcore/lc_opts_t.h \
347 libcore/lc_defines.h \
348 libcore/lc_opts_enum.h \
350 libcore/lc_printf.h \
354 opt/scalar_replace.h \
356 opt/opt_polymorphy.h \
373 be/scripts/generate_emitter_new.pl \
374 be/scripts/generate_emitter.pl \
375 be/scripts/generate_machine.pl \
376 be/scripts/generate_new_opcodes.pl \
377 be/scripts/generate_regalloc_if.pl
382 be/ia32/bearch_ia32.c \
383 be/ia32/ia32_architecture.c \
384 be/ia32/ia32_address_mode.c \
385 be/ia32/ia32_emitter.c \
386 be/ia32/ia32_finish.c \
388 be/ia32/ia32_intrinsics.c \
389 be/ia32/ia32_map_regs.c \
390 be/ia32/ia32_new_nodes.c \
391 be/ia32/ia32_optimize.c \
392 be/ia32/ia32_transform.c \
393 be/ia32/ia32_util.c \
396 ia32_built_sources = \
397 be/ia32/gen_ia32_emitter.c \
398 be/ia32/gen_ia32_emitter.h \
399 be/ia32/gen_ia32_machine.c \
400 be/ia32/gen_ia32_machine.h \
401 be/ia32/gen_ia32_regalloc_if.c \
402 be/ia32/gen_ia32_regalloc_if.h \
403 be/ia32/gen_ia32_new_nodes.c.inl \
404 be/ia32/gen_ia32_new_nodes.h
405 MAINTAINERCLEANFILES = $(ia32_built_sources)
406 BUILT_SOURCES = $(ia32_built_sources)
407 libfirm_la_SOURCES += $(ia32_sources) $(ia32_built_sources)
410 be/ia32/ia32_spec.pl \
411 be/ia32/ia32_simd_spec.pl \
412 be/ia32/bearch_ia32_t.h \
413 be/ia32/ia32_architecture.h \
414 be/ia32/ia32_address_mode.h \
415 be/ia32/ia32_dbg_stat.h \
416 be/ia32/ia32_emitter.h \
417 be/ia32/ia32_finish.h \
419 be/ia32/ia32_map_regs.h \
420 be/ia32/ia32_new_nodes.h \
421 be/ia32/ia32_nodes_attr.h \
422 be/ia32/ia32_optimize.h \
423 be/ia32/ia32_transform.h \
424 be/ia32/ia32_util.h \
427 $(srcdir)/be/ia32/gen_ia32_new_nodes.c.inl $(srcdir)/be/ia32/gen_ia32_new_nodes.h: \
428 be/ia32/ia32_spec.pl be/scripts/generate_new_opcodes.pl
429 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
431 $(srcdir)/be/ia32/gen_ia32_emitter.c $(srcdir)/be/ia32/gen_ia32_emitter.h: \
432 be/ia32/ia32_spec.pl be/scripts/generate_emitter.pl
433 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
435 $(srcdir)/be/ia32/gen_ia32_machine.c $(srcdir)/be/ia32/gen_ia32_machine.h: \
436 be/ia32/ia32_spec.pl be/scripts/generate_machine.pl
437 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
439 $(srcdir)/be/ia32/gen_ia32_regalloc_if.c $(srcdir)/be/ia32/gen_ia32_regalloc_if.h: \
440 be/ia32/ia32_spec.pl be/scripts/generate_regalloc_if.pl
441 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ia32/ia32_spec.pl $(srcdir)/be/ia32
446 be/arm/bearch_arm.c \
447 be/arm/arm_emitter.c \
448 be/arm/arm_map_regs.c \
449 be/arm/arm_new_nodes.c \
450 be/arm/arm_transform.c
451 arm_built_sources = \
452 be/arm/gen_arm_emitter.c \
453 be/arm/gen_arm_emitter.h \
454 be/arm/gen_arm_machine.c \
455 be/arm/gen_arm_machine.h \
456 be/arm/gen_arm_regalloc_if.c \
457 be/arm/gen_arm_regalloc_if.h \
458 be/arm/gen_arm_new_nodes.c.inl \
459 be/arm/gen_arm_new_nodes.h
460 MAINTAINERCLEANFILES += $(arm_built_sources)
461 BUILT_SOURCES += $(arm_built_sources)
462 libfirm_la_SOURCES += $(arm_sources) $(arm_built_sources)
467 be/arm/arm_emitter.h \
468 be/arm/arm_map_regs.h \
469 be/arm/arm_new_nodes.h \
470 be/arm/arm_nodes_attr.h \
471 be/arm/arm_transform.h \
472 be/arm/bearch_arm.h \
473 be/arm/bearch_arm_t.h
475 $(srcdir)/be/arm/gen_arm_new_nodes.c.inl $(srcdir)/be/arm/gen_arm_new_nodes.h: \
476 be/arm/arm_spec.pl be/scripts/generate_new_opcodes.pl
477 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
479 $(srcdir)/be/arm/gen_arm_emitter.c $(srcdir)/be/arm/gen_arm_emitter.h: \
480 be/arm/arm_spec.pl be/scripts/generate_emitter.pl
481 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
483 $(srcdir)/be/arm/gen_arm_machine.c $(srcdir)/be/arm/gen_arm_machine.h: \
484 be/arm/arm_spec.pl be/scripts/generate_machine.pl
485 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
487 $(srcdir)/be/arm/gen_arm_regalloc_if.c $(srcdir)/be/arm/gen_arm_regalloc_if.h: \
488 be/arm/arm_spec.pl be/scripts/generate_machine.pl
489 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/arm/arm_spec.pl $(srcdir)/be/arm
494 be/mips/bearch_mips.c \
495 be/mips/mips_emitter.c \
496 be/mips/mips_map_regs.c \
497 be/mips/mips_new_nodes.c \
498 be/mips/mips_scheduler.c \
499 be/mips/mips_transform.c
500 mips_built_sources = \
501 be/mips/gen_mips_emitter.c \
502 be/mips/gen_mips_emitter.h \
503 be/mips/gen_mips_machine.c \
504 be/mips/gen_mips_machine.h \
505 be/mips/gen_mips_regalloc_if.c \
506 be/mips/gen_mips_regalloc_if.h \
507 be/mips/gen_mips_new_nodes.c.inl \
508 be/mips/gen_mips_new_nodes.h
509 MAINTAINERCLEANFILES += $(mips_built_sources)
510 BUILT_SOURCES += $(mips_built_sources)
511 libfirm_la_SOURCES += $(mips_sources) $(mips_built_sources)
514 be/mips/mips_spec.pl \
515 be/mips/bearch_mips.h \
516 be/mips/bearch_mips_t.h \
517 be/mips/mips_emitter.h \
518 be/mips/mips_map_regs.h \
519 be/mips/mips_new_nodes.h \
520 be/mips/mips_nodes_attr.h \
521 be/mips/mips_scheduler.h \
522 be/mips/mips_transform.h \
525 $(srcdir)/be/mips/gen_mips_new_nodes.c.inl $(srcdir)/be/mips/gen_mips_new_nodes.h: \
526 be/mips/mips_spec.pl be/scripts/generate_new_opcodes.pl
527 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
529 $(srcdir)/be/mips/gen_mips_emitter.c $(srcdir)/be/mips/gen_mips_emitter.h: \
530 be/mips/mips_spec.pl be/scripts/generate_emitter.pl
531 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
533 $(srcdir)/be/mips/gen_mips_machine.c $(srcdir)/be/mips/gen_mips_machine.h: \
534 be/mips/mips_spec.pl be/scripts/generate_machine.pl
535 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
537 $(srcdir)/be/mips/gen_mips_regalloc_if.c $(srcdir)/be/mips/gen_mips_regalloc_if.h: \
538 be/mips/mips_spec.pl be/scripts/generate_machine.pl
539 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/mips/mips_spec.pl $(srcdir)/be/mips
544 be/ppc32/bearch_ppc32.c \
545 be/ppc32/ppc32_emitter.c \
546 be/ppc32/ppc32_map_regs.c \
547 be/ppc32/ppc32_new_nodes.c \
548 be/ppc32/ppc32_transform.c \
549 be/ppc32/ppc32_transform_conv.c
550 ppc32_built_sources = \
551 be/ppc32/gen_ppc32_emitter.c \
552 be/ppc32/gen_ppc32_emitter.h \
553 be/ppc32/gen_ppc32_machine.c \
554 be/ppc32/gen_ppc32_machine.h \
555 be/ppc32/gen_ppc32_regalloc_if.c \
556 be/ppc32/gen_ppc32_regalloc_if.h \
557 be/ppc32/gen_ppc32_new_nodes.c.inl \
558 be/ppc32/gen_ppc32_new_nodes.h
559 MAINTAINERCLEANFILES += $(ppc32_built_sources)
560 BUILT_SOURCES += $(ppc32_built_sources)
561 libfirm_la_SOURCES += $(ppc32_sources) $(ppc32_built_sources)
564 be/ppc32/ppc32_spec.pl \
565 be/ppc32/bearch_ppc32.h \
566 be/ppc32/bearch_ppc32_t.h \
567 be/ppc32/ppc32_emitter.h \
568 be/ppc32/ppc32_map_regs.h \
569 be/ppc32/ppc32_new_nodes.h \
570 be/ppc32/ppc32_nodes_attr.h \
571 be/ppc32/ppc32_transform_conv.h \
572 be/ppc32/ppc32_transform.h
574 $(srcdir)/be/ppc32/gen_ppc32_new_nodes.c.inl $(srcdir)/be/ppc32/gen_ppc32_new_nodes.h: \
575 be/ppc32/ppc32_spec.pl be/scripts/generate_new_opcodes.pl
576 $(PERL) $(srcdir)/be/scripts/generate_new_opcodes.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
578 $(srcdir)/be/ppc32/gen_ppc32_emitter.c $(srcdir)/be/ppc32/gen_ppc32_emitter.h: \
579 be/ppc32/ppc32_spec.pl be/scripts/generate_emitter.pl
580 $(PERL) $(srcdir)/be/scripts/generate_emitter.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
582 $(srcdir)/be/ppc32/gen_ppc32_machine.c $(srcdir)/be/ppc32/gen_ppc32_machine.h: \
583 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
584 $(PERL) $(srcdir)/be/scripts/generate_machine.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32
586 $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.c $(srcdir)/be/ppc32/gen_ppc32_regalloc_if.h: \
587 be/ppc32/ppc32_spec.pl be/scripts/generate_machine.pl
588 $(PERL) $(srcdir)/be/scripts/generate_regalloc_if.pl $(srcdir)/be/ppc32/ppc32_spec.pl $(srcdir)/be/ppc32