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

Last change on this file since 2709 was 2708, checked in by Sam Hocevar, 15 years ago
  • subadd.c: add pipi_sub() and pipi_add() as another way to combine two images.
File size: 1.3 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        fill/floodfill.c \
27        $(codec_sources) \
28        $(combine_sources) \
29        $(filter_sources) \
30        $(dither_sources) \
31        $(NULL)
32libpipi_la_CFLAGS = $(codec_cflags)
33libpipi_la_LDFLAGS = $(codec_libs) \
34        -no-undefined -version-number @LT_VERSION@
35
36# Conditional sources
37codec_cflags =
38codec_libs =
39codec_sources =
40
41# Submodules
42combine_sources = \
43        combine/mean.c \
44        combine/minmax.c \
45        combine/subadd.c
46
47filter_sources = \
48        filter/autocontrast.c \
49        filter/blur.c \
50        filter/convolution.c \
51        filter/convolution.h
52
53dither_sources = \
54        dither/floydsteinberg.c \
55        dither/jajuni.c \
56        dither/ordered.c \
57        dither/ostromoukhov.c \
58        dither/dbs.c \
59        dither/random.c
60
61if USE_SDL
62codec_cflags += `sdl-config --cflags`
63codec_libs += `sdl-config --libs` -lSDL_image
64codec_sources += codec/sdl.c
65endif
66
67if USE_IMLIB2
68codec_cflags += @IMLIB2_CFLAGS@
69codec_libs += @IMLIB2_LIBS@
70codec_sources += codec/imlib.c
71endif
72
73if USE_OPENCV
74codec_cflags += @OPENCV_CFLAGS@
75codec_libs += @OPENCV_LIBS@
76codec_sources += codec/opencv.c
77endif
78
Note: See TracBrowser for help on using the repository browser.