[monkey-bubble: 239/753] Added the CORBA sources. (libgnome_headers): Install Gnome.h.



commit b58e0c36422e9b8294c53dba4119d343a79caca4
Author: Martin Baulig <baulig suse de>
Date:   Mon Apr 30 12:41:31 2001 +0000

    Added the CORBA sources. (libgnome_headers): Install Gnome.h.
    
    2001-04-30  Martin Baulig  <baulig suse de>
    
    	* Makefile.am (libgnome_2_la_SOURCES): Added the CORBA sources.
    	(libgnome_headers): Install Gnome.h.
    
    	* libgnome.h: #include <libgnome/Gnome.h>.

 libgnome/ChangeLog   |    7 +++++++
 libgnome/Makefile.am |   19 +++++++++++++++++++
 libgnome/libgnome.h  |    2 ++
 3 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index ef95bda..4c35a0a 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,5 +1,12 @@
 2001-04-30  Martin Baulig  <baulig suse de>
 
+	* Makefile.am (libgnome_2_la_SOURCES): Added the CORBA sources.
+	(libgnome_headers): Install Gnome.h.
+
+	* libgnome.h: #include <libgnome/Gnome.h>.
+
+2001-04-30  Martin Baulig  <baulig suse de>
+
 	* gnome-marshal.list, gnome-marshal-main.c: Moved here
 	from libgnomeui.
 
diff --git a/libgnome/Makefile.am b/libgnome/Makefile.am
index ab88233..587414b 100644
--- a/libgnome/Makefile.am
+++ b/libgnome/Makefile.am
@@ -7,6 +7,8 @@
 LIB_VERSION=0:0:0
 LIB_VERSION_NUM=0.0.0
 
+ORBIT_IDL = orbit-idl
+
 lib_LTLIBRARIES = libgnome-2.la
 
 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
@@ -34,9 +36,25 @@ INCLUDES = \
 	-DGNOMEVFSVERSION=\""$(GNOME_VFS_VERSION)"\" \
 	-DG_LOG_DOMAIN=\"Gnome\"
 
+CORBA_SOURCE =			\
+	Gnome.h			\
+	Gnome-common.c		\
+	Gnome-stubs.c		\
+	Gnome-skels.c
+
+idls =							\
+	$(top_srcdir)/idl/Gnome.idl			\
+	$(top_srcdir)/idl/Gnome_Selector.idl
+
+idl_flags = -I $(datadir)/idl -D__GNOME_COMPILATION
+
+$(CORBA_SOURCE): $(idls)
+	$(ORBIT_IDL) $(top_srcdir)/idl/Gnome.idl -I$(top_srcdir)/idl $(idl_flags)
+
 libgnome_2_la_SOURCES = \
 	libgnometypebuiltins.h	\
 	libgnometypebuiltins.c	\
+	$(CORBA_SOURCE)		\
 	gnome-program.c		\
 	gnome-config.c		\
 	gnome-ditem.c		\
@@ -55,6 +73,7 @@ libgnome_2_la_SOURCES = \
 	libgnome-init.c
 
 libgnome_headers = \
+	Gnome.h			\
 	gnome-program.h		\
 	gnome-i18n.h		\
         gnome-config.h 		\
diff --git a/libgnome/libgnome.h b/libgnome/libgnome.h
index 9a0c346..6c79cb2 100644
--- a/libgnome/libgnome.h
+++ b/libgnome/libgnome.h
@@ -44,6 +44,8 @@
 #include <libgnome/gnome-preferences.h>
 #include <libgnome/gnome-marshal.h>
 
+#include <libgnome/Gnome.h>
+
 #include <libgnome/libgnome-init.h>
 
 #ifdef COMPAT_1_0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]