| 1 |
## Makefile.am -- Process this file with automake to produce Makefile.in |
| 2 |
## |
| 3 |
## Copyright (C) 2005-2011 Christopher C. Hulbert |
| 4 |
## |
| 5 |
## All rights reserved. |
| 6 |
## |
| 7 |
## Redistribution and use in source and binary forms, with or without |
| 8 |
## modification, are permitted provided that the following conditions are met: |
| 9 |
## |
| 10 |
## 1. Redistributions of source code must retain the above copyright notice, |
| 11 |
## this list of conditions and the following disclaimer. |
| 12 |
## |
| 13 |
## 2. Redistributions in binary form must reproduce the above copyright |
| 14 |
## notice, this list of conditions and the following disclaimer in the |
| 15 |
## documentation and/or other materials provided with the distribution. |
| 16 |
## |
| 17 |
## THIS SOFTWARE IS PROVIDED BY CHRISTOPHER C. HULBERT ``AS IS'' AND ANY EXPRESS |
| 18 |
## OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 |
## OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 20 |
## EVENT SHALL CHRISTOPHER C. HULBERT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
| 21 |
## INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 22 |
## (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 23 |
## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 24 |
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 |
## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 26 |
## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 |
## |
| 28 |
VPATH = @srcdir@ |
| 29 |
|
| 30 |
if NEED_GETOPT |
| 31 |
GETOPT_CFLAGS = -I$(top_builddir)/getopt |
| 32 |
GETOPT_LIBS = $(top_builddir)/getopt/libgetopt.la |
| 33 |
endif |
| 34 |
|
| 35 |
AM_CFLAGS = -I$(top_srcdir)/src $(GETOPT_CFLAGS) $(HDF5_CFLAGS) $(ZLIB_CFLAGS) \ |
| 36 |
$(LT_CFLAGS) |
| 37 |
AM_LDFLAGS = $(LT_LDFLAGS) $(FCLDFLAGS) |
| 38 |
|
| 39 |
bin_PROGRAMS = matdump |
| 40 |
|
| 41 |
matdump_SOURCES = matdump.c |
| 42 |
matdump_LDADD = $(top_builddir)/src/libmatio.la $(GETOPT_LIBS) \ |
| 43 |
$(HDF5_LIBS) $(ZLIB_LIBS) |