source: trunk/third/librsvg/Makefile.am @ 17277

Revision 17277, 2.5 KB checked in by amb, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17276, which included commits to RCS files with non-trunk default branches.
Line 
1noinst_PROGRAMS = test-ft-gtk test-ft test-rsvg
2
3bin_SCRIPTS = \
4        librsvg-config
5
6EXTRA_DIST =\
7        COPYING.LIB \
8        librsvg.spec.in \
9        librsvg.m4 \
10        librsvgConf.sh.in \
11        librsvg-config.in \
12        librsvg-1.0.pc.in
13
14lib_LTLIBRARIES = librsvg.la
15
16librsvg_la_SOURCES = \
17        art_render.c \
18        art_render_gradient.c \
19        art_render_mask.c \
20        art_render_svp.c \
21        art_rgba.c \
22        librsvg-features.c \
23        rsvg-bpath-util.c \
24        rsvg-css.c \
25        rsvg-defs.c \
26        rsvg-ft.c \
27        rsvg-paint-server.c \
28        rsvg-path.c \
29        rsvg.c
30
31librsvg_la_LDFLAGS = -version-info @LIBRSVG_VERSION_INFO@
32
33librsvgincdir = $(includedir)/librsvg-1/librsvg
34librsvginc_HEADERS = \
35        art_render.h \
36        art_render_gradient.h \
37        art_render_mask.h \
38        art_render_svp.h \
39        art_rgba.h \
40        rsvg-bpath-util.h \
41        rsvg-css.h \
42        rsvg-defs.h \
43        rsvg-ft.h \
44        rsvg-paint-server.h \
45        rsvg-path.h \
46        rsvg.h \
47        librsvg-features.h
48
49INCLUDES =\
50        -I$(top_srcdir) \
51        -I$(top_builddir) \
52        $(FREETYPE2_CFLAGS) \
53        $(GLIB_CFLAGS) \
54        $(GDK_PIXBUF_CFLAGS) \
55        $(GTK_CFLAGS) \
56        $(XML_CFLAGS) \
57        $(ART_CFLAGS) \
58        -DDATADIR="\"$(datadir)\""
59
60DEPS = $(top_builddir)/librsvg.la
61LDADDS = $(top_builddir)/librsvg.la \
62        $(XML_LIBS) \
63        $(FREETYPE2_LIBS) \
64        $(GDK_PIXBUF_LIBS) \
65        $(GTK_LIBS) \
66        $(GLIB_LIBS) \
67        $(FREETYPE2_LIBS) \
68        $(ART_LIBS) \
69        $(POPT_LIBS) \
70        $(LIBPNG)
71
72test_ft_gtk_SOURCES=test-ft-gtk.c
73test_ft_gtk_LDFLAGS =
74test_ft_gtk_DEPENDENCIES = $(DEPS)
75test_ft_gtk_LDADD = $(LDADDS) -lm
76
77test_ft_SOURCES=test-ft.c
78test_ft_LDFLAGS =
79test_ft_DEPENDENCIES = $(DEPS)
80test_ft_LDADD = $(LDADDS) -lm
81
82test_rsvg_SOURCES=test-rsvg.c
83test_rsvg_LDFLAGS =
84test_rsvg_DEPENDENCIES = $(DEPS)
85test_rsvg_LDADD = $(LDADDS) -lm
86
87tests:  test-ft-gtk test-ft test-rsvg
88
89m4datadir = $(datadir)/aclocal
90m4data_DATA = librsvg.m4
91
92## Put `exec' in the name because this should be installed by
93## `install-exec', not `install-data'.
94
95confexecdir=$(libdir)
96confexec_DATA = librsvgConf.sh
97
98pkgconfigdir = $(libdir)/pkgconfig
99pkgconfig_DATA = librsvg-1.0.pc
100
101## We create librsvgConf.sh here and not from configure because we want
102## to get the paths expanded correctly.  Macros like srcdir are given
103## the value NONE in configure if the user doesn't specify them (this
104## is an autoconf feature, not a bug).
105
106librsvgConf.sh: librsvgConf.sh.in Makefile
107## Use sed and then mv to avoid problems if the user interrupts.
108        sed -e 's?\@LIBRSVG_LIBDIR\@?$(LIBRSVG_LIBDIR)?g' \
109            -e 's?\@LIBRSVG_INCLUDEDIR\@?$(LIBRSVG_INCLUDEDIR)?g' \
110            -e 's?\@LIBRSVG_LIBS\@?$(LIBRSVG_LIBS)?g' \
111              < $(srcdir)/librsvgConf.sh.in > librsvgConf.tmp \
112          && mv librsvgConf.tmp librsvgConf.sh
113
114dist-hook: librsvg.spec
115        cp librsvg.spec $(distdir)
Note: See TracBrowser for help on using the repository browser.