Makefile_insert revision ad45b3a342aa3f5a1fbab4e8072cfb68432ecb29
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync## Makefile.am fragment sourced by src/Makefile.am.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynchelper/unit-menu.$(OBJEXT): helper/sp-marshal.h
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncink_common_sources += \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/action.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/action.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/action-context.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/action-context.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/geom.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/geom.h \
d0a71f63bd810b54e0359223fe53b07730154dc5vboxsync helper/geom-curves.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/geom-nodetype.cpp \
d0a71f63bd810b54e0359223fe53b07730154dc5vboxsync helper/geom-nodetype.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/gnome-utils.cpp \
d0a71f63bd810b54e0359223fe53b07730154dc5vboxsync helper/gnome-utils.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/mathfns.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/png-write.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/png-write.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/sp-marshal.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/sp-marshal.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/window.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/window.h \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/stock-items.cpp \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync helper/stock-items.h
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# cmp exits with status 0 when there are no differences. "if" executes the commands
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# after "then" when the exit status of the if command is 0 (this is crazy).
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynchelper/sp-marshal.h: helper/sp-marshal.list
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync glib-genmarshal --prefix=sp_marshal --header $(srcdir)/helper/sp-marshal.list > helper/tmp.sp-marshal.h
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync if cmp -s helper/sp-marshal.h helper/tmp.sp-marshal.h; \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync then rm helper/tmp.sp-marshal.h; \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync else mv helper/tmp.sp-marshal.h helper/sp-marshal.h; fi
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynchelper/sp-marshal.cpp: helper/sp-marshal.list helper/sp-marshal.h
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync ( echo '#include "helper/sp-marshal.h"' && \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync > helper/tmp.sp-marshal.cpp; \
d0a71f63bd810b54e0359223fe53b07730154dc5vboxsync if cmp -s helper/sp-marshal.cpp helper/tmp.sp-marshal.cpp; \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync then rm helper/tmp.sp-marshal.cpp; \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync else mv helper/tmp.sp-marshal.cpp helper/sp-marshal.cpp; fi
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynchelper/sp-marshal.cpp helper/sp-marshal.h: helper/sp-marshal.list
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync