]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/toolbar-editor/Makefile.am
Sync
[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 EGGSOURCES = \
8         egg-toolbars-model.c            \
9         egg-editable-toolbar.c          \
10         egg-toolbar-editor.c
11
12 EGGHEADERS = \
13         eggintl.h                       \
14         egg-toolbars-model.h            \
15         egg-editable-toolbar.h          \
16         egg-toolbar-editor.h
17
18 libtoolbareditor_la_SOURCES = \
19         $(EGGSOURCES)   \
20         eggmarshalers.c 
21
22 noinst_HEADERS = \
23         $(EGGHEADERS)   \
24         eggmarshalers.h
25
26 BUILT_SOURCES = eggmarshalers.h eggmarshalers.c
27
28 eggmarshalers.h: eggmarshalers.list
29         $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h
30
31 eggmarshalers.c: eggmarshalers.list
32         echo '#include "eggmarshalers.h"' > eggmarshalers.c
33         $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body >> eggmarshalers.c
34
35 egg-marshal.c: eggmarshalers.c eggmarshalers.h
36
37 EXTRA_DIST= \
38         eggmarshalers.list
39
40 EGGFILES=$(EGGSOURCES) $(EGGHEADERS)
41 EGGDIR=$(srcdir)/../../../libegg/libegg
42 regenerate-built-sources:
43         EGGFILES="$(EGGFILES) eggmarshalers.list" EGGDIR="$(EGGDIR)" $(top_srcdir)/cut-n-paste/update-from-egg.sh