| 1 | # |
| 2 | # Copyright 2000, 2001, 2002, 2012-2019 Free Software Foundation, Inc. |
| 3 | # |
| 4 | # This file is part of GNU lightning. |
| 5 | # |
| 6 | # GNU lightning is free software; you can redistribute it and/or modify it |
| 7 | # under the terms of the GNU Lesser General Public License as published |
| 8 | # by the Free Software Foundation; either version 3, or (at your option) |
| 9 | # any later version. |
| 10 | # |
| 11 | # GNU lightning is distributed in the hope that it will be useful, but |
| 12 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
| 14 | # License for more details. |
| 15 | # |
| 16 | |
| 17 | AM_CFLAGS = -I$(top_srcdir)/include -D_GNU_SOURCE $(LIGHTNING_CFLAGS) |
| 18 | liblightning_LTLIBRARIES = liblightning.la |
| 19 | liblightning_la_LDFLAGS = -version-info 1:0:0 |
| 20 | |
| 21 | if get_jit_size |
| 22 | JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c" |
| 23 | AM_CPPFLAGS=-DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)' |
| 24 | endif |
| 25 | |
| 26 | liblightningdir = $(libdir) |
| 27 | liblightning_la_SOURCES = \ |
| 28 | jit_disasm.c \ |
| 29 | jit_memory.c \ |
| 30 | jit_names.c \ |
| 31 | jit_note.c \ |
| 32 | jit_print.c \ |
| 33 | jit_size.c \ |
| 34 | lightning.c |
| 35 | |
| 36 | EXTRA_DIST = \ |
| 37 | jit_rewind.c \ |
| 38 | jit_aarch64.c \ |
| 39 | jit_aarch64-cpu.c \ |
| 40 | jit_aarch64-fpu.c \ |
| 41 | jit_aarch64-sz.c \ |
| 42 | jit_alpha.c \ |
| 43 | jit_alpha-cpu.c \ |
| 44 | jit_alpha-fpu.c \ |
| 45 | jit_alpha-sz.c \ |
| 46 | jit_arm.c \ |
| 47 | jit_arm-cpu.c \ |
| 48 | jit_arm-swf.c \ |
| 49 | jit_arm-vfp.c \ |
| 50 | jit_arm-sz.c \ |
| 51 | jit_hppa.c \ |
| 52 | jit_hppa-cpu.c \ |
| 53 | jit_hppa-fpu.c \ |
| 54 | jit_hppa-sz.c \ |
| 55 | jit_ia64.c \ |
| 56 | jit_ia64-cpu.c \ |
| 57 | jit_ia64-fpu.c \ |
| 58 | jit_ia64-sz.c \ |
| 59 | jit_mips.c \ |
| 60 | jit_mips-cpu.c \ |
| 61 | jit_mips-fpu.c \ |
| 62 | jit_mips-sz.c \ |
| 63 | jit_ppc.c \ |
| 64 | jit_ppc-cpu.c \ |
| 65 | jit_ppc-fpu.c \ |
| 66 | jit_ppc-sz.c \ |
| 67 | jit_riscv.c \ |
| 68 | jit_riscv-cpu.c \ |
| 69 | jit_riscv-fpu.c \ |
| 70 | jit_riscv-sz.c \ |
| 71 | jit_s390.c \ |
| 72 | jit_s390-cpu.c \ |
| 73 | jit_s390-fpu.c \ |
| 74 | jit_s390-sz.c \ |
| 75 | jit_sparc.c \ |
| 76 | jit_sparc-cpu.c \ |
| 77 | jit_sparc-fpu.c \ |
| 78 | jit_sparc-sz.c \ |
| 79 | jit_x86.c \ |
| 80 | jit_x86-cpu.c \ |
| 81 | jit_x86-sse.c \ |
| 82 | jit_x86-x87.c \ |
| 83 | jit_x86-sz.c |