Rewritten Cache Manager to better match its W32 original behaviour
[captive.git] / src / libcaptive / cc / Makefile.am
1 # $Id$
2 # automake source for the reactos's cc/ emulation of libcaptive Makefile 
3 # Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
21
22 noinst_LTLIBRARIES=libcc.la
23 libcc_la_SOURCES= \
24                 bcbmap.c \
25                 bcbowner.c \
26                 bcbpin.c \
27                 bcbrepin.c \
28                 bcbunpin.c \
29                 cache.c \
30                 copy.c \
31                 dirtypages.c \
32                 init.c \
33                 io.c \
34                 io.h \
35                 loghandle.c \
36                 marshallers.c \
37                 marshallers.h \
38                 misc.c \
39                 privatebcb-priv.h \
40                 privatebcb.c \
41                 privatebcb.h \
42                 privatebcbmap.c \
43                 privatebcbmap.h \
44                 privatebcbpin.c \
45                 privatebcbpin.h \
46                 sharedcachemap-priv.h \
47                 sharedcachemap.c \
48                 sharedcachemap.h
49
50 marshallers.h: marshallers.list
51            glib-genmarshal --prefix=captive_cc $< --header >$@~ \
52         && (cmp -s $@~ $@ || cp -p $@~ $@)                      \
53         && $(RM) $@~
54
55 marshallers.c: marshallers.list
56            glib-genmarshal --prefix=captive_cc $< --body >$@~ \
57         && (cmp -s $@~ $@ || cp -p $@~ $@)                    \
58         && $(RM) $@~
59
60 CLEANFILES+= \
61                 marshallers.c \
62                 marshallers.h
63
64 sharedcachemap.lo: marshallers.h
65