| Revision 2749,
1.6 KB
checked in by sam, 5 years ago
(diff) |
- Implement pipi_vflip() and pipi_hflip().
|
| 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 | $(codec_sources) \ |
|---|
| 27 | $(paint_sources) \ |
|---|
| 28 | $(combine_sources) \ |
|---|
| 29 | $(filter_sources) \ |
|---|
| 30 | $(quantize_sources) \ |
|---|
| 31 | $(dither_sources) \ |
|---|
| 32 | $(NULL) |
|---|
| 33 | libpipi_la_CFLAGS = $(codec_cflags) |
|---|
| 34 | libpipi_la_LDFLAGS = $(codec_libs) \ |
|---|
| 35 | -no-undefined -version-number @LT_VERSION@ |
|---|
| 36 | |
|---|
| 37 | # Conditional sources |
|---|
| 38 | codec_cflags = |
|---|
| 39 | codec_libs = |
|---|
| 40 | codec_sources = |
|---|
| 41 | |
|---|
| 42 | # Submodules |
|---|
| 43 | paint_sources = \ |
|---|
| 44 | paint/floodfill.c \ |
|---|
| 45 | paint/tile.c |
|---|
| 46 | |
|---|
| 47 | combine_sources = \ |
|---|
| 48 | combine/mean.c \ |
|---|
| 49 | combine/minmax.c \ |
|---|
| 50 | combine/subadd.c \ |
|---|
| 51 | combine/mulscreen.c |
|---|
| 52 | |
|---|
| 53 | filter_sources = \ |
|---|
| 54 | filter/autocontrast.c \ |
|---|
| 55 | filter/blur.c \ |
|---|
| 56 | filter/convolution.c filter/convolution_template.h \ |
|---|
| 57 | filter/color.c \ |
|---|
| 58 | filter/transform.c \ |
|---|
| 59 | filter/median.c \ |
|---|
| 60 | filter/dilate.c |
|---|
| 61 | |
|---|
| 62 | quantize_sources = \ |
|---|
| 63 | quantize/reduce.c |
|---|
| 64 | |
|---|
| 65 | dither_sources = \ |
|---|
| 66 | dither/floydsteinberg.c \ |
|---|
| 67 | dither/jajuni.c \ |
|---|
| 68 | dither/ordered.c \ |
|---|
| 69 | dither/ostromoukhov.c \ |
|---|
| 70 | dither/dbs.c \ |
|---|
| 71 | dither/random.c |
|---|
| 72 | |
|---|
| 73 | if USE_SDL |
|---|
| 74 | codec_cflags += `sdl-config --cflags` |
|---|
| 75 | codec_libs += `sdl-config --libs` -lSDL_image |
|---|
| 76 | codec_sources += codec/sdl.c |
|---|
| 77 | endif |
|---|
| 78 | |
|---|
| 79 | if USE_IMLIB2 |
|---|
| 80 | codec_cflags += @IMLIB2_CFLAGS@ |
|---|
| 81 | codec_libs += @IMLIB2_LIBS@ |
|---|
| 82 | codec_sources += codec/imlib.c |
|---|
| 83 | endif |
|---|
| 84 | |
|---|
| 85 | if USE_OPENCV |
|---|
| 86 | codec_cflags += @OPENCV_CFLAGS@ |
|---|
| 87 | codec_libs += @OPENCV_LIBS@ |
|---|
| 88 | codec_sources += codec/opencv.c |
|---|
| 89 | endif |
|---|
| 90 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.