source:
libpipi/trunk/pipi/Makefile.am
@
2842
| Revision 2842, 1.8 KB checked in by sam, 5 years ago (diff) |
|---|
| Rev | Line | |
|---|---|---|
| [2227] | 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 | ||
| [2261] | 13 | # The main library |
| [2227] | 14 | lib_LTLIBRARIES = libpipi.la |
| 15 | libpipi_la_SOURCES = \ | |
| 16 | pipi.c \ | |
| 17 | pipi.h \ | |
| [2228] | 18 | pipi_internals.h \ |
| [2793] | 19 | pipi_template.h \ |
| [2692] | 20 | context.c \ |
| [2228] | 21 | pixels.c \ |
| [2261] | 22 | codec.c \ |
| [2695] | 23 | stock.c \ |
| [2810] | 24 | colorstring.c \ |
| [2244] | 25 | resize.c \ |
| [2263] | 26 | dither.c \ |
| [2635] | 27 | measure.c \ |
| [2814] | 28 | accessors.c \ |
| [2261] | 29 | $(codec_sources) \ |
| [2717] | 30 | $(paint_sources) \ |
| [2765] | 31 | $(render_sources) \ |
| [2705] | 32 | $(combine_sources) \ |
| [2679] | 33 | $(filter_sources) \ |
| [2736] | 34 | $(quantize_sources) \ |
| [2679] | 35 | $(dither_sources) \ |
| [2809] | 36 | $(histogram_sources) \ |
| [2679] | 37 | $(NULL) |
| 38 | libpipi_la_CFLAGS = $(codec_cflags) | |
| 39 | libpipi_la_LDFLAGS = $(codec_libs) \ | |
| 40 | -no-undefined -version-number @LT_VERSION@ | |
| 41 | ||
| [2842] | 42 | # Submodules |
| 43 | ||
| [2679] | 44 | codec_cflags = |
| 45 | codec_libs = | |
| [2842] | 46 | codec_sources = \ |
| 47 | codec/oric.c | |
| [2679] | 48 | |
| [2717] | 49 | paint_sources = \ |
| 50 | paint/floodfill.c \ | |
| [2798] | 51 | paint/line.c \ |
| [2788] | 52 | paint/bezier.c \ |
| [2717] | 53 | paint/tile.c |
| 54 | ||
| [2765] | 55 | render_sources = \ |
| 56 | render/noise.c \ | |
| 57 | render/screen.c | |
| 58 | ||
| [2705] | 59 | combine_sources = \ |
| [2753] | 60 | combine/rgb.c \ |
| [2706] | 61 | combine/mean.c \ |
| [2708] | 62 | combine/minmax.c \ |
| [2711] | 63 | combine/subadd.c \ |
| 64 | combine/mulscreen.c | |
| [2705] | 65 | |
| [2679] | 66 | filter_sources = \ |
| [2680] | 67 | filter/autocontrast.c \ |
| [2603] | 68 | filter/blur.c \ |
| [2793] | 69 | filter/convolution.c \ |
| [2744] | 70 | filter/color.c \ |
| [2749] | 71 | filter/transform.c \ |
| [2746] | 72 | filter/median.c \ |
| 73 | filter/dilate.c | |
| [2679] | 74 | |
| [2736] | 75 | quantize_sources = \ |
| 76 | quantize/reduce.c | |
| 77 | ||
| [2679] | 78 | dither_sources = \ |
| [2758] | 79 | dither/ediff.c \ |
| [2665] | 80 | dither/ordered.c \ |
| [2654] | 81 | dither/ostromoukhov.c \ |
| [2651] | 82 | dither/dbs.c \ |
| [2679] | 83 | dither/random.c |
| [2227] | 84 | |
| [2809] | 85 | histogram_sources = \ |
| 86 | histogram/histogram.c | |
| 87 | ||
| [2842] | 88 | # Conditional sources |
| 89 | ||
| [2228] | 90 | if USE_SDL |
| [2261] | 91 | codec_cflags += `sdl-config --cflags` |
| 92 | codec_libs += `sdl-config --libs` -lSDL_image | |
| 93 | codec_sources += codec/sdl.c | |
| 94 | endif | |
| 95 | ||
| [2228] | 96 | if USE_IMLIB2 |
| [2261] | 97 | codec_cflags += @IMLIB2_CFLAGS@ |
| 98 | codec_libs += @IMLIB2_LIBS@ | |
| 99 | codec_sources += codec/imlib.c | |
| 100 | endif | |
| 101 | ||
| [2228] | 102 | if USE_OPENCV |
| [2628] | 103 | codec_cflags += @OPENCV_CFLAGS@ |
| 104 | codec_libs += @OPENCV_LIBS@ | |
| [2261] | 105 | codec_sources += codec/opencv.c |
| [2228] | 106 | endif |
| 107 | ||
| [2839] | 108 | if USE_GDI |
| [2840] | 109 | codec_libs += -lgdi32 |
| [2839] | 110 | codec_sources += codec/gdi.c |
| 111 | endif | |
| 112 |
Note: See TracBrowser
for help on using the repository browser.
