Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

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