1 | SUBDIRS = . gtk-engine gdk-pixbuf-loader doc |
---|
2 | |
---|
3 | bin_PROGRAMS = rsvg |
---|
4 | |
---|
5 | noinst_PROGRAMS = test-performance test-display |
---|
6 | |
---|
7 | man_MANS = rsvg.1 |
---|
8 | |
---|
9 | if WITH_LIBGSF |
---|
10 | GSFHEADERS = rsvg-gz.h |
---|
11 | GSFSOURCES = rsvg-gz.c |
---|
12 | else |
---|
13 | GSFHEADERS = |
---|
14 | GSFSOURCES = |
---|
15 | endif |
---|
16 | |
---|
17 | EXTRA_DIST =\ |
---|
18 | COPYING.LIB \ |
---|
19 | librsvg.spec.in \ |
---|
20 | librsvg-2.0.pc.in \ |
---|
21 | rsvg-gz.c \ |
---|
22 | rsvg-gz.h \ |
---|
23 | $(man_MANS) |
---|
24 | |
---|
25 | lib_LTLIBRARIES = librsvg-2.la |
---|
26 | |
---|
27 | librsvg_2_la_SOURCES = $(GSFSOURCES) \ |
---|
28 | librsvg-features.c \ |
---|
29 | rsvg-bpath-util.c \ |
---|
30 | rsvg-bpath-util.h \ |
---|
31 | rsvg-css.c \ |
---|
32 | rsvg-css.h \ |
---|
33 | rsvg-defs.c \ |
---|
34 | rsvg-defs.h \ |
---|
35 | rsvg-paint-server.c \ |
---|
36 | rsvg-paint-server.h \ |
---|
37 | rsvg-path.c \ |
---|
38 | rsvg-path.h \ |
---|
39 | rsvg-private.h \ |
---|
40 | rsvg-file-util.c \ |
---|
41 | rsvg-shapes.c \ |
---|
42 | rsvg-shapes.h \ |
---|
43 | rsvg-styles.c \ |
---|
44 | rsvg-styles.h \ |
---|
45 | rsvg-text.c \ |
---|
46 | rsvg-text.h \ |
---|
47 | rsvg.c |
---|
48 | |
---|
49 | librsvg_2_la_LDFLAGS = -version-info @VERSION_INFO@ |
---|
50 | |
---|
51 | librsvgincdir = $(includedir)/librsvg-2/librsvg |
---|
52 | librsvginc_HEADERS = $(GSFHEADERS) \ |
---|
53 | rsvg.h \ |
---|
54 | librsvg-features.h |
---|
55 | |
---|
56 | INCLUDES =$(LIBGSF_CFLAGS)\ |
---|
57 | -I$(top_srcdir) \ |
---|
58 | -I$(top_builddir) \ |
---|
59 | $(LIBRSVG_CFLAGS) \ |
---|
60 | $(GTK_CFLAGS) \ |
---|
61 | -DG_LOG_DOMAIN=\"librsvg\" \ |
---|
62 | -DG_DISABLE_DEPRECATED \ |
---|
63 | -DPANGO_DISABLE_DEPRECATED \ |
---|
64 | -DGDK_DISABLE_DEPRECATED \ |
---|
65 | -DGDK_PIXBUF_DISABLE_DEPRECATED \ |
---|
66 | -DGTK_DISABLE_DEPRECATED \ |
---|
67 | -DDATADIR="\"$(datadir)\"" |
---|
68 | |
---|
69 | DEPS = $(top_builddir)/librsvg-2.la |
---|
70 | LDADDS =$(LIBGSF_LIBS)\ |
---|
71 | $(top_builddir)/librsvg-2.la \ |
---|
72 | $(LIBRSVG_LIBS) \ |
---|
73 | $(POPT_LIBS) |
---|
74 | |
---|
75 | rsvg_SOURCES=test-rsvg.c |
---|
76 | rsvg_LDFLAGS = |
---|
77 | rsvg_DEPENDENCIES = $(DEPS) |
---|
78 | rsvg_LDADD = $(LDADDS) -lm |
---|
79 | |
---|
80 | test_performance_SOURCES=test-performance.c |
---|
81 | test_performance_LDFLAGS = |
---|
82 | test_performance_DEPENDENCIES = $(DEPS) |
---|
83 | test_performance_LDADD = $(LDADDS) -lm |
---|
84 | |
---|
85 | test_display_SOURCES=test-display.c |
---|
86 | test_display_LDFLAGS = |
---|
87 | test_display_DEPENDENCIES = $(DEPS) |
---|
88 | test_display_LDADD = $(LDADDS) $(GTK_LIBS) -lm |
---|
89 | |
---|
90 | tests: rsvg |
---|
91 | |
---|
92 | ## Put `exec' in the name because this should be installed by |
---|
93 | ## `install-exec', not `install-data'. |
---|
94 | |
---|
95 | pkgconfigdir = $(libdir)/pkgconfig |
---|
96 | pkgconfig_DATA = librsvg-2.0.pc |
---|
97 | |
---|
98 | dist-hook: librsvg.spec |
---|
99 | cp librsvg.spec $(distdir) |
---|