libvips/cplusplus/Makefile.am

62 lines
1.2 KiB
Makefile
Raw Normal View History

2014-10-20 12:50:34 +02:00
SUBDIRS = \
include
AM_CPPFLAGS = \
-I$(top_srcdir)/libvips/include \
-I$(top_srcdir)/cplusplus/include \
@VIPS_CFLAGS@
lib_LTLIBRARIES = libvips-cpp.la
2014-10-20 12:50:34 +02:00
libvips_cpp_la_SOURCES = \
VImage.cpp \
VInterpolate.cpp \
2022-02-24 17:34:25 +01:00
VRegion.cpp \
VConnection.cpp \
VError.cpp
2014-10-20 12:50:34 +02:00
libvips_cpp_la_LDFLAGS = \
2014-10-20 12:50:34 +02:00
-no-undefined \
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
libvips_cpp_la_LIBADD = \
2014-10-20 12:50:34 +02:00
$(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
2014-10-20 12:50:34 +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 \
vips-operators.cpp \
Doxyfile.in \
2014-11-03 13:01:53 +01:00
gen-operators.py