diff options
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/Makefile.am | 11 | ||||
-rw-r--r-- | src/glibext/gcodebuffer.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/glibext/Makefile.am b/src/glibext/Makefile.am index d5235c8..b6f100b 100644 --- a/src/glibext/Makefile.am +++ b/src/glibext/Makefile.am @@ -1,7 +1,10 @@ +BUILT_SOURCES = chrysamarshal.h chrysamarshal.c + noinst_LTLIBRARIES = libglibext.la libglibext_la_SOURCES = \ + chrysamarshal.h chrysamarshal.c \ delayed-int.h \ delayed.h delayed.c \ gbufferline.h gbufferline.c \ @@ -21,3 +24,11 @@ AM_CPPFLAGS = AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) SUBDIRS = + + +chrysamarshal.h: chrysamarshal.list + glib-genmarshal --header $< > $@ + +chrysamarshal.c: chrysamarshal.list + echo "#include <$(subst .c,.h,$@)>" > $@ + glib-genmarshal --body $< >> $@ diff --git a/src/glibext/gcodebuffer.c b/src/glibext/gcodebuffer.c index 452d695..1f1ff71 100644 --- a/src/glibext/gcodebuffer.c +++ b/src/glibext/gcodebuffer.c @@ -28,8 +28,8 @@ #include <string.h> +#include "chrysamarshal.h" #include "delayed-int.h" -#include "../gtkext/iodamarshal.h" |