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

Revision 20920, 2.4 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20919, which included commits to RCS files with non-trunk default branches.
Line 
1SUBDIRS = . gtk-engine gdk-pixbuf-loader moz-plugin doc data
2
3if HAVE_GTK
4target_rsvg_view = rsvg-view
5else
6target_rsvg_view =
7endif
8
9bin_PROGRAMS = rsvg $(target_rsvg_view)
10
11noinst_PROGRAMS = test-performance
12
13man_MANS = rsvg.1
14
15if OS_WIN32
16else
17libm = -lm
18endif
19
20lib_LTLIBRARIES = librsvg-2.la
21
22librsvg_2_la_SOURCES =          \
23        rsvg-gz.c               \
24        librsvg-features.c      \
25        rsvg-bpath-util.c       \
26        rsvg-bpath-util.h       \
27        rsvg-css.c              \
28        rsvg-css.h              \
29        rsvg-defs.c             \
30        rsvg-defs.h             \
31        rsvg-paint-server.c     \
32        rsvg-paint-server.h     \
33        rsvg-path.c             \
34        rsvg-path.h             \
35        rsvg-private.h          \
36        rsvg-file-util.c        \
37        rsvg-filter.c           \
38        rsvg-filter.h           \
39        rsvg-mask.c             \
40        rsvg-mask.h             \
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        rsvg-cond.c
49
50librsvg_2_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined -export-dynamic
51librsvg_2_la_LIBADD = $(LIBRSVG_LIBS) $(LIBGSF_LIBS) $(LIBCROCO_LIBS) $(LIBGNOME_VFS_LIBS)
52
53librsvgincdir = $(includedir)/librsvg-2/librsvg
54librsvginc_HEADERS =    \
55        rsvg-gz.h       \
56        rsvg.h          \
57        librsvg-features.h
58
59INCLUDES =                              \
60        $(LIBGNOME_VFS_CFLAGS)          \
61        $(LIBGSF_CFLAGS)                \
62        $(LIBCROCO_CFLAGS)              \
63        -I$(top_srcdir)                 \
64        -I$(top_builddir)               \
65        $(LIBRSVG_CFLAGS)               \
66        $(GTK_CFLAGS)                   \
67        $(GDK_X11_CFLAGS)               \
68        -DG_LOG_DOMAIN=\"librsvg\"      \
69        -DDATADIR="\"$(datadir)\""
70
71DEPS = $(top_builddir)/librsvg-2.la
72LDADDS =                                \
73        $(LIBGNOME_VFS_LIBS)            \
74        $(LIBGSF_LIBS)                  \
75        $(LIBCROCO_LIBS)                \
76        $(top_builddir)/librsvg-2.la    \
77        $(LIBRSVG_LIBS)                 \
78        $(POPT_LIBS)
79
80rsvg_SOURCES=test-rsvg.c
81rsvg_LDFLAGS =
82rsvg_DEPENDENCIES = $(DEPS)
83rsvg_LDADD = $(LDADDS) $(libm)
84
85test_performance_SOURCES=test-performance.c
86test_performance_LDFLAGS =
87test_performance_DEPENDENCIES = $(DEPS)
88test_performance_LDADD = $(LDADDS) $(libm)
89
90rsvg_view_SOURCES =             \
91        test-display.c
92rsvg_view_LDFLAGS =
93rsvg_view_DEPENDENCIES = $(DEPS)
94rsvg_view_CFLAGS= $(GNOME_PRINT_CFLAGS)
95rsvg_view_LDADD = $(LDADDS) $(GNOME_PRINT_LIBS) $(GTK_LIBS) $(GDK_X11_LIBS) $(libm)
96
97EXTRA_DIST =                            \
98        COPYING.LIB                     \
99        librsvg.spec.in                 \
100        librsvg-2.0.pc.in               \
101        librsvg-2.0-uninstalled.pc.in   \
102        librsvg-zip.in                  \
103        rsvg-gz.c                       \
104        rsvg-gz.h                       \
105        $(man_MANS)                     \
106        $(rsvg_view_SOURCES)
107
108tests: rsvg
109
110## Put `exec' in the name because this should be installed by
111## `install-exec', not `install-data'.
112
113pkgconfigdir = $(libdir)/pkgconfig
114pkgconfig_DATA = librsvg-2.0.pc
115
116dist-hook: librsvg.spec
117        cp librsvg.spec $(distdir)
Note: See TracBrowser for help on using the repository browser.