-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
88 lines (70 loc) · 2.35 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#-------------------------------------------------------------------------------
# This file is part of the "Parallel Location and Exchange" library,
# intended to provide mesh or particle-based code coupling services.
#
# Copyright (C) 2005-2023 EDF S.A.
#
# This library 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 2.1 of the License, or (at your option) any later version.
#
# This library 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.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#-------------------------------------------------------------------------------
AUX_DIST = \
build-aux/ar-lib \
build-aux/compile \
build-aux/config.guess \
build-aux/config.sub \
build-aux/depcomp \
build-aux/install-sh \
build-aux/missing \
build-aux/py-compile
MAINTAINERCLEANFILES = aclocal.m4 configure $(AUX_DIST)
SUBDIRS = src pyple tests doc
EXTRA_DIST = \
NEWS.md \
README.md \
m4/ple_config_info.m4 \
m4/ple_config_publ.m4 \
m4/ple_mpi.m4 \
m4/ple_mpi4py.m4 \
m4/ple_types.m4 \
config/ple_auto_flags.sh \
sbin/backup \
sbin/bootstrap \
sbin/clean \
sbin/rmb
# One adds the examples sub-directories with a dist-hook.
# The reason for this trick is that
# the number of extra files or patches can grow and change a lot.
EXTRA_DIST += examples
bin_SCRIPTS = ple-config
# Install man pages
dist_man_MANS = \
doc/manpages/ple-config.1
configincludedir = $(includedir)
nodist_configinclude_HEADERS = ple_config.h
nodist_noinst_HEADERS = ple_config_priv.h
DISTCLEANFILES = ple-config ple_config.h ple_config_priv.h
ACLOCAL_AMFLAGS = -I m4
uninstall-local:
rmdir $(configincludedir) || exit 0
# Generate and install documentation
.PHONY: doc
doc:
cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
.PHONY: install-doc
install-doc:
cd doc && $(MAKE) $(AM_MAKEFLAGS) install-doc
install-tests:
@cd tests ; $(MAKE) install-tests
uninstall-tests:
@cd tests ; $(MAKE) uninstall-tests