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

52 行
935 B

  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. test.c \
  22. $(codec_sources) \
  23. $(NULL)
  24. libpipi_la_CFLAGS = $(codec_cflags)
  25. libpipi_la_LDFLAGS = $(codec_libs) \
  26. -no-undefined -version-number @LT_VERSION@
  27. if USE_SDL
  28. codec_cflags += `sdl-config --cflags`
  29. codec_libs += `sdl-config --libs` -lSDL_image
  30. codec_sources += codec/sdl.c
  31. endif
  32. if USE_IMLIB2
  33. codec_cflags += @IMLIB2_CFLAGS@
  34. codec_libs += @IMLIB2_LIBS@
  35. codec_sources += codec/imlib.c
  36. endif
  37. if USE_OPENCV
  38. codec_cflags += `opencv-config --cflags`
  39. codec_libs += `opencv-config --libs opencv highgui`
  40. codec_sources += codec/opencv.c
  41. endif