diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-03-28 18:44:42 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-03-28 18:44:42 +0000 |
commit | 9d95967905377141e0e83aafe782c702d1ae656a (patch) | |
tree | d3ec0ebd41a7de356b4f093e051381e4e89c074c /Makefile.am | |
download | librsvg-9d95967905377141e0e83aafe782c702d1ae656a.tar.gz |
Put librsvg in its own toplevel CVS module.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..dbddd8c5 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,111 @@ +noinst_PROGRAMS = test-ft-gtk test-ft test-rsvg + +bin_SCRIPTS = \ + librsvg-config + +EXTRA_DIST = \ + librsvg.m4 \ + librsvgConf.sh.in \ + librsvg-config.in \ + librsvg-1.0.pc.in + +lib_LTLIBRARIES = librsvg.la + +librsvg_la_SOURCES = \ + art_render.c \ + art_render_gradient.c \ + art_render_mask.c \ + art_render_svp.c \ + art_rgba.c \ + librsvg-features.c \ + rsvg-bpath-util.c \ + rsvg-css.c \ + rsvg-defs.c \ + rsvg-ft.c \ + rsvg-paint-server.c \ + rsvg-path.c \ + rsvg.c + +librsvg_la_LDFLAGS = -version-info @LIBRSVG_VERSION_INFO@ + +librsvgincdir = $(includedir)/librsvg +librsvginc_HEADERS = \ + art_render.h \ + art_render_gradient.h \ + art_render_mask.h \ + art_render_svp.h \ + art_rgba.h \ + rsvg-bpath-util.h \ + rsvg-css.h \ + rsvg-defs.h \ + rsvg-ft.h \ + rsvg-paint-server.h \ + rsvg-path.h \ + rsvg.h \ + librsvg-features.h + +INCLUDES =\ + -I$(top_srcdir) \ + -I$(top_builddir) \ + $(FREETYPE2_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GDK_PIXBUF_CFLAGS) \ + $(GTK_CFLAGS) \ + $(XML_CFLAGS) \ + $(ART_CFLAGS) \ + -DNAUTILUS_DATADIR="\"/gnome/share/nautilus/\"" + +DEPS = $(top_builddir)/librsvg.la +LDADDS = $(top_builddir)/librsvg.la \ + $(FREETYPE2_LIBS) \ + $(GDK_PIXBUF_LIBS) \ + $(GTK_LIBS) \ + $(GLIB_LIBS) \ + $(XML_LIBS) \ + $(FREETYPE2_LIBS) \ + $(ART_LIBS) \ + $(POPT_LIBS) \ + $(LIBPNG) + +test_ft_gtk_SOURCES=test-ft-gtk.c +test_ft_gtk_LDFLAGS = +test_ft_gtk_DEPENDENCIES = $(DEPS) +test_ft_gtk_LDADD = $(LDADDS) -lm + +test_ft_SOURCES=test-ft.c +test_ft_LDFLAGS = +test_ft_DEPENDENCIES = $(DEPS) +test_ft_LDADD = $(LDADDS) -lm + +test_rsvg_SOURCES=test-rsvg.c +test_rsvg_LDFLAGS = +test_rsvg_DEPENDENCIES = $(DEPS) +test_rsvg_LDADD = $(LDADDS) -lm + + +tests: test-ft-gtk test-ft test-rsvg + +m4datadir = $(datadir)/aclocal +m4data_DATA = librsvg.m4 + +## Put `exec' in the name because this should be installed by +## `install-exec', not `install-data'. + +confexecdir=$(libdir) +confexec_DATA = librsvgConf.sh + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = librsvg-1.0.pc + +## We create librsvgConf.sh here and not from configure because we want +## to get the paths expanded correctly. Macros like srcdir are given +## the value NONE in configure if the user doesn't specify them (this +## is an autoconf feature, not a bug). + +librsvgConf.sh: librsvgConf.sh.in Makefile +## Use sed and then mv to avoid problems if the user interrupts. + sed -e 's?\@LIBRSVG_LIBDIR\@?$(LIBRSVG_LIBDIR)?g' \ + -e 's?\@LIBRSVG_INCLUDEDIR\@?$(LIBRSVG_INCLUDEDIR)?g' \ + -e 's?\@LIBRSVG_LIBS\@?$(LIBRSVG_LIBS)?g' \ + < $(srcdir)/librsvgConf.sh.in > librsvgConf.tmp \ + && mv librsvgConf.tmp librsvgConf.sh |