25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

134 satır
2.5 KiB

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