[Nautilus-list] Patch to speed up building



Hello,

here's a patch that removes some multiple references to
NAUTILUS_PRIVATE_LIBS in Makefile.am which speeds up linking with
libtool 1.4. Before this patch, a complete build of nautilus took 25
minutes, now it takes 15 minutes.

I'm sure that this can be improved but this is an easy thing to start
with :)

//andersca
andersca gnu org

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.4696
diff -u -r1.4696 ChangeLog
--- ChangeLog	2001/07/21 08:12:26	1.4696
+++ ChangeLog	2001/07/21 13:01:30
@@ -1,3 +1,13 @@
+2001-07-21  Anders Carlsson  <andersca gnome org>
+
+	* components/help/Makefile.am:
+	* components/sample/Makefile.am:
+	* libnautilus-adapter/Makefile.am:
+	* libnautilus-private/Makefile.am:
+	* libnautilus/Makefile.am:
+	Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since 
+	having multiple references makes linking very slow with libtool 1.4.
+
 2001-07-20  Maciej Stachowiak  <mjs eazel com>
 
 	Fixed bugzilla.eazel.com bug 7015 (Item count not updated when
Index: components/help/Makefile.am
===================================================================
RCS file: /cvs/gnome/nautilus/components/help/Makefile.am,v
retrieving revision 1.36
diff -u -r1.36 Makefile.am
--- components/help/Makefile.am	2001/06/08 16:17:23	1.36
+++ components/help/Makefile.am	2001/07/21 13:01:30
@@ -20,12 +20,7 @@
 LDADD =\
 	$(top_builddir)/libnautilus/libnautilus.la \
 	$(top_builddir)/libnautilus-private/libnautilus-private.la \
-	$(EEL_LIBS) \
-	$(LIBRSVG_LIBS) \
-	$(BONOBO_LIBS) \
-	$(GCONF_LIBS) \
-	$(GNOMEUI_LIBS) \
-	$(XML_LIBS)
+	$(NAUTILUS_PRIVATE_LIBS) 
 
 hyperbola_SOURCES=		\
 	hyperbola-nav.h		\
Index: components/sample/Makefile.am
===================================================================
RCS file: /cvs/gnome/nautilus/components/sample/Makefile.am,v
retrieving revision 1.27
diff -u -r1.27 Makefile.am
--- components/sample/Makefile.am	2001/05/02 12:18:41	1.27
+++ components/sample/Makefile.am	2001/07/21 13:01:30
@@ -26,8 +26,8 @@
 
 nautilus_sample_content_view_LDADD =		\
 	$(top_builddir)/libnautilus/libnautilus.la	\
-	$(GNOMEUI_LIBS)				\
 	$(BONOBO_LIBS)				\
+	$(BONOBOX_LIBS)				\
 	$(GCONF_LIBS)				\
 	$(VFS_LIBS)				\
 	$(LIBRSVG_LIBS)				\
Index: libnautilus/Makefile.am
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus/Makefile.am,v
retrieving revision 1.94
diff -u -r1.94 Makefile.am
--- libnautilus/Makefile.am	2001/06/01 18:06:22	1.94
+++ libnautilus/Makefile.am	2001/07/21 13:01:30
@@ -11,7 +11,6 @@
 	$(NULL)
 
 libnautilus_la_LDFLAGS=\
-	$(NAUTILUS_DEPENDENCY_LIBS) \
 	$(NULL)
 
 nautilus_view_component_idl_sources =		\
Index: libnautilus-adapter/Makefile.am
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-adapter/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- libnautilus-adapter/Makefile.am	2001/05/02 12:18:47	1.5
+++ libnautilus-adapter/Makefile.am	2001/07/21 13:01:30
@@ -10,7 +10,6 @@
 	$(NULL)
 
 libnautilus_adapter_la_LDFLAGS= \
-	$(NAUTILUS_PRIVATE_LIBS) \
 	$(NULL)
 
 
Index: libnautilus-private/Makefile.am
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/Makefile.am,v
retrieving revision 1.191
diff -u -r1.191 Makefile.am
--- libnautilus-private/Makefile.am	2001/07/11 14:38:47	1.191
+++ libnautilus-private/Makefile.am	2001/07/21 13:01:30
@@ -28,7 +28,6 @@
 
 libnautilus_private_la_LDFLAGS =	\
 	$(dependency_static_libs)	\
-	$(NAUTILUS_PRIVATE_LIBS)	\
 	$(ESD_LIBS)			\
 	$(LIBJPEG) 			\
 	$(MEDUSA_LIBS) 			\


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