forked from libvips/libvips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
61 lines (47 loc) · 1.23 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SUBDIRS = \
include
AM_CPPFLAGS = \
-I$(top_srcdir)/libvips/include \
-I$(top_srcdir)/cplusplus/include \
@VIPS_CFLAGS@
lib_LTLIBRARIES = libvips-cpp.la
libvips_cpp_la_SOURCES = \
VImage.cpp \
VInterpolate.cpp \
VRegion.cpp \
VConnection.cpp \
VError.cpp
libvips_cpp_la_LDFLAGS = \
-no-undefined \
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
libvips_cpp_la_LIBADD = \
$(top_builddir)/libvips/libvips.la @VIPS_LIBS@
vips-operators.cpp:
echo "// bodies for vips operations" > vips-operators.cpp; \
echo -n "// " >> vips-operators.cpp; \
date >> vips-operators.cpp; \
echo "// this file is generated automatically, do not edit!" >> vips-operators.cpp; \
./gen-operators.py -g cpp >> vips-operators.cpp
if HAVE_DOXYGEN
html_DATA = html
html: doxygen.stamp
doxygen.stamp: Doxyfile
$(DOXYGEN) $^
touch doxygen.stamp
install-htmlDATA:
-mkdir -p $(DESTDIR)$(htmldir)
-cp -r html $(DESTDIR)$(htmldir)
uninstall-htmlDATA:
rm -rf $(DESTDIR)$(htmldir)/html
endif
# "make tidy" to run the clang-tidy linter
.PHONY: tidy
tidy: $(libvips_cpp_la_SOURCES)
clang-tidy $^ \
-checks=clang-analyzer-*,portability-* \
-- $(AM_CPPFLAGS)
EXTRA_DIST = \
README.md \
vips-operators.cpp \
Doxyfile.in \
gen-operators.py