You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
738 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. lib_LTLIBRARIES = libpipi.la
  9. libpipi_la_SOURCES = \
  10. pipi.c \
  11. pipi.h \
  12. pipi_internals.h \
  13. io.c \
  14. pixels.c \
  15. resize.c \
  16. $(NULL)
  17. libpipi_la_CFLAGS = $(CFLAGS_EXTRA)
  18. libpipi_la_LDFLAGS = $(LDFLAGS_EXTRA) \
  19. -no-undefined -version-number @LT_VERSION@
  20. if USE_SDL
  21. CFLAGS_EXTRA = `sdl-config --cflags`
  22. LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image
  23. else
  24. if USE_IMLIB2
  25. CFLAGS_EXTRA = @IMLIB2_CFLAGS@
  26. LDFLAGS_EXTRA = @IMLIB2_LIBS@
  27. else
  28. if USE_OPENCV
  29. CFLAGS_EXTRA = `opencv-config --cflags`
  30. LDFLAGS_EXTRA = `opencv-config --libs opencv highgui`
  31. endif
  32. endif
  33. endif