summaryrefslogtreecommitdiffstats
path: root/arts/runtime/Makefile.am
blob: d97ad50bd62488471d24a0f2173df717c370575e (plain)
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
36
37
38
####### Runtime part of artsbuilder: this part will get dynamically loaded
# into the aRts server (or other apps) to create structures which are designed
# in artsbuilder. So to speak it's the "loader for the .arts language".

AM_CXXFLAGS = -DEXAMPLES_DIR='"$(arts_datadir)/artsbuilder/examples"'
INCLUDES= -I$(arts_includes) $(all_includes)

lib_LTLIBRARIES = libartsbuilder.la

libartsbuilder_la_SOURCES = artsbuilder.cc sequenceutils.cc \
  structurebuilder_impl.cc structures_impl.cc moduleinfo.cc \
  compatibility.cc localfactory_impl.cc artsbuilderloader_impl.cc

libartsbuilder_la_LIBADD = -lmcop -lartsflow $(LIBDL) -lartsflow_idl
libartsbuilder_la_COMPILE_FIRST = artsbuilder.h
libartsbuilder_la_LDFLAGS = $(all_libraries) -L$(arts_libraries) \
  -no-undefined

artsbuilder.lo: artsbuilder.h
artsbuilder.mcopclass: artsbuilder.h
artsbuilder.mcoptype: artsbuilder.h
artsbuilder.h artsbuilder.cc: $(srcdir)/artsbuilder.idl $(MCOPIDL)
	$(MCOPIDL) -t -I$(arts_includes) $(srcdir)/artsbuilder.idl

DISTCLEANFILES = artsbuilder.cc artsbuilder.h \
  artsbuilder.mcoptype artsbuilder.mcopclass

####### install idl files

artsincludedir = $(includedir)/arts
artsinclude_HEADERS = artsbuilder.h artsbuilder.idl

mcopclassdir = $(libdir)/mcop/Arts
mcopclass_DATA = StructureBuilder.mcopclass StructureDesc.mcopclass \
	LocalFactory.mcopclass ArtsBuilderLoader.mcopclass

mcoptypedir = $(libdir)/mcop
mcoptype_DATA = artsbuilder.mcoptype artsbuilder.mcopclass