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

Last change on this file since 2671 was 2671, checked in by Sam Hocevar, 14 years ago
  • random.c: implement random dithering using a deterministic pseudo-RNG.
File size: 1.0 KB
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        filter/convolution.c \
33        dither/floydsteinberg.c \
34        dither/ordered.c \
35        dither/ostromoukhov.c \
36        dither/dbs.c \
37        dither/random.c \
38        $(NULL)
39libpipi_la_CFLAGS = $(codec_cflags)
40libpipi_la_LDFLAGS = $(codec_libs) \
41        -no-undefined -version-number @LT_VERSION@
42
43if USE_SDL
44codec_cflags += `sdl-config --cflags`
45codec_libs += `sdl-config --libs` -lSDL_image
46codec_sources += codec/sdl.c
47endif
48
49if USE_IMLIB2
50codec_cflags += @IMLIB2_CFLAGS@
51codec_libs += @IMLIB2_LIBS@
52codec_sources += codec/imlib.c
53endif
54
55if USE_OPENCV
56codec_cflags += @OPENCV_CFLAGS@
57codec_libs += @OPENCV_LIBS@
58codec_sources += codec/opencv.c
59endif
60
Note: See TracBrowser for help on using the repository browser.