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

Last change on this file since 2809 was 2809, checked in by jylam, 6 years ago
  • Preliminary image histogram routines and example
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        resize.c \
25        dither.c \
26        measure.c \
27        $(codec_sources) \
28        $(paint_sources) \
29        $(render_sources) \
30        $(combine_sources) \
31        $(filter_sources) \
32        $(quantize_sources) \
33        $(dither_sources) \
34        $(histogram_sources) \
35        $(NULL)
36libpipi_la_CFLAGS = $(codec_cflags)
37libpipi_la_LDFLAGS = $(codec_libs) \
38        -no-undefined -version-number @LT_VERSION@
39
40# Conditional sources
41codec_cflags =
42codec_libs =
43codec_sources =
44
45# Submodules
46paint_sources = \
47        paint/floodfill.c \
48        paint/line.c \
49        paint/bezier.c \
50        paint/tile.c
51
52render_sources = \
53        render/noise.c \
54        render/screen.c
55
56combine_sources = \
57        combine/rgb.c \
58        combine/mean.c \
59        combine/minmax.c \
60        combine/subadd.c \
61        combine/mulscreen.c
62
63filter_sources = \
64        filter/autocontrast.c \
65        filter/blur.c \
66        filter/convolution.c \
67        filter/color.c \
68        filter/transform.c \
69        filter/median.c \
70        filter/dilate.c
71
72quantize_sources = \
73        quantize/reduce.c
74
75dither_sources = \
76        dither/ediff.c \
77        dither/ordered.c \
78        dither/halftone.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.