Makefile_insert revision 9cf82ac568634e779873c4bf6cd6b7bdd465556d
2370N/A## Makefile.am fragment sourced by src/Makefile.am.
2685N/A
2370N/A#
2370N/A# Miscellaneous unsystematized and temporary helper utilities
2370N/A#
2370N/A# libspchelp - canvas utilities, specific canvas items
2685N/A#
2370N/A
2685N/Ahelper/all: helper/libspchelp.a
2370N/A
2370N/Ahelper/clean:
2370N/A rm -f helper/libspchelp.a $(helper_libspchelp_a_OBJECTS)
2370N/A
2370N/Ahelper/unit-menu.$(OBJEXT): helper/sp-marshal.h
2370N/A
2370N/Ahelper_libspchelp_a_SOURCES = \
2370N/A helper/action.cpp \
2370N/A helper/action.h \
2370N/A helper/geom.cpp \
2370N/A helper/geom.h \
2685N/A helper/geom-curves.h \
2685N/A helper/geom-nodetype.cpp \
2685N/A helper/geom-nodetype.h \
2370N/A helper/gnome-utils.cpp \
2370N/A helper/gnome-utils.h \
2370N/A helper/helper-forward.h \
2370N/A helper/png-write.cpp \
2370N/A helper/png-write.h \
2370N/A helper/recthull.h \
2370N/A helper/sp-marshal.cpp \
2370N/A helper/sp-marshal.h \
2370N/A helper/stlport.h \
helper/unit-menu.cpp \
helper/unit-menu.h \
helper/unit-tracker.cpp \
helper/unit-tracker.h \
helper/units.cpp \
helper/units.h \
helper/window.cpp \
helper/window.h \
helper/stock-items.cpp \
helper/stock-items.h
# cmp exits with status 0 when there are no differences. "if" executes the commands
# after "then" when the exit status of the if command is 0 (this is crazy).
helper/sp-marshal.h: helper/sp-marshal.list
glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.sp-marshal.h
if cmp -s helper/sp-marshal.h helper/tmp.sp-marshal.h; \
then rm helper/tmp.sp-marshal.h; \
else mv helper/tmp.sp-marshal.h helper/sp-marshal.h; fi
helper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
( echo '#include "helper/sp-marshal.h"' && \
glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
> helper/tmp.sp-marshal.cpp; \
if cmp -s helper/sp-marshal.cpp helper/tmp.sp-marshal.cpp; \
then rm helper/tmp.sp-marshal.cpp; \
else mv helper/tmp.sp-marshal.cpp helper/sp-marshal.cpp; fi
helper/sp-marshal.cpp helper/sp-marshal.h: helper/sp-marshal.list
# ######################
# ### CxxTest stuff ####
# ######################
CXXTEST_TESTSUITES += \
$(srcdir)/helper/units-test.h