]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/toolbar-editor/Makefile.am
Release 0.3.1
[evince.git] / cut-n-paste / toolbar-editor / Makefile.am
1
2 INCLUDES = $(TOOLBAR_EDITOR_CFLAGS) \
3         -DCURSOR_DIR=\"$(pkgdatadir)\" 
4
5 noinst_LTLIBRARIES = libtoolbareditor.la
6
7 libtoolbareditor_la_SOURCES =   \
8         egg-toolbars-model.c            \
9         egg-editable-toolbar.c          \
10         egg-toolbar-editor.c            \
11         egg-marshal.c                   \
12         eggmarshalers.c 
13
14 noinst_HEADERS =                        \
15         egg-toolbars-model.h            \
16         egg-editable-toolbar.h          \
17         egg-toolbar-editor.h            \
18         eggmarshalers.h
19
20 BUILT_SOURCES = eggmarshalers.h eggmarshalers.c
21
22 eggmarshalers.h: eggmarshalers.list
23         $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h
24
25 eggmarshalers.c: eggmarshalers.list
26         echo '#include "eggmarshalers.h"' > eggmarshalers.c
27         $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body >> eggmarshalers.c
28
29 egg-marshal.c: eggmarshalers.c eggmarshalers.h
30
31 EXTRA_DIST= \
32         eggmarshalers.list
33
34 EGGDIR=$(srcdir)/../../../libegg/libegg
35 regenerate-built-sources:
36         EGGFILES="$(EGGFILES) eggmarshalers.list" EGGDIR="$(EGGDIR)" $(top_srcdir)/cut-n-paste/update-from-egg.sh