Makefile.am 2.05 KB
Newer Older
Bruno Coudoin's avatar
Bruno Coudoin committed
1 2 3 4 5 6 7

INCLUDES = \
	-I$(top_srcdir) 				\
	-I$(top_builddir)				\
	-I$(top_srcdir)/src				\
	$(WARN_CFLAGS) 					\
	$(GCOMPRIS_CFLAGS) \
8
	$(FT2_CFLAGS)					\
Bruno Coudoin's avatar
Bruno Coudoin committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
        -DGNOMECANVASLIBDIR=\""$(libdir)"\" 		\
        -DGNOMECANVASDATADIR=\""$(datadir)"\" 		\
        -DGNOMECANVASPIXMAPDIR=\""$(datadir)/pixmaps"\"	\
        -DGNOMECANVASBINDIR=\""$(bindir)"\" 		\
        -DGNOMECANVASLOCALSTATEDIR=\""$(localstatedir)"\" 	\
	-DG_LOG_DOMAIN=\"GnomeCanvas\"

noinst_LIBRARIES = libgnomecanvas-2.a

libgnomecanvas_2_a_LIBADD = \
	$(LIBGNOMECANVAS_LIBS)

libgnomecanvasinclude_headers =			\
	gnome-canvas-shape.h			\
	gnome-canvas-bpath.h			\
	gnome-canvas-clipgroup.h		\
	gnome-canvas-line.h			\
	gnome-canvas-pixbuf.h			\
	gnome-canvas-polygon.h			\
	gnome-canvas-rect-ellipse.h		\
	gnome-canvas-text.h			\
	gnome-canvas-rich-text.h		\
	gnome-canvas-util.h			\
	gnome-canvas-widget.h			\
	gnome-canvas-path-def.h			\
	gnome-canvas.h				\
	libgnomecanvas.h

libgnomecanvas_2_a_SOURCES =			\
	$(libgnomecanvasinclude_headers)	\
	gnome-canvas-shape.c			\
	gnome-canvas-shape-private.h		\
	gnome-canvas-bpath.c			\
	gnome-canvas-path-def.c			\
	gnome-canvas-clipgroup.c		\
	gnome-canvas-i18n.h			\
	gnome-canvas-line.c			\
	gnome-canvas-pixbuf.c			\
	gnome-canvas-polygon.c			\
	gnome-canvas-rect-ellipse.c		\
	gnome-canvas-text.c			\
	gnome-canvas-rich-text.c		\
	gnome-canvas-util.c			\
	gnome-canvas-widget.c			\
	gnome-canvas.c				\
	libgnomecanvastypes.c

$(libgnomecanvas_2_a_OBJECTS): $(marshal_sources)

marshal_sources =                               \
        gnome-canvas-marshal.c                  \
        gnome-canvas-marshal.h

BUILT_SOURCES =                                 \
        $(marshal_sources)

gnome-canvas-marshal.h: gnome-canvas-marshal.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) $< --header --prefix=gnome_canvas_marshal > $@
gnome-canvas-marshal.c: gnome-canvas-marshal.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) $< --body --prefix=gnome_canvas_marshal > $@

CLEANFILES = $(marshal_sources)

DONT_DIST_SOURCE = $(marshal_sources)

Bruno Coudoin's avatar
Bruno Coudoin committed
74 75
EXTRA_DIST = \
	gnome-canvas-marshal.list