1
#-------------------------------------------------------------------------------
2
# This file is part of the "Parallel Location and Exchange" library,
3
# intended to provide mesh or particle-based code coupling services.
5
# Copyright (C) 2005-2010 EDF
7
# This library is free software; you can redistribute it and/or
8
# modify it under the terms of the GNU Lesser General Public
9
# License as published by the Free Software Foundation; either
10
# version 2.1 of the License, or (at your option) any later version.
12
# This library is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
# Lesser General Public License for more details.
17
# You should have received a copy of the GNU Lesser General Public
18
# License along with this library; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#-------------------------------------------------------------------------------
22
AUX_DIST = build-aux/compile \
23
build-aux/config.guess \
24
build-aux/config.sub \
26
build-aux/install-sh \
35
MAINTAINERCLEANFILES = aclocal.m4 configure $(AUX_DIST)
37
SUBDIRS = src tests doc
39
EXTRA_DIST = m4/ple_config_info.m4 \
40
m4/ple_config_publ.m4 \
43
config/ple_auto_flags.sh \
49
# One adds the examples sub-directories and get rid of the .svn
50
# directories with a dist-hook. The reason for this trick is that
51
# the number of extra files or patches can grow and change a lot.
52
EXTRA_DIST += examples
54
bin_SCRIPTS = ple-config
59
doc/manpages/ple-config.1
61
configincludedir = $(includedir)
62
nodist_configinclude_HEADERS = ple_config.h
64
nodist_noinst_HEADERS = ple_config_priv.h
67
rmdir $(configincludedir) || exit 0
69
DISTCLEANFILES = ple-config ple_config.h ple_config_priv.h
71
ACLOCAL_AMFLAGS = -I m4
74
@cd tests ; $(MAKE) install-tests
77
@cd tests ; $(MAKE) uninstall-tests
80
-rm -rf `find $(distdir)/examples -name .svn`