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.
 
 
 
 
 
 

61 rader
1.0 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. # Conditional sources
  9. codec_cflags =
  10. codec_libs =
  11. codec_sources =
  12. # The main library
  13. lib_LTLIBRARIES = libpipi.la
  14. libpipi_la_SOURCES = \
  15. pipi.c \
  16. pipi.h \
  17. pipi_internals.h \
  18. pixels.c \
  19. codec.c \
  20. resize.c \
  21. dither.c \
  22. measure.c \
  23. test.c \
  24. $(codec_sources) \
  25. filter/blur.c \
  26. filter/convolution.c \
  27. dither/floydsteinberg.c \
  28. dither/ordered.c \
  29. dither/ostromoukhov.c \
  30. dither/dbs.c \
  31. dither/random.c \
  32. $(NULL)
  33. libpipi_la_CFLAGS = $(codec_cflags)
  34. libpipi_la_LDFLAGS = $(codec_libs) \
  35. -no-undefined -version-number @LT_VERSION@
  36. if USE_SDL
  37. codec_cflags += `sdl-config --cflags`
  38. codec_libs += `sdl-config --libs` -lSDL_image
  39. codec_sources += codec/sdl.c
  40. endif
  41. if USE_IMLIB2
  42. codec_cflags += @IMLIB2_CFLAGS@
  43. codec_libs += @IMLIB2_LIBS@
  44. codec_sources += codec/imlib.c
  45. endif
  46. if USE_OPENCV
  47. codec_cflags += @OPENCV_CFLAGS@
  48. codec_libs += @OPENCV_LIBS@
  49. codec_sources += codec/opencv.c
  50. endif