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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
## process this file with automake to produce Makefile.in
#
# This file is part of Rheolef.
#
# Copyright (C) 2000-2009 Pierre Saramito
#
# Rheolef is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Rheolef 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Rheolef; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
include ${top_builddir}/config/config.mk
default: all
help:
@echo "usage for rheolef make:"
@echo " make : build executables"
@echo " make dvi : build documentation"
@echo " make check : validation by running non-regression tests"
@echo " make install : installation of executables and documentation"
@echo " make clean : delette temporaries during compilation"
@echo " make uninstall: un-installation of executables and documentation"
@echo " make dist : build a source rheolef-VERSION.tar.gz tar ball"
@echo " make deb : build a binary rheolef-VERSION-ARCH.tar.gz tar ball with .deb"
love:
@echo "...not war !"
# -----------------------------------------------------------------------------
# the file and directory sets
# -----------------------------------------------------------------------------
EXTRA_DIST = VERSION COPYING.FRENCH INSTALL ChangeLog bootstrap \
Makefile.am configure.ac
# added by automake1.9 : skip because non-local path
NONLOCAL_IGNORE = \
\$optional_makefile.in ptional_makefile.in \
$(srcdir)/Makefile.in \
$(srcdir)/configure \
$(srcdir)/aclocal.m4 \
$(srcdir)/config/config.guess \
$(srcdir)/config/config.sub \
$(srcdir)/config/install-sh \
$(srcdir)/config/ltmain.sh \
$(srcdir)/config/missing \
$(srcdir)/config/compile \
$(srcdir)/config/acinclude.m4 \
$(srcdir)/config/ginac.m4 \
$(srcdir)/config/longlong.m4 \
$(srcdir)/config/libtool.m4 \
$(srcdir)/config/ltsugar.m4 \
$(srcdir)/config/ltoptions.m4 \
$(srcdir)/config/ltversion.m4 \
$(srcdir)/config/lt~obsolete.m4 \
$(srcdir)/config/acmacros.m4 \
$(srcdir)/config/acoptim.m4
CVSIGNORE = configure INSTALL ChangeLog Makefile Makefile.in \
config/config.h.in config/stamp-h1.in \
config/acinclude.m4 \
config/ginac.m4 \
config/libtool.m4 \
config/acmacros.m4 \
config/acoptim.m4 \
aclocal.m4 config/stamp-h2.in config/version.h.in \
$(NONLOCAL_IGNORE)
WCIGNORE = COPYING COPYING.FRENCH \
$(NONLOCAL_IGNORE)
SUBDIRS = \
config \
util \
skit \
nfem \
doc
# -----------------------------------------------------------------------------
# extra rules
# -----------------------------------------------------------------------------
AUTOMAKE_OPTIONS = 1.9
ACLOCAL_AMFLAGS = -I config
# compress mandirs (has been cleaned in config/Makefile.am at the begining of make install)
#install-data-hook:
# gzip --best ${DESTDIR}${mandir}/man*/*.[0-9]rheolef || true
web-install: dist
$(MKDIRHIER) $(WEB_DIR)
$(INSTALL_DATA) $(PACKAGE)-$(VERSION).tar.gz $(WEB_DIR)/$(PACKAGE)-$(VERSION).tar.gz
$(INSTALL_DATA) $(srcdir)/COPYING $(WEB_DIR)/COPYING
cd $(WEB_DIR); /bin/rm -f $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz
cd doc; $(MAKE) web-install
clean-local:
/bin/rm -f include/rheolef.h include/rheolef_seq.h
/bin/rm -f include/rheolef/*
if test -d include/rheolef; then rmdir include/rheolef; fi
if test -d include; then rmdir include; fi
# make distclean : when going in config/ : delete config.mk
# and when go in . : problem... may rebuild it
config/config.mk: config/config.mk.in
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
# after all make distclean : finaly delete it !
distclean-local:
/bin/rm -f INSTALL config2.status config/config.mk
# autodocumentation: scan *.h and .cc in these directories
# -> used by refman.pdf and doxygen .html docs
if USE_NEW_CODE
SKIT_LIB = skit/plib2
FEM_LIB = nfem/pbasis \
nfem/plib \
nfem/pbin
else
SKIT_LIB = skit/lib
FEM_LIB = nfem/lib \
nfem/basis \
nfem/bin \
nfem/form_element
endif
DOC_SUBDIRS = \
config \
util/fdstream \
util/lib \
util/ublas \
util/bamg \
$(SKIT_LIB) \
nfem/sbin \
nfem/quadrature \
nfem/geo_element \
$(FEM_LIB) \
doc/usrman
# used by doc/refman to scan subdirs:
doc_subdirs:
@echo $(DOC_SUBDIRS)
|