# $Id$ EXTRA_DIST = pipi.pc.in DISTCLEANFILES = pipi.pc AM_CPPFLAGS = -I$(top_srcdir) pkgconfig_DATA = pipi.pc pkgconfigdir = $(libdir)/pkgconfig include_HEADERS = pipi.h # Conditional sources codec_cflags = codec_libs = codec_sources = # The main library lib_LTLIBRARIES = libpipi.la libpipi_la_SOURCES = \ pipi.c \ pipi.h \ pipi_internals.h \ pixels.c \ codec.c \ resize.c \ dither.c \ test.c \ $(codec_sources) \ filter/blur.c \ $(NULL) libpipi_la_CFLAGS = $(codec_cflags) libpipi_la_LDFLAGS = $(codec_libs) \ -no-undefined -version-number @LT_VERSION@ if USE_SDL codec_cflags += `sdl-config --cflags` codec_libs += `sdl-config --libs` -lSDL_image codec_sources += codec/sdl.c endif if USE_IMLIB2 codec_cflags += @IMLIB2_CFLAGS@ codec_libs += @IMLIB2_LIBS@ codec_sources += codec/imlib.c endif if USE_OPENCV codec_cflags += `opencv-config --cflags` codec_libs += `opencv-config --libs opencv highgui` codec_sources += codec/opencv.c endif