]> matita.cs.unibo.it Git - helm.git/blob - helm/gtkmathview-bonobo/src/Makefile.am
select and click signal added
[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   aux.cc \
35   handlers.c \
36   view.c
37
38 pkginclude_HEADERS = \
39   control-factory.h \
40   persist-file.h    \
41   persist-stream.h  \
42   handlers.h \
43   view.h
44
45 server_DATA = $(server_in_files:.server.in.in=.server)
46 $(server_in_files:.server.in.in=.server): $(server_in_files:.server.in.in=.server.in) Makefile
47         sed -e "s|\@GTKMATHVIEW_FACTORY_LOCATION\@|$(location)|g" $< >$@
48
49 view.c : $(VIEW_CORBA_GENERATED)
50
51 $(IDL_GENERATED): $(IDL)
52         $(ORBIT_IDL) $(BONOBO_IDL_INCLUDES) $<
53
54 EXTRA_DIST = $(server_DATA)
55
56 INCLUDES = \
57   $(BONOBOUI_CFLAGS) \
58   $(BONOBO_CFLAGS) \
59   $(GTKMATHVIEW_CFLAGS)
60