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

Last change on this file since 2244 was 2244, checked in by Sam Hocevar, 15 years ago
  • Starting image resizing. X-wise resize works so far.
File size: 738 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
13lib_LTLIBRARIES = libpipi.la
14libpipi_la_SOURCES = \
15        pipi.c \
16        pipi.h \
17        pipi_internals.h \
18        io.c \
19        pixels.c \
20        resize.c \
21        $(NULL)
22libpipi_la_CFLAGS = $(CFLAGS_EXTRA)
23libpipi_la_LDFLAGS = $(LDFLAGS_EXTRA) \
24        -no-undefined -version-number @LT_VERSION@
25
26if USE_SDL
27CFLAGS_EXTRA = `sdl-config --cflags`
28LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image
29else
30if USE_IMLIB2
31CFLAGS_EXTRA = @IMLIB2_CFLAGS@
32LDFLAGS_EXTRA = @IMLIB2_LIBS@
33else
34if USE_OPENCV
35CFLAGS_EXTRA = `opencv-config --cflags`
36LDFLAGS_EXTRA = `opencv-config --libs opencv highgui`
37endif
38endif
39endif
40
Note: See TracBrowser for help on using the repository browser.