-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMakefile.am
37 lines (24 loc) · 949 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
bin_PROGRAMS = harminv
lib_LTLIBRARIES = libharminv.la
include_HEADERS = harminv.h
dist_man_MANS = doc/harminv.1
noinst_PROGRAMS = sines
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = harminv.pc
ACLOCAL_AMFLAGS=-I m4
DOCS = README.md NEWS.md doc/Harminv.gif doc/harminv-man.md doc/installation.md doc/library.md
EXTRA_DIST = $(DOCS) COPYRIGHT harminv.pc.in m4 sines-test.sh
libharminv_la_SOURCES = harminv.c harminv.h harminv-int.h check.h
libharminv_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
harminv_SOURCES = harminv-main.c copyright.h
harminv_LDADD = libharminv.la
sines_SOURCES = sines.c
BUILT_SOURCES = copyright.h
TESTS = sines-test.sh
# Generate built sources only in maintainer mode
if MAINTAINER_MODE
copyright.h: COPYRIGHT
(echo '#define COPYRIGHT \'; sed 's,^/\* *,",;s,^ \* *,",;s,$$,\\n" \\,' COPYRIGHT |egrep -v '^"/|^[^"]'; echo) > $@
maintainer-clean-local:
rm -f $(BUILT_SOURCES)
endif # MAINTAINER_MODE