X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fgtkmathview-bonobo%2Fsrc%2FMakefile.am;h=9ae3d2cff45eeb91f960343519318bda17633650;hb=450d16b153ca65b088474c69e5d8972659735731;hp=3abccce7c306b7a5551bb232a82c89e915662ffe;hpb=22bb9330d93cdf89baa5df76df6db72709a4d6fb;p=helm.git diff --git a/helm/gtkmathview-bonobo/src/Makefile.am b/helm/gtkmathview-bonobo/src/Makefile.am index 3abccce7c..9ae3d2cff 100644 --- a/helm/gtkmathview-bonobo/src/Makefile.am +++ b/helm/gtkmathview-bonobo/src/Makefile.am @@ -5,25 +5,51 @@ server_in_files = GNOME_GtkMathView.server.in.in CLEANFILES = $(server_in_files:.server.in.in=.server) +IDL = $(top_srcdir)/idl/GNOME_GtkMathView_View.idl + +IDL_GENERATED_C = \ + GNOME_GtkMathView_View-common.c \ + GNOME_GtkMathView_View-skels.c \ + GNOME_GtkMathView_View-stubs.c + +IDL_GENERATED_H = \ + GNOME_GtkMathView_View.h + +IDL_GENERATED = $(IDL_GENERATED_C) $(IDL_GENERATED_H) + lib_LTLIBRARIES = libgtkmathview-bonobo.la -libgtkmathview_bonobo_la_LIBADD = $(GTKMATHVIEW_LIBS) $(BONOBOUI_LIBS) $(BONOBO_LIBS) +libgtkmathview_bonobo_la_LIBADD = \ + $(GTKMATHVIEW_LIBS) \ + $(BONOBOUI_LIBS) \ + $(BONOBO_LIBS) + libgtkmathview_bonobo_la_LDFLAGS = -version-info @GTKMATHVIEW_CONTROL_VERSION_INFO@ libgtkmathview_bonobo_la_SOURCES = \ + $(IDL_GENERATED_C) \ control-factory.c \ persist-file.c \ - persist-stream.c + persist-stream.c \ + view.c pkginclude_HEADERS = \ control-factory.h \ persist-file.h \ - persist-stream.h + persist-stream.h \ + view.h server_DATA = $(server_in_files:.server.in.in=.server) $(server_in_files:.server.in.in=.server): $(server_in_files:.server.in.in=.server.in) Makefile sed -e "s|\@GTKMATHVIEW_FACTORY_LOCATION\@|$(location)|g" $< >$@ +view.c : $(VIEW_CORBA_GENERATED) + +$(IDL_GENERATED): $(IDL) + $(ORBIT_IDL) $(BONOBO_IDL_INCLUDES) $< + +EXTRA_DIST = $(server_DATA) + INCLUDES = \ $(BONOBOUI_CFLAGS) \ $(BONOBO_CFLAGS) \