[monkey-bubble: 253/753] fixup corba dependencies more genericaly, add cleanfiles.



commit ec0c9cb9b329180233cb171c1faf4b0ce45e3c8f
Author: Michael Meeks <michael ximian com>
Date:   Tue May 1 22:34:43 2001 +0000

    fixup corba dependencies more genericaly, add cleanfiles.
    
    2001-05-01  Michael Meeks  <michael ximian com>
    
    	* Makefile.am: fixup corba dependencies more genericaly, add
    	cleanfiles.

 libgnome/ChangeLog   |    5 +++++
 libgnome/Makefile.am |   15 ++++++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index c9dd775..bd3c616 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-01  Michael Meeks  <michael ximian com>
+
+	* Makefile.am: fixup corba dependencies more genericaly, add
+	cleanfiles.
+
 2001-05-02  Martin Baulig  <baulig suse de>
 
 	* Makefile.am: Added explicit dependency
diff --git a/libgnome/Makefile.am b/libgnome/Makefile.am
index bca24e6..adbb9b1 100644
--- a/libgnome/Makefile.am
+++ b/libgnome/Makefile.am
@@ -51,12 +51,9 @@ idl_flags = -I $(datadir)/idl -D__GNOME_COMPILATION
 $(CORBA_SOURCE): $(idls)
 	$(ORBIT_IDL) $(top_srcdir)/idl/Gnome.idl -I$(top_srcdir)/idl $(idl_flags)
 
-libgnometypebuiltins.h libgnometypebuiltins.c: $(CORBA_SOURCE)
-
-libgnome_2_la_SOURCES = \
+libgnome_src = \
 	libgnometypebuiltins.h	\
 	libgnometypebuiltins.c	\
-	$(CORBA_SOURCE)		\
 	gnome-program.c		\
 	gnome-selector.c	\
 	gnome-config.c		\
@@ -75,6 +72,13 @@ libgnome_2_la_SOURCES = \
 	gnome-marshal-main.c	\
 	libgnome-init.c
 
+$(gnome2_src) : $(CORBA_SOURCE)
+CLEANFILES += $(CORBA_SOURCE)
+
+libgnome_2_la_SOURCES = \
+	$(libgnome_src)		\
+	$(CORBA_SOURCE)
+
 libgnome_headers = \
 	gnome-program.h		\
 	gnome-i18n.h		\
@@ -179,7 +183,8 @@ BUILT_SOURCES = \
 	libgnometypebuiltins.h		\
 	libgnometypebuiltins.c		\
 	gnome-marshal.h			\
-	gnome-marshal.c
+	gnome-marshal.c			\
+	$(CORBA_SOURCE)
 
 #just to be sure, add an explicit dependency
 gnome-config.o: parse-path.cP



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