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

Last change on this file since 2788 was 2788, checked in by Jean-Yves Lamoureux, 14 years ago
  • Added a bezier curve primitive (2 control points).
  • Fixed a float overflow in antialiased lines (this algorithm is a mess, and I need to rewrite it)
  • Wrote a bunch of craderies degueulasses to avoid having y1 already defined in math.h
  • Did I say this antialiased line implementation sucks ?
File size: 1.7 KB
Line 
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
13# The main library
14lib_LTLIBRARIES = libpipi.la
15libpipi_la_SOURCES = \
16        pipi.c \
17        pipi.h \
18        pipi_internals.h \
19        context.c \
20        pixels.c \
21        codec.c \
22        stock.c \
23        resize.c \
24        dither.c \
25        measure.c \
26        $(codec_sources) \
27        $(paint_sources) \
28        $(render_sources) \
29        $(combine_sources) \
30        $(filter_sources) \
31        $(quantize_sources) \
32        $(dither_sources) \
33        $(NULL)
34libpipi_la_CFLAGS = $(codec_cflags)
35libpipi_la_LDFLAGS = $(codec_libs) \
36        -no-undefined -version-number @LT_VERSION@
37
38# Conditional sources
39codec_cflags =
40codec_libs =
41codec_sources =
42
43# Submodules
44paint_sources = \
45        paint/floodfill.c \
46        paint/line.c paint/line_template.h paint/aline_template.h \
47        paint/bezier.c \
48        paint/tile.c
49
50render_sources = \
51        render/noise.c \
52        render/screen.c
53
54combine_sources = \
55        combine/rgb.c \
56        combine/mean.c \
57        combine/minmax.c \
58        combine/subadd.c \
59        combine/mulscreen.c
60
61filter_sources = \
62        filter/autocontrast.c \
63        filter/blur.c \
64        filter/convolution.c filter/convolution_template.h \
65        filter/color.c \
66        filter/transform.c \
67        filter/median.c \
68        filter/dilate.c
69
70quantize_sources = \
71        quantize/reduce.c
72
73dither_sources = \
74        dither/ediff.c \
75        dither/ordered.c \
76        dither/halftone.c \
77        dither/ostromoukhov.c \
78        dither/dbs.c \
79        dither/random.c
80
81if USE_SDL
82codec_cflags += `sdl-config --cflags`
83codec_libs += `sdl-config --libs` -lSDL_image
84codec_sources += codec/sdl.c
85endif
86
87if USE_IMLIB2
88codec_cflags += @IMLIB2_CFLAGS@
89codec_libs += @IMLIB2_LIBS@
90codec_sources += codec/imlib.c
91endif
92
93if USE_OPENCV
94codec_cflags += @OPENCV_CFLAGS@
95codec_libs += @OPENCV_LIBS@
96codec_sources += codec/opencv.c
97endif
98
Note: See TracBrowser for help on using the repository browser.