2 # Copyright 2000, 2001, 2002, 2012-2022 Free Software Foundation, Inc.
4 # This file is part of GNU lightning.
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)
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.
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
24 JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"
25 AM_CPPFLAGS += -DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)'
27 if strong_type_checking
28 AM_CPPFLAGS += -DSTRONG_TYPE_CHECKING=1
31 liblightningdir = $(libdir)
32 liblightning_la_SOURCES = \
44 aarch64-logical-immediates.c \