| Revision 2842,
1.8 KB
checked in by sam, 5 years ago
(diff) |
|
Wrote an Oric hires file parser.
|
| 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 | # Submodules |
|---|
| 43 | |
|---|
| 44 | codec_cflags = |
|---|
| 45 | codec_libs = |
|---|
| 46 | codec_sources = \ |
|---|
| 47 | codec/oric.c |
|---|
| 48 | |
|---|
| 49 | paint_sources = \ |
|---|
| 50 | paint/floodfill.c \ |
|---|
| 51 | paint/line.c \ |
|---|
| 52 | paint/bezier.c \ |
|---|
| 53 | paint/tile.c |
|---|
| 54 | |
|---|
| 55 | render_sources = \ |
|---|
| 56 | render/noise.c \ |
|---|
| 57 | render/screen.c |
|---|
| 58 | |
|---|
| 59 | combine_sources = \ |
|---|
| 60 | combine/rgb.c \ |
|---|
| 61 | combine/mean.c \ |
|---|
| 62 | combine/minmax.c \ |
|---|
| 63 | combine/subadd.c \ |
|---|
| 64 | combine/mulscreen.c |
|---|
| 65 | |
|---|
| 66 | filter_sources = \ |
|---|
| 67 | filter/autocontrast.c \ |
|---|
| 68 | filter/blur.c \ |
|---|
| 69 | filter/convolution.c \ |
|---|
| 70 | filter/color.c \ |
|---|
| 71 | filter/transform.c \ |
|---|
| 72 | filter/median.c \ |
|---|
| 73 | filter/dilate.c |
|---|
| 74 | |
|---|
| 75 | quantize_sources = \ |
|---|
| 76 | quantize/reduce.c |
|---|
| 77 | |
|---|
| 78 | dither_sources = \ |
|---|
| 79 | dither/ediff.c \ |
|---|
| 80 | dither/ordered.c \ |
|---|
| 81 | dither/ostromoukhov.c \ |
|---|
| 82 | dither/dbs.c \ |
|---|
| 83 | dither/random.c |
|---|
| 84 | |
|---|
| 85 | histogram_sources = \ |
|---|
| 86 | histogram/histogram.c |
|---|
| 87 | |
|---|
| 88 | # Conditional sources |
|---|
| 89 | |
|---|
| 90 | if USE_SDL |
|---|
| 91 | codec_cflags += `sdl-config --cflags` |
|---|
| 92 | codec_libs += `sdl-config --libs` -lSDL_image |
|---|
| 93 | codec_sources += codec/sdl.c |
|---|
| 94 | endif |
|---|
| 95 | |
|---|
| 96 | if USE_IMLIB2 |
|---|
| 97 | codec_cflags += @IMLIB2_CFLAGS@ |
|---|
| 98 | codec_libs += @IMLIB2_LIBS@ |
|---|
| 99 | codec_sources += codec/imlib.c |
|---|
| 100 | endif |
|---|
| 101 | |
|---|
| 102 | if USE_OPENCV |
|---|
| 103 | codec_cflags += @OPENCV_CFLAGS@ |
|---|
| 104 | codec_libs += @OPENCV_LIBS@ |
|---|
| 105 | codec_sources += codec/opencv.c |
|---|
| 106 | endif |
|---|
| 107 | |
|---|
| 108 | if USE_GDI |
|---|
| 109 | codec_libs += -lgdi32 |
|---|
| 110 | codec_sources += codec/gdi.c |
|---|
| 111 | endif |
|---|
| 112 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.