Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

113 righe
1.8 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. colorstring.c \
  20. resize.c \
  21. dither.c \
  22. measure.c \
  23. accessors.c \
  24. $(codec_sources) \
  25. $(paint_sources) \
  26. $(render_sources) \
  27. $(combine_sources) \
  28. $(filter_sources) \
  29. $(quantize_sources) \
  30. $(dither_sources) \
  31. $(histogram_sources) \
  32. $(NULL)
  33. libpipi_la_CFLAGS = $(codec_cflags)
  34. libpipi_la_LDFLAGS = $(codec_libs) \
  35. -no-undefined -version-number @LT_VERSION@
  36. # Submodules
  37. codec_cflags =
  38. codec_libs =
  39. codec_sources = \
  40. codec/oric.c
  41. paint_sources = \
  42. paint/floodfill.c \
  43. paint/line.c \
  44. paint/bezier.c \
  45. paint/tile.c
  46. render_sources = \
  47. render/noise.c \
  48. render/screen.c
  49. combine_sources = \
  50. combine/rgb.c \
  51. combine/mean.c \
  52. combine/minmax.c \
  53. combine/subadd.c \
  54. combine/mulscreen.c
  55. filter_sources = \
  56. filter/autocontrast.c \
  57. filter/blur.c \
  58. filter/convolution.c \
  59. filter/color.c \
  60. filter/transform.c \
  61. filter/median.c \
  62. filter/dilate.c
  63. quantize_sources = \
  64. quantize/reduce.c
  65. dither_sources = \
  66. dither/ediff.c \
  67. dither/ordered.c \
  68. dither/ostromoukhov.c \
  69. dither/dbs.c \
  70. dither/random.c
  71. histogram_sources = \
  72. histogram/histogram.c
  73. # Conditional sources
  74. if USE_SDL
  75. codec_cflags += `sdl-config --cflags`
  76. codec_libs += `sdl-config --libs` -lSDL_image
  77. codec_sources += codec/sdl.c
  78. endif
  79. if USE_IMLIB2
  80. codec_cflags += @IMLIB2_CFLAGS@
  81. codec_libs += @IMLIB2_LIBS@
  82. codec_sources += codec/imlib.c
  83. endif
  84. if USE_OPENCV
  85. codec_cflags += @OPENCV_CFLAGS@
  86. codec_libs += @OPENCV_LIBS@
  87. codec_sources += codec/opencv.c
  88. endif
  89. if USE_GDI
  90. codec_libs += -lgdi32
  91. codec_sources += codec/gdi.c
  92. endif