36 lines
826 B
Makefile
36 lines
826 B
Makefile
SUBDIRS = \
|
|
include
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/libvips/include \
|
|
-I$(top_srcdir)/cplusplus/include \
|
|
@VIPS_CFLAGS@
|
|
|
|
lib_LTLIBRARIES = libvips-cc.la
|
|
|
|
libvipsCC_la_SOURCES = \
|
|
VImage.cc \
|
|
VError.cc
|
|
|
|
libvipsCC_la_LDFLAGS = \
|
|
-no-undefined \
|
|
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
|
|
|
|
libvipsCC_la_LIBADD = \
|
|
$(top_builddir)/libvips/libvips.la @VIPS_LIBS@
|
|
|
|
# swap the 'awk' line for this:
|
|
# awk '{if($$1!="deprecated") print $$1}'` ; \
|
|
# to not generate the wrappers for deprecated functions
|
|
vipsc++.cc:
|
|
packages=`vips list packages | \
|
|
awk '{print $$1}'` ; \
|
|
echo > vipsc++.cc ; \
|
|
for name in $$packages; do \
|
|
echo "// bodies for package $$name" >> vipsc++.cc ; \
|
|
vips cppc $$name >> vipsc++.cc ; \
|
|
echo >> vipsc++.cc ; \
|
|
done
|
|
|
|
EXTRA_DIST = vips-operators.cc
|