Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # $Id$
  2. EXTRA_DIST = pipi_types.h.in 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 pipi_types.h
  8. # The main library
  9. lib_LTLIBRARIES = libpipi.la
  10. libpipi_la_SOURCES = \
  11. pipi.c \
  12. pipi.h \
  13. pipi_types.h \
  14. pipi_internals.h \
  15. pipi_stubs.h \
  16. pipi_template.h \
  17. context.c \
  18. pixels.c \
  19. tiles.c \
  20. codec.c \
  21. stock.c \
  22. colorstring.c \
  23. resize.c \
  24. dither.c \
  25. accessors.c \
  26. $(codec_sources) \
  27. $(paint_sources) \
  28. $(render_sources) \
  29. $(combine_sources) \
  30. $(filter_sources) \
  31. $(quantize_sources) \
  32. $(dither_sources) \
  33. $(analysis_sources) \
  34. $(NULL)
  35. libpipi_la_CFLAGS = $(codec_cflags)
  36. libpipi_la_LDFLAGS = $(codec_libs) \
  37. -no-undefined -version-number @LT_VERSION@ \
  38. -lm
  39. # Submodules
  40. codec_cflags =
  41. codec_libs =
  42. codec_sources = \
  43. codec/oric.c
  44. paint_sources = \
  45. paint/floodfill.c \
  46. paint/line.c \
  47. paint/bezier.c \
  48. paint/tile.c
  49. render_sources = \
  50. render/noise.c \
  51. render/screen.c
  52. combine_sources = \
  53. combine/rgb.c \
  54. combine/merge.c \
  55. combine/minmax.c \
  56. combine/subadd.c \
  57. combine/mulscreen.c
  58. filter_sources = \
  59. filter/autocontrast.c \
  60. filter/blur.c \
  61. filter/convolution.c \
  62. filter/color.c \
  63. filter/transform.c \
  64. filter/median.c \
  65. filter/dilate.c \
  66. filter/wave.c
  67. quantize_sources = \
  68. quantize/reduce.c
  69. dither_sources = \
  70. dither/ediff.c \
  71. dither/ordered.c \
  72. dither/ostromoukhov.c \
  73. dither/dbs.c \
  74. dither/random.c
  75. analysis_sources = \
  76. analysis/measure.c \
  77. analysis/histogram.c
  78. # Conditional sources
  79. if USE_SDL
  80. codec_cflags += `sdl-config --cflags`
  81. codec_libs += `sdl-config --libs` -lSDL_image
  82. codec_sources += codec/sdl.c
  83. endif
  84. if USE_IMLIB2
  85. codec_cflags += @IMLIB2_CFLAGS@
  86. codec_libs += @IMLIB2_LIBS@
  87. codec_sources += codec/imlib.c
  88. endif
  89. if USE_OPENCV
  90. codec_cflags += @OPENCV_CFLAGS@
  91. codec_libs += @OPENCV_LIBS@
  92. codec_sources += codec/opencv.c
  93. endif
  94. if USE_GDI
  95. codec_libs += -lgdi32
  96. codec_sources += codec/gdi.c
  97. endif
  98. if USE_GDIPLUS
  99. codec_libs += -Wl,--exclude-symbols,$$(printf '\x7f')gdiplus_NULL_THUNK_DATA -lgdiplus
  100. codec_sources += codec/gdiplus.cpp
  101. endif
  102. if USE_COCOA
  103. codec_objcflags = -I"/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
  104. codec_libs += -framework Cocoa -framework IOKit -framework CoreFoundation -framework QuartzCore
  105. codec_sources += codec/coreimage.m
  106. endif
  107. if USE_JPEG
  108. codec_libs += -ljpeg
  109. codec_sources += codec/jpeg.c
  110. endif