Debian Codegraph @

matio-1.5.30/tools/Makefile.am

raw
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ##
3 ## Copyright (c) 2015-2026, The matio contributors
4 ## Copyright (c) 2005-2014, Christopher C. Hulbert
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, this
11 ## list of conditions and the following disclaimer.
12 ##
13 ## 2. Redistributions in binary form must reproduce the above copyright notice,
14 ## this list of conditions and the following disclaimer in the documentation
15 ## and/or other materials provided with the distribution.
16 ##
17 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 ## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 ## DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23 ## SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24 ## CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 ## OF THIS 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 SNPRINTF_LIBS = $(top_builddir)/snprintf/libsnprintf.la
36
37 AM_CFLAGS = -I$(top_srcdir)/src $(GETOPT_CFLAGS) $(HDF5_CFLAGS) $(ZLIB_CFLAGS) \
38 $(LT_CFLAGS)
39 AM_LDFLAGS = $(LT_LDFLAGS) $(FCLDFLAGS)
40
41 bin_PROGRAMS = matdump
42
43 matdump_SOURCES = matdump.c
44 matdump_LDADD = $(top_builddir)/src/libmatio.la $(HDF5_LIBS) $(ZLIB_LIBS) \
45 $(GETOPT_LIBS) $(SNPRINTF_LIBS)