Split (vfs|directory|file) to &, &_parent and &_slave by inheritance.
[captive.git] / src / libcaptive / sandbox / Makefile.am
1 # $Id$
2 # automake source for CORBA ORBit IDL definition of sandbox intra-captive interface Makefile
3 # Copyright (C) 2002-2003 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 SANDBOX_IDL_SOURCES= \
23                 sandbox-common.c \
24                 sandbox-skels.c \
25                 sandbox-stubs.c \
26                 sandbox.h
27
28 noinst_LTLIBRARIES=libsandbox.la
29 libsandbox_la_SOURCES= \
30                 $(SANDBOX_IDL_SOURCES) \
31                 FileInfo.c \
32                 FileInfo.h \
33                 client-CaptiveIOChannel.c \
34                 client-CaptiveIOChannel.h \
35                 parent-Directory.c \
36                 parent-Directory.h \
37                 parent-File.c \
38                 parent-File.h \
39                 parent-Vfs.c \
40                 parent-Vfs.h \
41                 server-CaptiveIOChannel.c \
42                 server-CaptiveIOChannel.h \
43                 server-Directory.c \
44                 server-Directory.h \
45                 server-File.c \
46                 server-File.h \
47                 server-GLogFunc.c \
48                 server-GLogFunc.h \
49                 server-Vfs.c \
50                 server-Vfs.h \
51                 split.c \
52                 split.h
53
54 libsandbox_la_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS) $(GNOME_VFS_MODULE_CFLAGS) $(LIBXML_CFLAGS)
55
56 # $(LINC_LIBS) should be included by $(ORBIT_LIBS)
57 # As we have no direct dependency on 'linc' it would be fatal if unexpectedly
58 # ORBit-2 would not use 'linc'.
59 libsandbox_la_LIBADD=$(ORBIT_LIBS) $(GNOME_VFS_MODULE_LIBS)
60
61 CLEANFILES+= \
62                 $(sandbox_SOURCES)
63
64 # Produced 'sandbox-skelimpl.c' is never compiled,
65 # it is just a source of templates for server-*.[ch] files
66 EXTRA_DIST+=sandbox.idl
67 $(SANDBOX_IDL_SOURCES): sandbox.idl
68         $(ORBIT_IDL) --skeleton-impl $<
69
70 split.lo: sandbox.h