Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cut-n-paste/toolbar-editor
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-rw-r--r--cut-n-paste/toolbar-editor/Makefile.am21
1 files changed, 9 insertions, 12 deletions
diff --git a/cut-n-paste/toolbar-editor/Makefile.am b/cut-n-paste/toolbar-editor/Makefile.am
index 5a9b233..a2e5c46 100644
--- a/cut-n-paste/toolbar-editor/Makefile.am
+++ b/cut-n-paste/toolbar-editor/Makefile.am
@@ -2,32 +2,29 @@
INCLUDES = $(TOOLBAR_EDITOR_CFLAGS) \
-DCURSOR_DIR=\"$(pkgdatadir)\"
-BUILT_SOURCES = eggmarshalers.c eggmarshalers.h
-
noinst_LTLIBRARIES = libtoolbareditor.la
libtoolbareditor_la_SOURCES = \
egg-toolbars-model.c \
egg-editable-toolbar.c \
egg-toolbar-editor.c \
- egg-marshal.c
+ egg-marshal.c \
+ eggmarshalers.c
noinst_HEADERS = \
egg-toolbars-model.h \
egg-editable-toolbar.h \
- egg-toolbar-editor.h
+ egg-toolbar-editor.h \
+ eggmarshalers.h
+
+BUILT_SOURCES = eggmarshalers.h eggmarshalers.c
eggmarshalers.h: eggmarshalers.list
- cd $(srcdir) \
- && $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --header > xgen-emh \
- && cp xgen-emh eggmarshalers.h \
- && rm -f xgen-emh xgen-emh~
+ $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h
eggmarshalers.c: eggmarshalers.list
- cd $(srcdir) \
- && $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --body > xgen-emc \
- && cp xgen-emc eggmarshalers.c \
- && rm -f xgen-emc xgen-emc~
+ echo '#include "eggmarshalers.h"' > eggmarshalers.c
+ $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body >> eggmarshalers.c
egg-marshal.c: eggmarshalers.c eggmarshalers.h