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