Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Makefile.am 1.6 KiB

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