Changeset 2261 for libpipi/trunk/pipi/Makefile.am
- Timestamp:
- Mar 11, 2008, 3:56:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/Makefile.am
r2244 r2261 11 11 include_HEADERS = pipi.h 12 12 13 # Conditional sources 14 codec_cflags = 15 codec_libs = 16 codec_sources = 17 18 # The main library 13 19 lib_LTLIBRARIES = libpipi.la 14 20 libpipi_la_SOURCES = \ … … 16 22 pipi.h \ 17 23 pipi_internals.h \ 18 io.c \19 24 pixels.c \ 25 codec.c \ 20 26 resize.c \ 27 $(codec_sources) \ 21 28 $(NULL) 22 libpipi_la_CFLAGS = $( CFLAGS_EXTRA)23 libpipi_la_LDFLAGS = $( LDFLAGS_EXTRA) \29 libpipi_la_CFLAGS = $(codec_cflags) 30 libpipi_la_LDFLAGS = $(codec_libs) \ 24 31 -no-undefined -version-number @LT_VERSION@ 25 32 26 33 if USE_SDL 27 CFLAGS_EXTRA = `sdl-config --cflags` 28 LDFLAGS_EXTRA = `sdl-config --libs` -lSDL_image 29 else 30 if USE_IMLIB2 31 CFLAGS_EXTRA = @IMLIB2_CFLAGS@ 32 LDFLAGS_EXTRA = @IMLIB2_LIBS@ 33 else 34 if USE_OPENCV 35 CFLAGS_EXTRA = `opencv-config --cflags` 36 LDFLAGS_EXTRA = `opencv-config --libs opencv highgui` 37 endif 38 endif 34 codec_cflags += `sdl-config --cflags` 35 codec_libs += `sdl-config --libs` -lSDL_image 36 codec_sources += codec/sdl.c 39 37 endif 40 38 39 if USE_IMLIB2 40 codec_cflags += @IMLIB2_CFLAGS@ 41 codec_libs += @IMLIB2_LIBS@ 42 codec_sources += codec/imlib.c 43 endif 44 45 if USE_OPENCV 46 codec_cflags += `opencv-config --cflags` 47 codec_libs += `opencv-config --libs opencv highgui` 48 codec_sources += codec/opencv.c 49 endif 50
Note: See TracChangeset
for help on using the changeset viewer.