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.
RevLine 
[20919]1SUBDIRS = . gtk-engine gdk-pixbuf-loader moz-plugin doc data
[17276]2
[20919]3if HAVE_GTK
4target_rsvg_view = rsvg-view
5else
6target_rsvg_view =
7endif
[18608]8
[20919]9bin_PROGRAMS = rsvg $(target_rsvg_view)
[18608]10
[20919]11noinst_PROGRAMS = test-performance
12
[18608]13man_MANS = rsvg.1
14
[20919]15if OS_WIN32
[18804]16else
[20919]17libm = -lm
[18804]18endif
19
[18274]20lib_LTLIBRARIES = librsvg-2.la
[17276]21
[20919]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
[17276]49
[20919]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)
[17276]52
[18274]53librsvgincdir = $(includedir)/librsvg-2/librsvg
[20919]54librsvginc_HEADERS =    \
55        rsvg-gz.h       \
56        rsvg.h          \
[17276]57        librsvg-features.h
58
[20919]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\"      \
[17276]69        -DDATADIR="\"$(datadir)\""
70
[18274]71DEPS = $(top_builddir)/librsvg-2.la
[20919]72LDADDS =                                \
73        $(LIBGNOME_VFS_LIBS)            \
74        $(LIBGSF_LIBS)                  \
75        $(LIBCROCO_LIBS)                \
76        $(top_builddir)/librsvg-2.la    \
77        $(LIBRSVG_LIBS)                 \
[18274]78        $(POPT_LIBS)
[17276]79
[18608]80rsvg_SOURCES=test-rsvg.c
81rsvg_LDFLAGS =
82rsvg_DEPENDENCIES = $(DEPS)
[20919]83rsvg_LDADD = $(LDADDS) $(libm)
[17276]84
[18274]85test_performance_SOURCES=test-performance.c
86test_performance_LDFLAGS =
87test_performance_DEPENDENCIES = $(DEPS)
[20919]88test_performance_LDADD = $(LDADDS) $(libm)
[17276]89
[20919]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)
[17276]96
[20919]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
[18608]108tests: rsvg
109
[17276]110## Put `exec' in the name because this should be installed by
111## `install-exec', not `install-data'.
112
113pkgconfigdir = $(libdir)/pkgconfig
[18274]114pkgconfig_DATA = librsvg-2.0.pc
[17276]115
116dist-hook: librsvg.spec
117        cp librsvg.spec $(distdir)
Note: See TracBrowser for help on using the repository browser.