Debian Codegraph @

matio-1.5.0/src/Makefile.am

raw
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ##
3 ## Copyright (C) 2005-2012 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 LT_CURRENT=2
31 LT_REVISION=0
32 LT_AGE=0
33
34 AM_CFLAGS = -I. $(HDF5_CFLAGS) $(ZLIB_CFLAGS) $(LT_CFLAGS)
35 AM_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LT_LDFLAGS)
36
37 if HAVE_ZLIB
38 ZLIB_SRC = inflate.c
39 endif
40
41 nodist_noinst_HEADERS = matioConfig.h
42 nodist_include_HEADERS = matio_pubconf.h
43 include_HEADERS = matio.h
44 noinst_HEADERS = matio_private.h mat4.h mat5.h mat73.h
45 lib_LTLIBRARIES = libmatio.la
46 libmatio_la_SOURCES = snprintf.c endian.c io.c $(ZLIB_SRC) read_data.c \
47 mat5.c mat4.c mat.c matvar_cell.c matvar_struct.c
48 libmatio_la_LIBADD = $(ZLIB_LIBS)
49
50 if MAT73
51 libmatio_la_SOURCES+= mat73.c
52 endif
53
54 dosubst = sed -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
55 -e 's,[@]VERSION[@],$(VERSION),g' \
56 -e 's,\/,\\,g'
57
58 doc:
59
60
61 print:
62 @list='$(libmatio_a_SOURCES)'; \
63 rm -f libmatio.ps; \
64 curdir=`pwd`; \
65 cd $(srcdir); \
66 for f in $$list; do \
67 enscript -2 -G -r -Ec --color -o - $$f >> $$curdir/libmatio.ps;\
68 done; \
69 cd $$curdir