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