diff options
author | Twinaphex | 2020-02-08 16:24:22 +0100 |
---|---|---|
committer | GitHub | 2020-02-08 16:24:22 +0100 |
commit | 0adc619b5a5705d16cc6caea64951776ababbb96 (patch) | |
tree | fbae9b1d18d04d8e7908aa1c3446782ebf6e8785 /deps/lightning/Makefile.am | |
parent | 0204c39a68a1fd4bf667aa8ece5a769f2983b7d0 (diff) | |
parent | 6f1edc3c7fd1f7f58155107d0c99d0ac7d22443b (diff) | |
download | pcsx_rearmed-0adc619b5a5705d16cc6caea64951776ababbb96.tar.gz pcsx_rearmed-0adc619b5a5705d16cc6caea64951776ababbb96.tar.bz2 pcsx_rearmed-0adc619b5a5705d16cc6caea64951776ababbb96.zip |
Merge pull request #377 from pcercuei/libretro
Lightrec dynarec
Diffstat (limited to 'deps/lightning/Makefile.am')
-rw-r--r-- | deps/lightning/Makefile.am | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/deps/lightning/Makefile.am b/deps/lightning/Makefile.am new file mode 100644 index 0000000..c921901 --- /dev/null +++ b/deps/lightning/Makefile.am @@ -0,0 +1,45 @@ +# +# Copyright 2000, 2001, 2002, 2012-2019 Free Software Foundation, Inc. +# +# This file is part of GNU lightning. +# +# GNU lightning is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU lightning is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +# License for more details. +# + +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = \ + check \ + doc \ + include \ + lib + +pkgconfiglibdir = $(libdir)/pkgconfig +pkgconfiglib_DATA = lightning.pc + +if get_jit_size +JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c" +AM_CPPFLAGS=-DGET_JIT_SIZE=1 -DJIT_SIZE_PATH='$(JIT_SIZE_PATH)' +AM_CFLAGS = -I$(top_srcdir)/include -D_GNU_SOURCE $(LIGHTNING_CFLAGS) + +noinst_PROGRAMS = size +size_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) +size_SOURCES = size.c + +get_jit_size:: $(JIT_SIZE_PATH) + +$(JIT_SIZE_PATH): + make clean + make check + $(top_builddir)/size + +CLEANFILES = $(JIT_SIZE_PATH) +endif |