* Ralph H. Castain wrote on Tue, Nov 15, 2005 at 03:45:26PM CET:
> At 07:33 AM 11/15/2005, you wrote:
> >Would it help if only the change not to build a convenience archive in
> >orte/dps would be reverted? You could then
> > cd orte
> > make dps/libdps.la
> >and would only have to issue the link command for liborte.la manually
> >(to override rebuilding all other files that depend on dps.h). This
> >change has very little impact on overall autogen/build execution time.
> Your proposed change would help a great deal - thanks! Can you steer
> me through the change?
Sure. Make sure to have automake installed, apply the patch below,
then `make' should cause the Makefiles to be rebuilt.
For building/testing, I'd do as above:
To now recreate liborte.la without triggering all other stuff:
If you happen to use GNU make, you could use this hack (warning!
hack! do not ever do this for non-debug builds!)
This just touches everything, so the next run of make will believe
everything to be up to date. (You need a "make clean" to undo this
when you really want everything updated.)
Then, to recreate liborte, you do
../libtool --mode=clean rm -f liborte.la
(In most but not all cases, the former can be replaced by "rm -f
liborte.la"). Hope that helps.
--- orte/dps/Makefile.am (revision 8159)
+++ orte/dps/Makefile.am (working copy)
@@ -24,7 +24,8 @@
-liborte_la_SOURCES += \
+noinst_LTLIBRARIES += dps/libdps.la
+dps_libdps_la_SOURCES = \
--- orte/Makefile.am (revision 8159)
+++ orte/Makefile.am (working copy)
@@ -33,6 +33,7 @@
lib_LTLIBRARIES = liborte.la
liborte_la_LIBADD = \
+ dps/libdps.la \
liborte_la_DEPENDENCIES = $(liborte_la_LIBADD)