Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cut-n-paste/toolbar-editor/Makefile.am
blob: 95157ff978616b6a5b5d6582706a5539940d708b (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
37
38
39
40
41
42
43

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

noinst_LTLIBRARIES = libtoolbareditor.la

EGGSOURCES = \
	egg-toolbars-model.c		\
	egg-editable-toolbar.c		\
	egg-toolbar-editor.c

EGGHEADERS = \
	eggintl.h			\
	egg-toolbars-model.h		\
	egg-editable-toolbar.h		\
	egg-toolbar-editor.h

libtoolbareditor_la_SOURCES = \
	$(EGGSOURCES)	\
	eggmarshalers.c	

noinst_HEADERS = \
	$(EGGHEADERS)	\
	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

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