noinst_LTLIBRARIES=libcc.la
libcc_la_SOURCES= \
- map.c
+ bcbmap.c \
+ bcbowner.c \
+ bcbpin.c \
+ bcbrepin.c \
+ bcbunpin.c \
+ cache.c \
+ copy.c \
+ dirtypages.c \
+ init.c \
+ io.c \
+ io.h \
+ loghandle.c \
+ marshallers.c \
+ marshallers.h \
+ misc.c \
+ privatebcb-priv.h \
+ privatebcb.c \
+ privatebcb.h \
+ privatebcbmap.c \
+ privatebcbmap.h \
+ privatebcbpin.c \
+ privatebcbpin.h \
+ sharedcachemap-priv.h \
+ sharedcachemap.c \
+ sharedcachemap.h
+
+marshallers.h: marshallers.list
+ glib-genmarshal --prefix=captive_cc $< --header >$@~ \
+ && (cmp -s $@~ $@ || cp -p $@~ $@) \
+ && $(RM) $@~
+
+marshallers.c: marshallers.list
+ glib-genmarshal --prefix=captive_cc $< --body >$@~ \
+ && (cmp -s $@~ $@ || cp -p $@~ $@) \
+ && $(RM) $@~
+
+CLEANFILES+= \
+ marshallers.c \
+ marshallers.h
+
+sharedcachemap.lo: marshallers.h
+