| 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 |
ACLOCAL_AMFLAGS = -I config |
| 31 |
|
| 32 |
datadir = $(prefix)/share/matio |
| 33 |
VS_FILES = visual_studio/libmatio/libmatio.vcproj \ |
| 34 |
visual_studio/libmatio/libmatio.vcxproj \ |
| 35 |
visual_studio/libmatio/libmatio.vcxproj.filters \ |
| 36 |
visual_studio/matdump/matdump.vcproj \ |
| 37 |
visual_studio/matdump/matdump.vcxproj \ |
| 38 |
visual_studio/matdump/matdump.vcxproj.filters \ |
| 39 |
visual_studio/test_mat/test_mat.vcxproj \ |
| 40 |
visual_studio/test_mat/test_mat.vcxproj.filters \ |
| 41 |
visual_studio/matio.def \ |
| 42 |
visual_studio/matio_vs2008.sln \ |
| 43 |
visual_studio/matio.sln \ |
| 44 |
visual_studio/matioConfig.h \ |
| 45 |
visual_studio/matio_pubconf.h \ |
| 46 |
visual_studio/matio.rc \ |
| 47 |
visual_studio/stdint_msvc.h |
| 48 |
|
| 49 |
CMAKE_FILES = CMakeLists.txt \ |
| 50 |
conanfile.py \ |
| 51 |
cmake/compilerOptions.cmake \ |
| 52 |
cmake/conan.cmake \ |
| 53 |
cmake/conan_provider.cmake \ |
| 54 |
cmake/getopt.cmake \ |
| 55 |
cmake/options.cmake \ |
| 56 |
cmake/src.cmake \ |
| 57 |
cmake/staticAnalyzers.cmake \ |
| 58 |
cmake/test.cmake \ |
| 59 |
cmake/thirdParties.cmake \ |
| 60 |
cmake/tools.cmake \ |
| 61 |
cmake/matio_pubconf.cmake.in \ |
| 62 |
cmake/matioConfig.cmake.in |
| 63 |
|
| 64 |
EXTRA_DIST = matio.pc.in \ |
| 65 |
autogen.sh \ |
| 66 |
share/test_file.mat \ |
| 67 |
share/test_file_v6.mat \ |
| 68 |
share/test_file_hdf5.mat \ |
| 69 |
$(CMAKE_FILES) \ |
| 70 |
$(VS_FILES) |
| 71 |
|
| 72 |
pkgconfigdir = $(libdir)/pkgconfig |
| 73 |
pkgconfig_DATA = matio.pc |
| 74 |
$(pkgconfig_DATA): config.status |
| 75 |
|
| 76 |
if NEED_GETOPT |
| 77 |
GETOPT = getopt |
| 78 |
endif |
| 79 |
|
| 80 |
SUBDIRS = snprintf src $(GETOPT) tools test documentation |
| 81 |
|
| 82 |
dosubst = sed -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ |
| 83 |
-e 's,[@]VERSION[@],$(VERSION),g' \ |
| 84 |
-e 's,\/,\\,g' |
| 85 |
|
| 86 |
doc: |
| 87 |
|
| 88 |
|
| 89 |
print: |
| 90 |
subdirs='$(SUBDIRS)'; \ |
| 91 |
here=`pwd`;\ |
| 92 |
for f in $$subdirs; do \ |
| 93 |
cd $$f; \ |
| 94 |
make print;\ |
| 95 |
cd $$here;\ |
| 96 |
done |