]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/Makefile.am
* added test View interface. It is basically empty but eventually it will host
[helm.git] / helm / gtkmathview-bonobo / src / Makefile.am
1
2 location = $(libdir)/libgtkmathview-bonobo.so
3 serverdir = $(libdir)/bonobo/servers
4 server_in_files = GNOME_GtkMathView.server.in.in
5
6 CLEANFILES = $(server_in_files:.server.in.in=.server)
7
8 IDL = $(top_srcdir)/idl/GNOME_GtkMathView_View.idl
9
10 IDL_GENERATED_C = \
11   GNOME_GtkMathView_View-common.c \
12   GNOME_GtkMathView_View-skels.c \
13   GNOME_GtkMathView_View-stubs.c
14
15 IDL_GENERATED_H = \
16   GNOME_GtkMathView_View.h
17
18 IDL_GENERATED = $(IDL_GENERATED_C) $(IDL_GENERATED_H)
19
20 lib_LTLIBRARIES = libgtkmathview-bonobo.la
21
22 libgtkmathview_bonobo_la_LIBADD = \
23   $(GTKMATHVIEW_LIBS) \
24   $(BONOBOUI_LIBS) \
25   $(BONOBO_LIBS)
26
27 libgtkmathview_bonobo_la_LDFLAGS = -version-info @GTKMATHVIEW_CONTROL_VERSION_INFO@
28
29 libgtkmathview_bonobo_la_SOURCES = \
30   $(IDL_GENERATED_C) \
31   control-factory.c \
32   persist-file.c \
33   persist-stream.c \
34   view.c
35
36 pkginclude_HEADERS = \
37   control-factory.h \
38   persist-file.h    \
39   persist-stream.h \
40   view.h
41
42 server_DATA = $(server_in_files:.server.in.in=.server)
43 $(server_in_files:.server.in.in=.server): $(server_in_files:.server.in.in=.server.in) Makefile
44         sed -e "s|\@GTKMATHVIEW_FACTORY_LOCATION\@|$(location)|g" $< >$@
45
46 view.c : $(VIEW_CORBA_GENERATED)
47
48 $(IDL_GENERATED): $(IDL)
49         $(ORBIT_IDL) $(BONOBO_IDL_INCLUDES) $<
50
51 EXTRA_DIST = $(server_DATA)
52
53 INCLUDES = \
54   $(BONOBOUI_CFLAGS) \
55   $(BONOBO_CFLAGS) \
56   $(GTKMATHVIEW_CFLAGS)
57