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>
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
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.
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
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
22 SANDBOX_IDL_SOURCES= \
28 noinst_LTLIBRARIES=libsandbox.la
29 libsandbox_la_SOURCES= \
30 $(SANDBOX_IDL_SOURCES) \
32 server-GlibLogFunc.c \
33 server-GlibLogFunc.h \
39 libsandbox_la_CFLAGS=$(ORBIT_CFLAGS) $(LINC_CFLAGS)
40 # $(LINC_LIBS) should be included by $(ORBIT_LIBS)
41 # As we have no direct dependency on 'linc' it would be fatal if unexpectedly
42 # ORBit-2 would not use 'linc'.
43 libsandbox_la_LIBADD=$(ORBIT_LIBS)
48 # Produced 'sandbox-skelimpl.c' is never compiled,
49 # it is just a source of templates for server-*.[ch] files
50 $(SANDBOX_IDL_SOURCES): sandbox.idl
51 $(ORBIT_IDL) --skeleton-impl $<