b13fecba37a08ade8e1180dcce23dc864e91da65
[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                 misc.c \
37                 privatebcb-priv.h \
38                 privatebcb.c \
39                 privatebcb.h \
40                 privatebcbmap.c \
41                 privatebcbmap.h \
42                 privatebcbpin.c \
43                 privatebcbpin.h \
44                 sharedcachemap-priv.h \
45                 sharedcachemap.c \
46                 sharedcachemap.h \
47                 $(MARSHALLERS)
48
49 marshallers.h: marshallers.list
50         $(GLIB_GENMARSHAL) --prefix=captive_cc $< --header >$@
51
52 marshallers.c: marshallers.list
53         $(GLIB_GENMARSHAL) --prefix=captive_cc $< --body >$@
54
55 EXTRA_DIST+= \
56                 marshallers.list
57 MARSHALLERS= \
58                 marshallers.c \
59                 marshallers.h
60 # 'BUILT_SOURCES' will force its building before any other compilation.
61 BUILT_SOURCES+=$(MARSHALLERS)
62 CLEANFILES+=$(MARSHALLERS)