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

Last change on this file since 2812 was 2812, checked in by Sam Hocevar, 12 years ago
  • Add a scale parameter to pipi_dither_ordered_ext().
  • Reimplement pipi_dither_halftone() using pipi_dither_ordered_ext().
File size: 1.7 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        pipi_template.h \
20        context.c \
21        pixels.c \
22        codec.c \
23        stock.c \
24        colorstring.c \
25        resize.c \
26        dither.c \
27        measure.c \
28        $(codec_sources) \
29        $(paint_sources) \
30        $(render_sources) \
31        $(combine_sources) \
32        $(filter_sources) \
33        $(quantize_sources) \
34        $(dither_sources) \
35        $(histogram_sources) \
36        $(NULL)
37libpipi_la_CFLAGS = $(codec_cflags)
38libpipi_la_LDFLAGS = $(codec_libs) \
39        -no-undefined -version-number @LT_VERSION@
40
41# Conditional sources
42codec_cflags =
43codec_libs =
44codec_sources =
45
46# Submodules
47paint_sources = \
48        paint/floodfill.c \
49        paint/line.c \
50        paint/bezier.c \
51        paint/tile.c
52
53render_sources = \
54        render/noise.c \
55        render/screen.c
56
57combine_sources = \
58        combine/rgb.c \
59        combine/mean.c \
60        combine/minmax.c \
61        combine/subadd.c \
62        combine/mulscreen.c
63
64filter_sources = \
65        filter/autocontrast.c \
66        filter/blur.c \
67        filter/convolution.c \
68        filter/color.c \
69        filter/transform.c \
70        filter/median.c \
71        filter/dilate.c
72
73quantize_sources = \
74        quantize/reduce.c
75
76dither_sources = \
77        dither/ediff.c \
78        dither/ordered.c \
79        dither/ostromoukhov.c \
80        dither/dbs.c \
81        dither/random.c
82
83histogram_sources = \
84        histogram/histogram.c
85
86if USE_SDL
87codec_cflags += `sdl-config --cflags`
88codec_libs += `sdl-config --libs` -lSDL_image
89codec_sources += codec/sdl.c
90endif
91
92if USE_IMLIB2
93codec_cflags += @IMLIB2_CFLAGS@
94codec_libs += @IMLIB2_LIBS@
95codec_sources += codec/imlib.c
96endif
97
98if USE_OPENCV
99codec_cflags += @OPENCV_CFLAGS@
100codec_libs += @OPENCV_LIBS@
101codec_sources += codec/opencv.c
102endif
103
Note: See TracBrowser for help on using the repository browser.