You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

100 line
1.7 KiB

  1. # $Id$
  2. EXTRA_DIST = pipi.pc.in
  3. DISTCLEANFILES = pipi.pc
  4. AM_CPPFLAGS = -I$(top_srcdir)
  5. pkgconfig_DATA = pipi.pc
  6. pkgconfigdir = $(libdir)/pkgconfig
  7. include_HEADERS = pipi.h
  8. # The main library
  9. lib_LTLIBRARIES = libpipi.la
  10. libpipi_la_SOURCES = \
  11. pipi.c \
  12. pipi.h \
  13. pipi_internals.h \
  14. pipi_template.h \
  15. context.c \
  16. pixels.c \
  17. codec.c \
  18. stock.c \
  19. resize.c \
  20. dither.c \
  21. measure.c \
  22. $(codec_sources) \
  23. $(paint_sources) \
  24. $(render_sources) \
  25. $(combine_sources) \
  26. $(filter_sources) \
  27. $(quantize_sources) \
  28. $(dither_sources) \
  29. $(NULL)
  30. libpipi_la_CFLAGS = $(codec_cflags)
  31. libpipi_la_LDFLAGS = $(codec_libs) \
  32. -no-undefined -version-number @LT_VERSION@
  33. # Conditional sources
  34. codec_cflags =
  35. codec_libs =
  36. codec_sources =
  37. # Submodules
  38. paint_sources = \
  39. paint/floodfill.c \
  40. paint/line.c \
  41. paint/bezier.c \
  42. paint/tile.c
  43. render_sources = \
  44. render/noise.c \
  45. render/screen.c
  46. combine_sources = \
  47. combine/rgb.c \
  48. combine/mean.c \
  49. combine/minmax.c \
  50. combine/subadd.c \
  51. combine/mulscreen.c
  52. filter_sources = \
  53. filter/autocontrast.c \
  54. filter/blur.c \
  55. filter/convolution.c \
  56. filter/color.c \
  57. filter/transform.c \
  58. filter/median.c \
  59. filter/dilate.c
  60. quantize_sources = \
  61. quantize/reduce.c
  62. dither_sources = \
  63. dither/ediff.c \
  64. dither/ordered.c \
  65. dither/halftone.c \
  66. dither/ostromoukhov.c \
  67. dither/dbs.c \
  68. dither/random.c
  69. if USE_SDL
  70. codec_cflags += `sdl-config --cflags`
  71. codec_libs += `sdl-config --libs` -lSDL_image
  72. codec_sources += codec/sdl.c
  73. endif
  74. if USE_IMLIB2
  75. codec_cflags += @IMLIB2_CFLAGS@
  76. codec_libs += @IMLIB2_LIBS@
  77. codec_sources += codec/imlib.c
  78. endif
  79. if USE_OPENCV
  80. codec_cflags += @OPENCV_CFLAGS@
  81. codec_libs += @OPENCV_LIBS@
  82. codec_sources += codec/opencv.c
  83. endif