git subrepo pull --force deps/lightning
[pcsx_rearmed.git] / deps / lightning / lib / Makefile.am
CommitLineData
4a71579b
PC
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
519a9ea1
PC
17AM_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \
18 -D_GNU_SOURCE $(LIGHTNING_CFLAGS)
4a71579b
PC
19liblightning_LTLIBRARIES = liblightning.la
20liblightning_la_LDFLAGS = -version-info 1:0:0
21
22if get_jit_size
23JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
24AM_CPPFLAGS=-DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
25endif
26
27liblightningdir = $(libdir)
28liblightning_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
37EXTRA_DIST = \
38 jit_rewind.c \
39 jit_aarch64.c \
40 jit_aarch64-cpu.c \
41 jit_aarch64-fpu.c \
42 jit_aarch64-sz.c \
43 jit_alpha.c \
44 jit_alpha-cpu.c \
45 jit_alpha-fpu.c \
46 jit_alpha-sz.c \
47 jit_arm.c \
48 jit_arm-cpu.c \
49 jit_arm-swf.c \
50 jit_arm-vfp.c \
51 jit_arm-sz.c \
52 jit_hppa.c \
53 jit_hppa-cpu.c \
54 jit_hppa-fpu.c \
55 jit_hppa-sz.c \
56 jit_ia64.c \
57 jit_ia64-cpu.c \
58 jit_ia64-fpu.c \
59 jit_ia64-sz.c \
60 jit_mips.c \
61 jit_mips-cpu.c \
62 jit_mips-fpu.c \
63 jit_mips-sz.c \
64 jit_ppc.c \
65 jit_ppc-cpu.c \
66 jit_ppc-fpu.c \
67 jit_ppc-sz.c \
68 jit_riscv.c \
69 jit_riscv-cpu.c \
70 jit_riscv-fpu.c \
71 jit_riscv-sz.c \
72 jit_s390.c \
73 jit_s390-cpu.c \
74 jit_s390-fpu.c \
75 jit_s390-sz.c \
76 jit_sparc.c \
77 jit_sparc-cpu.c \
78 jit_sparc-fpu.c \
79 jit_sparc-sz.c \
80 jit_x86.c \
81 jit_x86-cpu.c \
82 jit_x86-sse.c \
83 jit_x86-x87.c \
84 jit_x86-sz.c