| 1 | ## Process this file with automake to produce Makefile.in |
|---|
| 2 | #==================================================================== |
|---|
| 3 | # NeXus - Neutron & X-ray Common Data Format |
|---|
| 4 | # |
|---|
| 5 | # $Id$ |
|---|
| 6 | # |
|---|
| 7 | # Makefile for building NeXus applications |
|---|
| 8 | # |
|---|
| 9 | # Copyright (C) 2004 Freddie Akeroyd |
|---|
| 10 | # |
|---|
| 11 | # This library is free software; you can redistribute it and/or |
|---|
| 12 | # modify it under the terms of the GNU Lesser General Public |
|---|
| 13 | # License as published by the Free Software Foundation; either |
|---|
| 14 | # version 2 of the License, or (at your option) any later version. |
|---|
| 15 | # |
|---|
| 16 | # This library is distributed in the hope that it will be useful, |
|---|
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 19 | # Lesser General Public License for more details. |
|---|
| 20 | # |
|---|
| 21 | # You should have received a copy of the GNU Lesser General Public |
|---|
| 22 | # License along with this library; if not, write to the Free |
|---|
| 23 | # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
|---|
| 24 | # MA 02111-1307 USA |
|---|
| 25 | # |
|---|
| 26 | # For further information, see <http://www.nexusformat.org> |
|---|
| 27 | # |
|---|
| 28 | #==================================================================== |
|---|
| 29 | LIBNEXUS=$(top_builddir)/src/libNeXus.la |
|---|
| 30 | LIBNEXUS77=$(top_builddir)/bindings/f77/libNeXus77.la |
|---|
| 31 | LIBNEXUS90=$(top_builddir)/bindings/f90/libNeXus90.la |
|---|
| 32 | AM_CPPFLAGS=-I. -I$(top_srcdir)/include |
|---|
| 33 | AM_FCFLAGS=-I$(top_builddir)/bindings/f90 |
|---|
| 34 | man_MANS = nxdiff.1 |
|---|
| 35 | |
|---|
| 36 | dist_bin_SCRIPTS=nxdiff |
|---|
| 37 | |
|---|
| 38 | EXTRA_DIST=SConscript $(man_MANS) |
|---|
| 39 | |
|---|
| 40 | if HAVE_F90 |
|---|
| 41 | NXDUMP = NXdump |
|---|
| 42 | endif |
|---|
| 43 | if HAVE_XML |
|---|
| 44 | NXINGEST = nxingest |
|---|
| 45 | endif |
|---|
| 46 | if HAVE_LIBXML2 |
|---|
| 47 | NXTRANSLATE=NXtranslate |
|---|
| 48 | NXSUMMARY=NXsummary |
|---|
| 49 | endif |
|---|
| 50 | if HAVE_ANT |
|---|
| 51 | NXVALIDATE = NXvalidate |
|---|
| 52 | endif |
|---|
| 53 | |
|---|
| 54 | SUBDIRS = NXbrowse NXdir NXtraverse NXconvert $(NXVALIDATE) \ |
|---|
| 55 | $(NXDUMP) $(NXTRANSLATE) $(NXSUMMARY) $(NXINGEST) |
|---|
| 56 | |
|---|
| 57 | include $(top_srcdir)/build_rules.am |
|---|