Makefile_insert revision ad45b3a342aa3f5a1fbab4e8072cfb68432ecb29
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncink_common_sources += \
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).
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 else mv helper/tmp.sp-marshal.h helper/sp-marshal.h; fi
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 ) \
d0a71f63bd810b54e0359223fe53b07730154dc5vboxsync if cmp -s helper/sp-marshal.cpp helper/tmp.sp-marshal.cpp; \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync else mv helper/tmp.sp-marshal.cpp helper/sp-marshal.cpp; fi