lightrec: hack to fix a wrong assumption
[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 1:0:0
21
22 if get_jit_size
23 JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
24 AM_CPPFLAGS=-DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
25 endif
26
27 liblightningdir = $(libdir)
28 liblightning_la_SOURCES =       \
29         jit_disasm.c            \
30         jit_memory.c            \
31         jit_names.c             \
32         jit_note.c              \
33         jit_print.c             \
34         jit_size.c              \
35         lightning.c
36
37 EXTRA_DIST =                    \
38         jit_fallback.c          \
39         jit_rewind.c            \
40         jit_aarch64.c           \
41         jit_aarch64-cpu.c       \
42         jit_aarch64-fpu.c       \
43         jit_aarch64-sz.c        \
44         jit_alpha.c             \
45         jit_alpha-cpu.c         \
46         jit_alpha-fpu.c         \
47         jit_alpha-sz.c          \
48         jit_arm.c               \
49         jit_arm-cpu.c           \
50         jit_arm-swf.c           \
51         jit_arm-vfp.c           \
52         jit_arm-sz.c            \
53         jit_hppa.c              \
54         jit_hppa-cpu.c          \
55         jit_hppa-fpu.c          \
56         jit_hppa-sz.c           \
57         jit_ia64.c              \
58         jit_ia64-cpu.c          \
59         jit_ia64-fpu.c          \
60         jit_ia64-sz.c           \
61         jit_loongarch.c         \
62         jit_loongarch-cpu.c     \
63         jit_loongarch-fpu.c     \
64         jit_loongarch-sz.c      \
65         jit_mips.c              \
66         jit_mips-cpu.c          \
67         jit_mips-fpu.c          \
68         jit_mips-sz.c           \
69         jit_ppc.c               \
70         jit_ppc-cpu.c           \
71         jit_ppc-fpu.c           \
72         jit_ppc-sz.c            \
73         jit_riscv.c             \
74         jit_riscv-cpu.c         \
75         jit_riscv-fpu.c         \
76         jit_riscv-sz.c          \
77         jit_s390.c              \
78         jit_s390-cpu.c          \
79         jit_s390-fpu.c          \
80         jit_s390-sz.c           \
81         jit_sparc.c             \
82         jit_sparc-cpu.c         \
83         jit_sparc-fpu.c         \
84         jit_sparc-sz.c          \
85         jit_x86.c               \
86         jit_x86-cpu.c           \
87         jit_x86-sse.c           \
88         jit_x86-x87.c           \
89         jit_x86-sz.c