Initial original import from: fuse-2.4.2-2.fc4
[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 libsandbox_la_LIBADD=$(ORBIT_LIBS)   $(LINC_LIBS)   $(GNOME_VFS_MODULE_LIBS)
57
58 CLEANFILES+= \
59                 $(SANDBOX_IDL_SOURCES)
60 BUILT_SOURCES+= \
61                 $(SANDBOX_IDL_SOURCES)
62
63 # Produced 'sandbox-skelimpl.c' is never compiled,
64 # it is just a source of templates for server-*.[ch] files
65 EXTRA_DIST+=sandbox.idl
66 $(SANDBOX_IDL_SOURCES): sandbox.idl
67         $(ORBIT_IDL) --skeleton-impl $<
68
69 split.lo: sandbox.h