Rewritten Cache Manager to better match its W32 original behaviour
[captive.git] / src / libcaptive / cc / Makefile.am
index b0e9162..91d52e3 100644 (file)
@@ -21,4 +21,45 @@ include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
 
 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
+