Makefile_insert revision 6b15695578f07a3f72c4c9475c1a261a3021472a
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster## Makefile.am fragment sourced by src/Makefile.am.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Miscellaneous unsystematized and temporary helper utilities
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# libspchelp - canvas utilities, specific canvas items
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster rm -f helper/libspchelp.a $(helper_libspchelp_a_OBJECTS)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterhelper_libspchelp_a_SOURCES = \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# TODO: Check that the generated sp-marshal.h is the same as before.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.$$$$ \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterhelper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster ( echo '#include "helper/sp-marshal.h"' && \
c42550c0e86e2c3f821f5e754ea8ba52d8bb5427Tony Bamford glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterhelper/sp-marshal.cpp helper/sp-marshal.h: Makefile
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterhelper_units_test_SOURCES = helper/units-test.cpp
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterhelper_units_test_LDADD = helper/libspchelp.a -lglib-2.0