# $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 lib_LTLIBRARIES = libpipi.la libpipi_la_SOURCES = \ pipi.c \ pipi.h \ pipi_internals.h \ io.c \ pixels.c \ resize.c \ $(NULL) libpipi_la_CFLAGS = $(CFLAGS_EXTRA) libpipi_la_LDFLAGS = $(LDFLAGS_EXTRA) \ -no-undefined -version-number @LT_VERSION@ if USE_SDL CFLAGS_EXTRA = `sdl-config --cflags` LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image else if USE_IMLIB2 CFLAGS_EXTRA = @IMLIB2_CFLAGS@ LDFLAGS_EXTRA = @IMLIB2_LIBS@ else if USE_OPENCV CFLAGS_EXTRA = `opencv-config --cflags` LDFLAGS_EXTRA = `opencv-config --libs opencv highgui` endif endif endif