Changeset 2261
- Timestamp:
- Mar 11, 2008, 3:56:32 PM (15 years ago)
- Location:
- libpipi/trunk/pipi
- Files:
-
- 5 added
- 1 deleted
- 2 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 -
libpipi/trunk/pipi/pipi_internals.h
r2228 r2261 14 14 15 15 /* 16 * pipi_internals.h: internal types16 * pipi_internals.h: internal types 17 17 */ 18 18 … … 27 27 }; 28 28 29 #ifdef USE_IMLIB2 30 pipi_image_t *pipi_load_imlib2(const char *name); 31 pipi_image_t *pipi_new_imlib2(int width, int height); 32 void pipi_free_imlib2(pipi_image_t *img); 33 void pipi_save_imlib2(pipi_image_t *img, const char *name); 34 #endif 35 36 #ifdef USE_OPENCV 37 pipi_image_t *pipi_load_opencv(const char *name); 38 pipi_image_t *pipi_new_opencv(int width, int height); 39 void pipi_free_opencv(pipi_image_t *img); 40 void pipi_save_opencv(pipi_image_t *img, const char *name); 41 #endif 42 43 #ifdef USE_SDL 44 pipi_image_t *pipi_load_sdl(const char *name); 45 pipi_image_t *pipi_new_sdl(int width, int height); 46 void pipi_free_sdl(pipi_image_t *img); 47 void pipi_save_sdl(pipi_image_t *img, const char *name); 48 #endif 49 29 50 #endif /* __PIPI_INTERNALS_H__ */ 30 51
Note: See TracChangeset
for help on using the changeset viewer.