2009-11-10 14:54:15 +01:00
|
|
|
SUBDIRS = \
|
|
|
|
include
|
|
|
|
|
2013-01-23 11:17:51 +01:00
|
|
|
AM_CPPFLAGS = \
|
2009-08-16 17:00:08 +02:00
|
|
|
-I$(top_srcdir)/libvips/include \
|
|
|
|
-I$(top_srcdir)/libvipsCC/include \
|
|
|
|
@VIPS_CFLAGS@
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libvipsCC.la
|
|
|
|
|
|
|
|
libvipsCC_la_SOURCES = \
|
|
|
|
VImage.cc \
|
|
|
|
VError.cc \
|
|
|
|
VDisplay.cc \
|
|
|
|
VMask.cc
|
|
|
|
|
|
|
|
libvipsCC_la_LDFLAGS = \
|
|
|
|
-no-undefined \
|
|
|
|
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
|
|
|
|
|
|
|
|
libvipsCC_la_LIBADD = \
|
|
|
|
$(top_builddir)/libvips/libvips.la @VIPS_LIBS@
|
|
|
|
|
2010-01-13 13:30:50 +01:00
|
|
|
# swap the 'awk' line for this:
|
|
|
|
# awk '{if($$1!="deprecated") print $$1}'` ; \
|
|
|
|
# to not generate the wrappers for deprecated functions
|
2009-08-16 17:00:08 +02:00
|
|
|
vipsc++.cc:
|
2012-02-06 13:05:45 +01:00
|
|
|
packages=`vips list packages | \
|
2010-01-13 13:30:50 +01:00
|
|
|
awk '{print $$1}'` ; \
|
2009-11-13 13:01:36 +01:00
|
|
|
echo > vipsc++.cc ; \
|
|
|
|
for name in $$packages; do \
|
|
|
|
echo "// bodies for package $$name" >> vipsc++.cc ; \
|
2012-02-06 13:05:45 +01:00
|
|
|
vips cppc $$name >> vipsc++.cc ; \
|
2009-11-13 13:01:36 +01:00
|
|
|
echo >> vipsc++.cc ; \
|
|
|
|
done
|
2009-08-16 17:00:08 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = vipsc++.cc
|