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

Last change on this file since 2228 was 2228, checked in by Sam Hocevar, 15 years ago
  • Import image loading features from PWNtcha. As they are more than 4-year old, they will certainly require some cleanup, eg. pkg-config transitions.
File size: 726 bytes
RevLine 
[2227]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 \
[2228]17        pipi_internals.h \
18        io.c \
19        pixels.c \
[2227]20        $(NULL)
[2228]21libpipi_la_CFLAGS = $(CFLAGS_EXTRA)
22libpipi_la_LDFLAGS = $(LDFLAGS_EXTRA) \
23        -no-undefined -version-number @LT_VERSION@
[2227]24
[2228]25if USE_SDL
26CFLAGS_EXTRA = `sdl-config --cflags`
27LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image
28else
29if USE_IMLIB2
30CFLAGS_EXTRA = @IMLIB2_CFLAGS@
31LDFLAGS_EXTRA = @IMLIB2_LIBS@
32else
33if USE_OPENCV
34CFLAGS_EXTRA = `opencv-config --cflags`
35LDFLAGS_EXTRA = `opencv-config --libs opencv highgui`
36endif
37endif
38endif
39
Note: See TracBrowser for help on using the repository browser.