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

Last change on this file since 2751 was 2751, checked in by Sam Hocevar, 14 years ago
  • atkinson.c: implement Atkinson dithering.
File size: 1.6 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# The main library
14lib_LTLIBRARIES = libpipi.la
15libpipi_la_SOURCES = \
16        pipi.c \
17        pipi.h \
18        pipi_internals.h \
19        context.c \
20        pixels.c \
21        codec.c \
22        stock.c \
23        resize.c \
24        dither.c \
25        measure.c \
26        $(codec_sources) \
27        $(paint_sources) \
28        $(combine_sources) \
29        $(filter_sources) \
30        $(quantize_sources) \
31        $(dither_sources) \
32        $(NULL)
33libpipi_la_CFLAGS = $(codec_cflags)
34libpipi_la_LDFLAGS = $(codec_libs) \
35        -no-undefined -version-number @LT_VERSION@
36
37# Conditional sources
38codec_cflags =
39codec_libs =
40codec_sources =
41
42# Submodules
43paint_sources = \
44        paint/floodfill.c \
45        paint/tile.c
46
47combine_sources = \
48        combine/mean.c \
49        combine/minmax.c \
50        combine/subadd.c \
51        combine/mulscreen.c
52
53filter_sources = \
54        filter/autocontrast.c \
55        filter/blur.c \
56        filter/convolution.c filter/convolution_template.h \
57        filter/color.c \
58        filter/transform.c \
59        filter/median.c \
60        filter/dilate.c
61
62quantize_sources = \
63        quantize/reduce.c
64
65dither_sources = \
66        dither/floydsteinberg.c \
67        dither/jajuni.c \
68        dither/atkinson.c \
69        dither/ordered.c \
70        dither/ostromoukhov.c \
71        dither/dbs.c \
72        dither/random.c
73
74if USE_SDL
75codec_cflags += `sdl-config --cflags`
76codec_libs += `sdl-config --libs` -lSDL_image
77codec_sources += codec/sdl.c
78endif
79
80if USE_IMLIB2
81codec_cflags += @IMLIB2_CFLAGS@
82codec_libs += @IMLIB2_LIBS@
83codec_sources += codec/imlib.c
84endif
85
86if USE_OPENCV
87codec_cflags += @OPENCV_CFLAGS@
88codec_libs += @OPENCV_LIBS@
89codec_sources += codec/opencv.c
90endif
91
Note: See TracBrowser for help on using the repository browser.