source: libpipi/trunk/pipi/Makefile.am @ 2263

Last change on this file since 2263 was 2263, checked in by Sam Hocevar, 14 years ago
  • Implemented 24 -> 16 bpp dithering.
  • Added the --bpp flag to genethumb.
File size: 947 bytes
Line 
1# $Id$
2
3EXTRA_DIST = pipi.pc.in
4DISTCLEANFILES = pipi.pc
5
6AM_CPPFLAGS = -I$(top_srcdir)
7
8pkgconfig_DATA = pipi.pc
9pkgconfigdir = $(libdir)/pkgconfig
10
11include_HEADERS = pipi.h
12
13# Conditional sources
14codec_cflags =
15codec_libs =
16codec_sources =
17
18# The main library
19lib_LTLIBRARIES = libpipi.la
20libpipi_la_SOURCES = \
21        pipi.c \
22        pipi.h \
23        pipi_internals.h \
24        pixels.c \
25        codec.c \
26        resize.c \
27        dither.c \
28        test.c \
29        $(codec_sources) \
30        $(NULL)
31libpipi_la_CFLAGS = $(codec_cflags)
32libpipi_la_LDFLAGS = $(codec_libs) \
33        -no-undefined -version-number @LT_VERSION@
34
35if USE_SDL
36codec_cflags += `sdl-config --cflags`
37codec_libs += `sdl-config --libs` -lSDL_image
38codec_sources += codec/sdl.c
39endif
40
41if USE_IMLIB2
42codec_cflags += @IMLIB2_CFLAGS@
43codec_libs += @IMLIB2_LIBS@
44codec_sources += codec/imlib.c
45endif
46
47if USE_OPENCV
48codec_cflags += `opencv-config --cflags`
49codec_libs += `opencv-config --libs opencv highgui`
50codec_sources += codec/opencv.c
51endif
52
Note: See TracBrowser for help on using the repository browser.