2014-10-20 12:50:34 +02:00
|
|
|
SUBDIRS = \
|
|
|
|
include
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/libvips/include \
|
|
|
|
-I$(top_srcdir)/cplusplus/include \
|
|
|
|
@VIPS_CFLAGS@
|
|
|
|
|
2014-11-05 15:04:46 +01:00
|
|
|
lib_LTLIBRARIES = libvips-cpp.la
|
2014-10-20 12:50:34 +02:00
|
|
|
|
2014-11-05 15:04:46 +01:00
|
|
|
libvips_cpp_la_SOURCES = \
|
|
|
|
VImage.cpp \
|
2015-01-30 22:19:58 +01:00
|
|
|
VInterpolate.cpp \
|
2022-02-24 17:34:25 +01:00
|
|
|
VRegion.cpp \
|
2019-12-30 18:49:41 +01:00
|
|
|
VConnection.cpp \
|
2014-11-05 15:04:46 +01:00
|
|
|
VError.cpp
|
2014-10-20 12:50:34 +02:00
|
|
|
|
2014-11-05 15:04:46 +01:00
|
|
|
libvips_cpp_la_LDFLAGS = \
|
2014-10-20 12:50:34 +02:00
|
|
|
-no-undefined \
|
|
|
|
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
|
|
|
|
|
2014-11-05 15:04:46 +01:00
|
|
|
libvips_cpp_la_LIBADD = \
|
2014-10-20 12:50:34 +02:00
|
|
|
$(top_builddir)/libvips/libvips.la @VIPS_LIBS@
|
|
|
|
|
2014-11-05 15:04:46 +01:00
|
|
|
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; \
|
2019-02-03 12:13:04 +01:00
|
|
|
./gen-operators.py -g cpp >> vips-operators.cpp
|
2014-10-20 12:50:34 +02:00
|
|
|
|
2020-08-17 18:54:42 +02:00
|
|
|
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)
|
|
|
|
|
2021-02-12 11:27:07 +01:00
|
|
|
uninstall-htmlDATA:
|
|
|
|
rm -rf $(DESTDIR)$(htmldir)/html
|
2021-06-04 00:35:56 +02:00
|
|
|
endif
|
2021-02-12 11:27:07 +01:00
|
|
|
|
2021-10-29 20:04:42 +02:00
|
|
|
# "make tidy" to run the clang-tidy linter
|
|
|
|
.PHONY: tidy
|
|
|
|
tidy: $(libvips_cpp_la_SOURCES)
|
|
|
|
clang-tidy $^ \
|
|
|
|
-checks=clang-analyzer-*,portability-* \
|
|
|
|
-- $(AM_CPPFLAGS)
|
|
|
|
|
2014-10-27 19:17:49 +01:00
|
|
|
EXTRA_DIST = \
|
2020-09-06 18:47:46 +02:00
|
|
|
README.md \
|
2014-11-05 15:04:46 +01:00
|
|
|
vips-operators.cpp \
|
2020-08-17 18:54:42 +02:00
|
|
|
Doxyfile.in \
|
2014-11-03 13:01:53 +01:00
|
|
|
gen-operators.py
|
2021-01-02 16:04:42 +01:00
|
|
|
|