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

Last change on this file since 3547 was 3547, checked in by Sam Hocevar, 12 years ago

Implement pipi_blit().

File size: 2.4 KB
RevLine 
[2227]1# $Id$
2
[2902]3EXTRA_DIST = pipi_types.h.in pipi.pc.in
[2227]4DISTCLEANFILES = pipi.pc
5
6AM_CPPFLAGS = -I$(top_srcdir)
7
8pkgconfig_DATA = pipi.pc
9pkgconfigdir = $(libdir)/pkgconfig
10
[2902]11include_HEADERS = pipi.h pipi_types.h
[2227]12
[2261]13# The main library
[2227]14lib_LTLIBRARIES = libpipi.la
15libpipi_la_SOURCES = \
16        pipi.c \
17        pipi.h \
[2902]18        pipi_types.h \
[2228]19        pipi_internals.h \
[2902]20        pipi_stubs.h \
[2793]21        pipi_template.h \
[2692]22        context.c \
[2228]23        pixels.c \
[3339]24        tiles.c \
[2261]25        codec.c \
[2695]26        stock.c \
[2810]27        colorstring.c \
[2244]28        resize.c \
[2263]29        dither.c \
[2814]30        accessors.c \
[2261]31        $(codec_sources) \
[2717]32        $(paint_sources) \
[2765]33        $(render_sources) \
[2705]34        $(combine_sources) \
[2679]35        $(filter_sources) \
[2736]36        $(quantize_sources) \
[2679]37        $(dither_sources) \
[3102]38        $(analysis_sources) \
[2679]39        $(NULL)
40libpipi_la_CFLAGS = $(codec_cflags)
41libpipi_la_LDFLAGS = $(codec_libs) \
[2968]42        -no-undefined -version-number @LT_VERSION@ \
43        -lm
[2842]44# Submodules
45
[2679]46codec_cflags =
47codec_libs =
[2842]48codec_sources = \
49        codec/oric.c
[2679]50
[2717]51paint_sources = \
52        paint/floodfill.c \
[2798]53        paint/line.c \
[2788]54        paint/bezier.c \
[2717]55        paint/tile.c
56
[2765]57render_sources = \
58        render/noise.c \
59        render/screen.c
60
[2705]61combine_sources = \
[3547]62        combine/blit.c \
[2753]63        combine/rgb.c \
[3411]64        combine/merge.c \
[2708]65        combine/minmax.c \
[2711]66        combine/subadd.c \
67        combine/mulscreen.c
[2705]68
[2679]69filter_sources = \
[2680]70        filter/autocontrast.c \
[2603]71        filter/blur.c \
[2793]72        filter/convolution.c \
[2744]73        filter/color.c \
[3546]74        filter/rotate.c \
[2749]75        filter/transform.c \
[2746]76        filter/median.c \
[3397]77        filter/dilate.c \
78        filter/wave.c
[2679]79
[2736]80quantize_sources = \
81        quantize/reduce.c
82
[2679]83dither_sources = \
[2758]84        dither/ediff.c \
[2665]85        dither/ordered.c \
[2654]86        dither/ostromoukhov.c \
[2651]87        dither/dbs.c \
[2679]88        dither/random.c
[2227]89
[3102]90analysis_sources = \
91        analysis/measure.c \
92        analysis/histogram.c
[2809]93
[2842]94# Conditional sources
95
[2228]96if USE_SDL
[2261]97codec_cflags += `sdl-config --cflags`
98codec_libs += `sdl-config --libs` -lSDL_image
99codec_sources += codec/sdl.c
100endif
101
[2228]102if USE_IMLIB2
[2261]103codec_cflags += @IMLIB2_CFLAGS@
104codec_libs += @IMLIB2_LIBS@
105codec_sources += codec/imlib.c
106endif
107
[2228]108if USE_OPENCV
[2628]109codec_cflags += @OPENCV_CFLAGS@
110codec_libs += @OPENCV_LIBS@
[2261]111codec_sources += codec/opencv.c
[2228]112endif
113
[2839]114if USE_GDI
[2840]115codec_libs += -lgdi32
[2839]116codec_sources += codec/gdi.c
117endif
118
[3067]119if USE_GDIPLUS
[3076]120codec_libs += -Wl,--exclude-symbols,$$(printf '\x7f')gdiplus_NULL_THUNK_DATA -lgdiplus
[3067]121codec_sources += codec/gdiplus.cpp
122endif
123
[2897]124if USE_COCOA
125codec_objcflags = -I"/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
126codec_libs += -framework Cocoa -framework IOKit -framework CoreFoundation -framework QuartzCore
127codec_sources += codec/coreimage.m
128endif
[3075]129
[3343]130if USE_JPEG
[3075]131codec_libs += -ljpeg
[3343]132codec_sources += codec/jpeg.c
[3075]133endif
[3343]134
Note: See TracBrowser for help on using the repository browser.