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

Last change on this file since 2637 was 2637, checked in by Sam Hocevar, 13 years ago
  • Add Floyd-Steinberg grayscale dithering.
File size: 971 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        measure.c \
29        test.c \
30        $(codec_sources) \
31        filter/blur.c \
32        dither/floydsteinberg.c \
33        $(NULL)
34libpipi_la_CFLAGS = $(codec_cflags)
35libpipi_la_LDFLAGS = $(codec_libs) \
36        -no-undefined -version-number @LT_VERSION@
37
38if USE_SDL
39codec_cflags += `sdl-config --cflags`
40codec_libs += `sdl-config --libs` -lSDL_image
41codec_sources += codec/sdl.c
42endif
43
44if USE_IMLIB2
45codec_cflags += @IMLIB2_CFLAGS@
46codec_libs += @IMLIB2_LIBS@
47codec_sources += codec/imlib.c
48endif
49
50if USE_OPENCV
51codec_cflags += @OPENCV_CFLAGS@
52codec_libs += @OPENCV_LIBS@
53codec_sources += codec/opencv.c
54endif
55
Note: See TracBrowser for help on using the repository browser.