aboutsummaryrefslogtreecommitdiffstats
path: root/libwombat/Makefile.am
blob: 3c6723fc81a7047aa103e368c7dca701babba19f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
INCLUDES = $(WOMBAT_CFLAGS)

# CORBA stuff

IDLS = $(top_srcdir)/wombat/Evolution-Wombat.idl
IDL_GENERATED = \
    Evolution-Wombat.h \
    Evolution-Wombat-common.c \
    Evolution-Wombat-skels.c \
    Evolution-Wombat-stubs.c

$(IDLS): $(ORBIT_IDL)

$(IDL_GENERATED): $(IDLS)
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl $(IDL_INCLUDES) \
        $(top_srcdir)/wombat/Evolution-Wombat.idl

# Wombat library
privlib_LTLIBRARIES = libwombat.la

wombatincludedir = $(privincludedir)/wombat
wombatinclude_HEADERS = \
    wombat-client.h

libwombat_la_SOURCES = \
    $(IDL_GENERATED) \
    wombat-client.c \
    $(wombatinclude_HEADERS)

# Static lib for pilot conduits

noinst_LTLIBRARIES = libwombat-static.la

libwombat_static_la_SOURCES = $(libwombat_la_SOURCES)
libwombat_static_la_LDFLAGS = --all-static