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

Last change on this file since 2753 was 2753, checked in by Sam Hocevar, 14 years ago
  • rgb.c: implement pipi_rgb(), to combine three RGB channels.
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/rgb.c \
49        combine/mean.c \
50        combine/minmax.c \
51        combine/subadd.c \
52        combine/mulscreen.c
53
54filter_sources = \
55        filter/autocontrast.c \
56        filter/blur.c \
57        filter/convolution.c filter/convolution_template.h \
58        filter/color.c \
59        filter/transform.c \
60        filter/median.c \
61        filter/dilate.c
62
63quantize_sources = \
64        quantize/reduce.c
65
66dither_sources = \
67        dither/floydsteinberg.c \
68        dither/jajuni.c \
69        dither/atkinson.c \
70        dither/ordered.c \
71        dither/ostromoukhov.c \
72        dither/dbs.c \
73        dither/random.c
74
75if USE_SDL
76codec_cflags += `sdl-config --cflags`
77codec_libs += `sdl-config --libs` -lSDL_image
78codec_sources += codec/sdl.c
79endif
80
81if USE_IMLIB2
82codec_cflags += @IMLIB2_CFLAGS@
83codec_libs += @IMLIB2_LIBS@
84codec_sources += codec/imlib.c
85endif
86
87if USE_OPENCV
88codec_cflags += @OPENCV_CFLAGS@
89codec_libs += @OPENCV_LIBS@
90codec_sources += codec/opencv.c
91endif
92
Note: See TracBrowser for help on using the repository browser.