add a thp-based huge page alloc fallback
[pcsx_rearmed.git] / deps / lightning / lib / Makefile.am
1 #
2 # Copyright 2000, 2001, 2002, 2012-2022 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_builddir)/include -I$(top_srcdir)/include   \
18         -D_GNU_SOURCE $(LIGHTNING_CFLAGS)
19 liblightning_LTLIBRARIES = liblightning.la
20 liblightning_la_LDFLAGS = -version-info 2:1:0
21
22 AM_CPPFLAGS =
23 if get_jit_size
24 JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
25 AM_CPPFLAGS += -DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
26 endif
27 if strong_type_checking
28 AM_CPPFLAGS += -DSTRONG_TYPE_CHECKING=1
29 endif
30
31 liblightningdir = $(libdir)
32 liblightning_la_SOURCES =       \
33         jit_disasm.c            \
34         jit_memory.c            \
35         jit_note.c              \
36         jit_print.c             \
37         jit_size.c              \
38         lightning.c
39
40 EXTRA_DIST =                    \
41         jit_names.c             \
42         jit_fallback.c          \
43         jit_rewind.c            \
44         aarch64-logical-immediates.c    \
45         jit_aarch64.c           \
46         jit_aarch64-cpu.c       \
47         jit_aarch64-fpu.c       \
48         jit_aarch64-sz.c        \
49         jit_alpha.c             \
50         jit_alpha-cpu.c         \
51         jit_alpha-fpu.c         \
52         jit_alpha-sz.c          \
53         jit_arm.c               \
54         jit_arm-cpu.c           \
55         jit_arm-swf.c           \
56         jit_arm-vfp.c           \
57         jit_arm-sz.c            \
58         jit_hppa.c              \
59         jit_hppa-cpu.c          \
60         jit_hppa-fpu.c          \
61         jit_hppa-sz.c           \
62         jit_ia64.c              \
63         jit_ia64-cpu.c          \
64         jit_ia64-fpu.c          \
65         jit_ia64-sz.c           \
66         jit_loongarch.c         \
67         jit_loongarch-cpu.c     \
68         jit_loongarch-fpu.c     \
69         jit_loongarch-sz.c      \
70         jit_mips.c              \
71         jit_mips-cpu.c          \
72         jit_mips-fpu.c          \
73         jit_mips-sz.c           \
74         jit_ppc.c               \
75         jit_ppc-cpu.c           \
76         jit_ppc-fpu.c           \
77         jit_ppc-sz.c            \
78         jit_riscv.c             \
79         jit_riscv-cpu.c         \
80         jit_riscv-fpu.c         \
81         jit_riscv-sz.c          \
82         jit_s390.c              \
83         jit_s390-cpu.c          \
84         jit_s390-fpu.c          \
85         jit_s390-sz.c           \
86         jit_sparc.c             \
87         jit_sparc-cpu.c         \
88         jit_sparc-fpu.c         \
89         jit_sparc-sz.c          \
90         jit_x86.c               \
91         jit_x86-cpu.c           \
92         jit_x86-sse.c           \
93         jit_x86-x87.c           \
94         jit_x86-sz.c