source: libpipi/trunk/pipi/Makefile.am @ 2603

Last change on this file since 2603 was 2603, checked in by Sam Hocevar, 14 years ago
  • Test implementation of Gaussian blurring. It's awfully slow and does not use the separation property, but it's just for a test.
File size: 964 bytes
Line 
1# $Id$
2
3EXTRA_DIST = pipi.pc.in
4DISTCLEANFILES = pipi.pc
5
6AM_CPPFLAGS = -I$(top_srcdir)
7
8pkgconfig_DATA = pipi.pc
9pkgconfigdir = $(libdir)/pkgconfig
10
11include_HEADERS = pipi.h
12
13# Conditional sources
14codec_cflags =
15codec_libs =
16codec_sources =
17
18# The main library
19lib_LTLIBRARIES = libpipi.la
20libpipi_la_SOURCES = \
21        pipi.c \
22        pipi.h \
23        pipi_internals.h \
24        pixels.c \
25        codec.c \
26        resize.c \
27        dither.c \
28        test.c \
29        $(codec_sources) \
30        filter/blur.c \
31        $(NULL)
32libpipi_la_CFLAGS = $(codec_cflags)
33libpipi_la_LDFLAGS = $(codec_libs) \
34        -no-undefined -version-number @LT_VERSION@
35
36if USE_SDL
37codec_cflags += `sdl-config --cflags`
38codec_libs += `sdl-config --libs` -lSDL_image
39codec_sources += codec/sdl.c
40endif
41
42if USE_IMLIB2
43codec_cflags += @IMLIB2_CFLAGS@
44codec_libs += @IMLIB2_LIBS@
45codec_sources += codec/imlib.c
46endif
47
48if USE_OPENCV
49codec_cflags += `opencv-config --cflags`
50codec_libs += `opencv-config --libs opencv highgui`
51codec_sources += codec/opencv.c
52endif
53
Note: See TracBrowser for help on using the repository browser.