Commit | Line | Data |
---|---|---|
4a71579b | 1 | # |
79bfeef6 | 2 | # Copyright 2012-2023 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 | ||
79bfeef6 PC |
17 | AM_CFLAGS = -I $(top_builddir)/include -I$(top_srcdir)/include \ |
18 | -D_GNU_SOURCE $(LIGHTNING_CFLAGS) | |
4a71579b PC |
19 | |
20 | info_TEXINFOS = lightning.texi | |
21 | MOSTLYCLEANFILES = lightning.tmp | |
22 | ||
23 | lightning_TEXINFOS = body.texi version.texi | |
24 | ||
25 | noinst_PROGRAMS = incr printf rpn rfib ifib fact | |
26 | ||
27 | $(top_builddir)/lib/liblightning.la: | |
28 | cd $(top_builddir)/lib; $(MAKE) $(AM_MAKEFLAGS) liblightning.la | |
29 | ||
30 | incr_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
31 | incr_SOURCES = incr.c | |
32 | ||
33 | printf_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
34 | printf_SOURCES = printf.c | |
35 | ||
36 | rpn_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
37 | rpn_SOURCES = rpn.c | |
38 | ||
39 | rfib_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
40 | rfib_SOURCES = rfib.c | |
41 | ||
42 | ifib_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
43 | ifib_SOURCES = ifib.c | |
44 | ||
45 | fact_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) | |
46 | fact_SOURCES = fact.c |