1 | noinst_PROGRAMS = test-ft-gtk test-ft test-rsvg |
---|
2 | |
---|
3 | bin_SCRIPTS = \ |
---|
4 | librsvg-config |
---|
5 | |
---|
6 | EXTRA_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 | |
---|
14 | lib_LTLIBRARIES = librsvg.la |
---|
15 | |
---|
16 | librsvg_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 | |
---|
31 | librsvg_la_LDFLAGS = -version-info @LIBRSVG_VERSION_INFO@ |
---|
32 | |
---|
33 | librsvgincdir = $(includedir)/librsvg-1/librsvg |
---|
34 | librsvginc_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 | |
---|
49 | INCLUDES =\ |
---|
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 | |
---|
60 | DEPS = $(top_builddir)/librsvg.la |
---|
61 | LDADDS = $(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 | |
---|
72 | test_ft_gtk_SOURCES=test-ft-gtk.c |
---|
73 | test_ft_gtk_LDFLAGS = |
---|
74 | test_ft_gtk_DEPENDENCIES = $(DEPS) |
---|
75 | test_ft_gtk_LDADD = $(LDADDS) -lm |
---|
76 | |
---|
77 | test_ft_SOURCES=test-ft.c |
---|
78 | test_ft_LDFLAGS = |
---|
79 | test_ft_DEPENDENCIES = $(DEPS) |
---|
80 | test_ft_LDADD = $(LDADDS) -lm |
---|
81 | |
---|
82 | test_rsvg_SOURCES=test-rsvg.c |
---|
83 | test_rsvg_LDFLAGS = |
---|
84 | test_rsvg_DEPENDENCIES = $(DEPS) |
---|
85 | test_rsvg_LDADD = $(LDADDS) -lm |
---|
86 | |
---|
87 | tests: test-ft-gtk test-ft test-rsvg |
---|
88 | |
---|
89 | m4datadir = $(datadir)/aclocal |
---|
90 | m4data_DATA = librsvg.m4 |
---|
91 | |
---|
92 | ## Put `exec' in the name because this should be installed by |
---|
93 | ## `install-exec', not `install-data'. |
---|
94 | |
---|
95 | confexecdir=$(libdir) |
---|
96 | confexec_DATA = librsvgConf.sh |
---|
97 | |
---|
98 | pkgconfigdir = $(libdir)/pkgconfig |
---|
99 | pkgconfig_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 | |
---|
106 | librsvgConf.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 | |
---|
114 | dist-hook: librsvg.spec |
---|
115 | cp librsvg.spec $(distdir) |
---|