Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cut-n-paste/toolbar-editor/Makefile.am
blob: a2e5c462d090a9f1c680941af5b0f041f8f56557 (plain)
1
2
3
4
5
6
7
8
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

INCLUDES = $(TOOLBAR_EDITOR_CFLAGS) \
	-DCURSOR_DIR=\"$(pkgdatadir)\" 

noinst_LTLIBRARIES = libtoolbareditor.la

libtoolbareditor_la_SOURCES = 	\
	egg-toolbars-model.c		\
	egg-editable-toolbar.c		\
	egg-toolbar-editor.c		\
	egg-marshal.c			\
	eggmarshalers.c	

noinst_HEADERS = 			\
	egg-toolbars-model.h		\
	egg-editable-toolbar.h		\
	egg-toolbar-editor.h		\
	eggmarshalers.h

BUILT_SOURCES = eggmarshalers.h eggmarshalers.c

eggmarshalers.h: eggmarshalers.list
	$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h

eggmarshalers.c: eggmarshalers.list
	echo '#include "eggmarshalers.h"' > eggmarshalers.c
	$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body >> eggmarshalers.c

egg-marshal.c: eggmarshalers.c eggmarshalers.h

EXTRA_DIST= \
	eggmarshalers.list

EGGDIR=$(srcdir)/../../../libegg/libegg
regenerate-built-sources:
	EGGFILES="$(EGGFILES) eggmarshalers.list" EGGDIR="$(EGGDIR)" $(top_srcdir)/cut-n-paste/update-from-egg.sh