INCLUDES = $(WOMBAT_CFLAGS)

# CORBA stuff

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

$(IDLS): $(ORBIT_IDL)

$(IDL_GENERATED): $(IDLS)
	$(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \
		$(top_srcdir)/wombat/wombat.idl

# Wombat library
lib_LTLIBRARIES = libwombat.la

wombatincludedir = $(includedir)/evolution/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
