summaryrefslogtreecommitdiffstats
path: root/arts/gui/common/Makefile.am
blob: 9d82449f12b617527d2f45c0cdd7d7bab30220c5 (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
lib_LTLIBRARIES = libartsgui_idl.la libartsgui.la

INCLUDES= -I$(arts_includes) -I$(top_builddir)/arts/runtime $(all_includes)

libartsgui_idl_la_SOURCES = artsgui.cc
libartsgui_idl_la_LIBADD = -lmcop $(LIBDL)
libartsgui_idl_la_LDFLAGS = $(all_libraries) -L$(arts_libraries) \
  -no-undefined

libartsgui_la_SOURCES = genericguifactory_impl.cc
libartsgui_la_LIBADD = libartsgui_idl.la
libartsgui_la_LDFLAGS = $(all_libraries) -no-undefined
libartsgui_la_COMPILE_FIRST = artsgui.h

artsgui.cc artsgui.h: $(srcdir)/artsgui.idl $(MCOPIDL)
	$(MCOPIDL) -t -I$(includedir)/arts $(srcdir)/artsgui.idl

artsgui.mcoptype: artsgui.h
artsgui.mcopclass: artsgui.h

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

####### install idl files

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

mcopclassdir = $(libdir)/mcop/Arts
mcopclass_DATA = GenericGuiFactory.mcopclass

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

artsgui.lo: artsgui.h