+libcaptive/sandbox/
[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 # FIXME: Not yet finished
31 #               $(SANDBOX_IDL_SOURCES) \
32 #               split.c \
33 #               server-GlibLogFunc.c \
34 #               server-GlibLogFunc.h \
35 #               server-Directory.c \
36 #               server-Directory.h \
37 #               server-VFS.c \
38 #               server-VFS.h
39
40 libsandbox_la_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS)
41 # $(LINC_LIBS) should be included by $(ORBIT_LIBS)
42 # As we have no direct dependency on 'linc' it would be fatal if unexpectedly
43 # ORBit-2 would not use 'linc'.
44 libsandbox_la_LIBADD=$(ORBIT_LIBS)
45
46 CLEANFILES+= \
47                 $(sandbox_SOURCES)
48
49 # Produced 'sandbox-skelimpl.c' is never compiled,
50 # it is just a source of templates for server-*.[ch] files
51 $(SANDBOX_IDL_SOURCES): sandbox.idl
52         $(ORBIT_IDL) --skeleton-impl $<
53
54 split.lo: sandbox.h