Last change
on this file since 2814 was
2814,
checked in by Jean-Yves Lamoureux, 14 years ago
|
- Moved accessors to their own file, and added a pipi_get_format_name()
|
File size:
1.7 KB
|
Line | |
---|
1 | # $Id$ |
---|
2 | |
---|
3 | EXTRA_DIST = pipi.pc.in |
---|
4 | DISTCLEANFILES = pipi.pc |
---|
5 | |
---|
6 | AM_CPPFLAGS = -I$(top_srcdir) |
---|
7 | |
---|
8 | pkgconfig_DATA = pipi.pc |
---|
9 | pkgconfigdir = $(libdir)/pkgconfig |
---|
10 | |
---|
11 | include_HEADERS = pipi.h |
---|
12 | |
---|
13 | # The main library |
---|
14 | lib_LTLIBRARIES = libpipi.la |
---|
15 | libpipi_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 | accessors.c \ |
---|
29 | $(codec_sources) \ |
---|
30 | $(paint_sources) \ |
---|
31 | $(render_sources) \ |
---|
32 | $(combine_sources) \ |
---|
33 | $(filter_sources) \ |
---|
34 | $(quantize_sources) \ |
---|
35 | $(dither_sources) \ |
---|
36 | $(histogram_sources) \ |
---|
37 | $(NULL) |
---|
38 | libpipi_la_CFLAGS = $(codec_cflags) |
---|
39 | libpipi_la_LDFLAGS = $(codec_libs) \ |
---|
40 | -no-undefined -version-number @LT_VERSION@ |
---|
41 | |
---|
42 | # Conditional sources |
---|
43 | codec_cflags = |
---|
44 | codec_libs = |
---|
45 | codec_sources = |
---|
46 | |
---|
47 | # Submodules |
---|
48 | paint_sources = \ |
---|
49 | paint/floodfill.c \ |
---|
50 | paint/line.c \ |
---|
51 | paint/bezier.c \ |
---|
52 | paint/tile.c |
---|
53 | |
---|
54 | render_sources = \ |
---|
55 | render/noise.c \ |
---|
56 | render/screen.c |
---|
57 | |
---|
58 | combine_sources = \ |
---|
59 | combine/rgb.c \ |
---|
60 | combine/mean.c \ |
---|
61 | combine/minmax.c \ |
---|
62 | combine/subadd.c \ |
---|
63 | combine/mulscreen.c |
---|
64 | |
---|
65 | filter_sources = \ |
---|
66 | filter/autocontrast.c \ |
---|
67 | filter/blur.c \ |
---|
68 | filter/convolution.c \ |
---|
69 | filter/color.c \ |
---|
70 | filter/transform.c \ |
---|
71 | filter/median.c \ |
---|
72 | filter/dilate.c |
---|
73 | |
---|
74 | quantize_sources = \ |
---|
75 | quantize/reduce.c |
---|
76 | |
---|
77 | dither_sources = \ |
---|
78 | dither/ediff.c \ |
---|
79 | dither/ordered.c \ |
---|
80 | dither/ostromoukhov.c \ |
---|
81 | dither/dbs.c \ |
---|
82 | dither/random.c |
---|
83 | |
---|
84 | histogram_sources = \ |
---|
85 | histogram/histogram.c |
---|
86 | |
---|
87 | if USE_SDL |
---|
88 | codec_cflags += `sdl-config --cflags` |
---|
89 | codec_libs += `sdl-config --libs` -lSDL_image |
---|
90 | codec_sources += codec/sdl.c |
---|
91 | endif |
---|
92 | |
---|
93 | if USE_IMLIB2 |
---|
94 | codec_cflags += @IMLIB2_CFLAGS@ |
---|
95 | codec_libs += @IMLIB2_LIBS@ |
---|
96 | codec_sources += codec/imlib.c |
---|
97 | endif |
---|
98 | |
---|
99 | if USE_OPENCV |
---|
100 | codec_cflags += @OPENCV_CFLAGS@ |
---|
101 | codec_libs += @OPENCV_LIBS@ |
---|
102 | codec_sources += codec/opencv.c |
---|
103 | endif |
---|
104 | |
---|
Note: See
TracBrowser
for help on using the repository browser.