try a new github issue template
[pcsx_rearmed.git] / deps / lightning / lib / Makefile.am
CommitLineData
4a71579b 1#
c0c16242 2# Copyright 2000, 2001, 2002, 2012-2022 Free Software Foundation, Inc.
4a71579b
PC
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
519a9ea1
PC
17AM_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \
18 -D_GNU_SOURCE $(LIGHTNING_CFLAGS)
4a71579b 19liblightning_LTLIBRARIES = liblightning.la
ba86ff93 20liblightning_la_LDFLAGS = -version-info 2:1:0
4a71579b 21
79bfeef6 22AM_CPPFLAGS =
4a71579b
PC
23if get_jit_size
24JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
79bfeef6
PC
25AM_CPPFLAGS += -DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
26endif
27if strong_type_checking
28AM_CPPFLAGS += -DSTRONG_TYPE_CHECKING=1
4a71579b
PC
29endif
30
31liblightningdir = $(libdir)
32liblightning_la_SOURCES = \
33 jit_disasm.c \
34 jit_memory.c \
4a71579b
PC
35 jit_note.c \
36 jit_print.c \
37 jit_size.c \
38 lightning.c
39
40EXTRA_DIST = \
79bfeef6 41 jit_names.c \
c0c16242 42 jit_fallback.c \
4a71579b 43 jit_rewind.c \
79bfeef6 44 aarch64-logical-immediates.c \
4a71579b
PC
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 \
24d91c0d
PC
66 jit_loongarch.c \
67 jit_loongarch-cpu.c \
68 jit_loongarch-fpu.c \
69 jit_loongarch-sz.c \
4a71579b
PC
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