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
|
Rev | Line | |
---|
[2227] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | EXTRA_DIST = pipi.pc.in |
---|
| 4 | DISTCLEANFILES = pipi.pc |
---|
| 5 | |
---|
| 6 | AM_CPPFLAGS = -I$(top_srcdir) |
---|
| 7 | |
---|
| 8 | pkgconfig_DATA = pipi.pc |
---|
| 9 | pkgconfigdir = $(libdir)/pkgconfig |
---|
| 10 | |
---|
| 11 | include_HEADERS = pipi.h |
---|
| 12 | |
---|
| 13 | lib_LTLIBRARIES = libpipi.la |
---|
| 14 | libpipi_la_SOURCES = \ |
---|
| 15 | pipi.c \ |
---|
| 16 | pipi.h \ |
---|
[2228] | 17 | pipi_internals.h \ |
---|
| 18 | io.c \ |
---|
| 19 | pixels.c \ |
---|
[2227] | 20 | $(NULL) |
---|
[2228] | 21 | libpipi_la_CFLAGS = $(CFLAGS_EXTRA) |
---|
| 22 | libpipi_la_LDFLAGS = $(LDFLAGS_EXTRA) \ |
---|
| 23 | -no-undefined -version-number @LT_VERSION@ |
---|
[2227] | 24 | |
---|
[2228] | 25 | if USE_SDL |
---|
| 26 | CFLAGS_EXTRA = `sdl-config --cflags` |
---|
| 27 | LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image |
---|
| 28 | else |
---|
| 29 | if USE_IMLIB2 |
---|
| 30 | CFLAGS_EXTRA = @IMLIB2_CFLAGS@ |
---|
| 31 | LDFLAGS_EXTRA = @IMLIB2_LIBS@ |
---|
| 32 | else |
---|
| 33 | if USE_OPENCV |
---|
| 34 | CFLAGS_EXTRA = `opencv-config --cflags` |
---|
| 35 | LDFLAGS_EXTRA = `opencv-config --libs opencv highgui` |
---|
| 36 | endif |
---|
| 37 | endif |
---|
| 38 | endif |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.