blob: 16c2caee1d10a319861b869db8f35e96cfe6e4f5 [file] [log] [blame]
# only build in the cimg dir if C++ is enabled
if ENABLE_CXX
C_COMPILE_DIR = cimg
C_DIST_DIR =
C_LIB = cimg/libcimg.la
else
C_COMPILE_DIR =
C_DIST_DIR = cimg
C_LIB =
endif
SUBDIRS = \
include \
acquire \
arithmetic \
resample \
boolean \
colour \
conversion \
deprecated \
convolution \
$(C_COMPILE_DIR) \
format \
freq_filt \
histograms_lut \
inplace \
iofuncs \
mask \
morphology \
mosaicing \
other \
relational \
video \
.
lib_LTLIBRARIES = libvips.la
libvips_la_SOURCES = dummy.c
if ENABLE_CXX
libvips_la_SOURCES += dummy2.cc
endif
# DLLs need dependant libs there too ... put @VIPS_LIBS@ at the end
libvips_la_LIBADD = \
acquire/libacquire.la \
resample/libresample.la \
arithmetic/libarithmetic.la \
boolean/libboolean.la \
colour/libcolour.la \
conversion/libconversion.la \
convolution/libconvolution.la \
deprecated/libdeprecated.la \
$(C_LIB) \
format/libformat.la \
freq_filt/libfreq_filt.la \
histograms_lut/libhistograms_lut.la \
inplace/libinplace.la \
iofuncs/libiofuncs.la \
mask/libmask.la \
morphology/libmorphology.la \
mosaicing/libmosaicing.la \
other/libother.la \
relational/librelational.la \
video/libvideo.la \
@VIPS_LIBS@
if ENABLE_CXX
libvips_la_LIBADD += @VIPS_CXX_LIBS@
endif
libvips_la_LDFLAGS = \
-no-undefined \
-version-info @LIBRARY_CURRENT@:@LIBRARY_REVISION@:@LIBRARY_AGE@
EXTRA_DIST = \
$(C_DIST_DIR)