您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

77 行
1.3 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. context.c \
  15. pixels.c \
  16. codec.c \
  17. stock.c \
  18. resize.c \
  19. dither.c \
  20. measure.c \
  21. fill/floodfill.c \
  22. $(codec_sources) \
  23. $(combine_sources) \
  24. $(filter_sources) \
  25. $(dither_sources) \
  26. $(NULL)
  27. libpipi_la_CFLAGS = $(codec_cflags)
  28. libpipi_la_LDFLAGS = $(codec_libs) \
  29. -no-undefined -version-number @LT_VERSION@
  30. # Conditional sources
  31. codec_cflags =
  32. codec_libs =
  33. codec_sources =
  34. # Submodules
  35. combine_sources = \
  36. combine/mean.c
  37. filter_sources = \
  38. filter/autocontrast.c \
  39. filter/blur.c \
  40. filter/convolution.c \
  41. filter/convolution.h
  42. dither_sources = \
  43. dither/floydsteinberg.c \
  44. dither/jajuni.c \
  45. dither/ordered.c \
  46. dither/ostromoukhov.c \
  47. dither/dbs.c \
  48. dither/random.c
  49. if USE_SDL
  50. codec_cflags += `sdl-config --cflags`
  51. codec_libs += `sdl-config --libs` -lSDL_image
  52. codec_sources += codec/sdl.c
  53. endif
  54. if USE_IMLIB2
  55. codec_cflags += @IMLIB2_CFLAGS@
  56. codec_libs += @IMLIB2_LIBS@
  57. codec_sources += codec/imlib.c
  58. endif
  59. if USE_OPENCV
  60. codec_cflags += @OPENCV_CFLAGS@
  61. codec_libs += @OPENCV_LIBS@
  62. codec_sources += codec/opencv.c
  63. endif