Debian Codegraph @

matio-1.5.0/Makefile.am

raw
1 ##
2 ## Copyright (C) 2005-2011 Christopher C. Hulbert
3 ##
4 ## All rights reserved.
5 ##
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted provided that the following conditions are met:
8 ##
9 ## 1. Redistributions of source code must retain the above copyright notice,
10 ## this list of conditions and the following disclaimer.
11 ##
12 ## 2. Redistributions in binary form must reproduce the above copyright
13 ## notice, this list of conditions and the following disclaimer in the
14 ## documentation and/or other materials provided with the distribution.
15 ##
16 ## THIS SOFTWARE IS PROVIDED BY CHRISTOPHER C. HULBERT ``AS IS'' AND ANY EXPRESS
17 ## OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 ## OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19 ## EVENT SHALL CHRISTOPHER C. HULBERT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
20 ## INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 ## (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 ## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 ## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ##
27 VPATH = @srcdir@
28
29 ACLOCAL_AMFLAGS = -I config
30
31 datadir = $(prefix)/share/matio
32 VS_FILES = visual_studio/libmatio/libmatio.vcproj \
33 visual_studio/matdump/matdump.vcproj \
34 visual_studio/matio.def \
35 visual_studio/matio.sln \
36 visual_studio/matioConfig.h \
37 visual_studio/matio_pubconf.h
38
39 EXTRA_DIST = matio.pc.in autogen.sh patches/inflate.patch \
40 share/test_file.mat share/test_file_v6.mat $(VS_FILES)
41
42 pkgconfigdir = $(libdir)/pkgconfig
43 pkgconfig_DATA = matio.pc
44 $(pkgconfig_DATA): config.status
45
46 if NEED_GETOPT
47 GETOPT=getopt
48 endif
49
50 SUBDIRS = src $(GETOPT) tools test documentation
51
52 dosubst = sed -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
53 -e 's,[@]VERSION[@],$(VERSION),g' \
54 -e 's,\/,\\,g'
55
56 doc:
57
58
59 print:
60 subdirs='$(SUBDIRS)'; \
61 here=`pwd`;\
62 for f in $$subdirs; do \
63 cd $$f; \
64 make print;\
65 cd $$here;\
66 done