| 1 | #==================================================================== |
|---|
| 2 | # NeXus - Neutron & X-ray Common Data Format |
|---|
| 3 | # |
|---|
| 4 | # Top level Makefile for coordinating NeXus build |
|---|
| 5 | # |
|---|
| 6 | # Copyright (C) 2004 Freddie Akeroyd |
|---|
| 7 | # |
|---|
| 8 | # This library is free software; you can redistribute it and/or |
|---|
| 9 | # modify it under the terms of the GNU Lesser General Public |
|---|
| 10 | # License as published by the Free Software Foundation; either |
|---|
| 11 | # version 2 of the License, or (at your option) any later version. |
|---|
| 12 | # |
|---|
| 13 | # This library is distributed in the hope that it will be useful, |
|---|
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | # Lesser General Public License for more details. |
|---|
| 17 | # |
|---|
| 18 | # You should have received a copy of the GNU Lesser General Public |
|---|
| 19 | # License along with this library; if not, write to the Free |
|---|
| 20 | # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
|---|
| 21 | # MA 02111-1307 USA |
|---|
| 22 | # |
|---|
| 23 | # For further information, see <http://www.nexusformat.org> |
|---|
| 24 | # |
|---|
| 25 | # @configure_input@ |
|---|
| 26 | # |
|---|
| 27 | #==================================================================== |
|---|
| 28 | |
|---|
| 29 | # so "make test" is the same as "make check" |
|---|
| 30 | test: check |
|---|
| 31 | |
|---|
| 32 | if BUILD_CONTRIB |
|---|
| 33 | CONTRIB=contrib |
|---|
| 34 | endif |
|---|
| 35 | SUBDIRS=third_party include src bindings applications test scripts examples doc macosx_install_kit $(CONTRIB) |
|---|
| 36 | |
|---|
| 37 | EXTRA_DIST=build_rules.am nexus_spec.in nexus.spec autoversion.sh \ |
|---|
| 38 | build_rpm.in README.cygwin README.WIN32 README.macosx \ |
|---|
| 39 | README.MinGW make_mingw_links SConstruct nexus_scons_utils.py \ |
|---|
| 40 | configure_mingw_kit Windows_extra InstallerBits \ |
|---|
| 41 | README.VS2008.pdf |
|---|
| 42 | |
|---|
| 43 | # Add any flags here that you want passed to configure when you do |
|---|
| 44 | # a "make distcheck" |
|---|
| 45 | DISTCHECK_CONFIGURE_FLAGS=@CONFIGURE_ARGS@ |
|---|
| 46 | |
|---|
| 47 | MAINTAINERCLEANFILES = \ |
|---|
| 48 | ChangeLog \ |
|---|
| 49 | INSTALL \ |
|---|
| 50 | aclocal.m4 \ |
|---|
| 51 | configure \ |
|---|
| 52 | doc/tech_ref/NeXus_definitions.pdf \ |
|---|
| 53 | doc/tech_ref/NeXus_definitions.txt \ |
|---|
| 54 | include/nxconfig_h.in \ |
|---|
| 55 | `find "$(srcdir)" -type f -name Makefile.in -print` |
|---|
| 56 | |
|---|
| 57 | ChangeLog : |
|---|
| 58 | touch $@ |
|---|
| 59 | if HAVE_SVN2CL |
|---|
| 60 | @echo "Generating ChangeLog from svn via svn2cl" |
|---|
| 61 | $(SVN2CL) --non-interactive --authors=svn2cl_nexus_authors.xml . |
|---|
| 62 | endif |
|---|
| 63 | |
|---|
| 64 | #dist-hook : ChangeLog |
|---|
| 65 | |
|---|
| 66 | maintainer-clean-local: |
|---|
| 67 | -rm -rf config |
|---|