]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Check for and use ar.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Mar 2003 15:29:02 +0000 (15:29 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Mar 2003 15:29:02 +0000 (15:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@7273 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/Makefile
deal.II/contrib/hsl/Makefile
deal.II/deal.II/Makefile
deal.II/lac/Makefile

index 65e5c8e3e8022e88062e8e0cf646c434c833ec8d..ef573e61f1d723ea99a38a18ced9bb3ea4d71ae7 100644 (file)
@@ -46,12 +46,12 @@ endif
 
 $(LIBDIR)/libbase.a: $(o-files)
        @echo "=====base=============optimized==$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(o-files)
+       @$(AR) ru $@ $(o-files)
        @$(RANLIB) $@
 
 $(LIBDIR)/libbase.g.a: $(go-files)
        @echo "=====base=============debug======$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(go-files)
+       @$(AR) ru $@ $(go-files)
        @$(RANLIB) $@
 
 
index e78f09b6cc44889a627b43862845dcd43b835d1e..2c08e9cc204c2f00f5beb01edf9d9a3802d64359 100644 (file)
@@ -35,7 +35,7 @@ endif
 
 $(LIBDIR)/libhsl.a: $(forward-declarations) $(o-files)
        @echo =====hsl==============optimized==$(MT)== Linking library:   $(@F)
-       @ar ru $@ $(o-files)
+       @$(AR) ru $@ $(o-files)
 
 # link the object files to a shared library. since this is not C++,
 # simply use the C compiler, rather than $(SHLIBLD)
index 6ae190875d24f14d3b2def7f4c43cc721bb8bfa8..02e5bca521ff5f14b678e03d37c0ad4a4d66f6a2 100644 (file)
@@ -104,31 +104,31 @@ endif
 # rules how to make the libraries themselves
 $(LIBDIR)/libdeal_II_1d.g.a: $(go-files-1d)
        @echo "=====deal.II====1d====debug======$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(go-files-1d)
+       @$(AR) ru $@ $(go-files-1d)
        @$(RANLIB) $@
 $(LIBDIR)/libdeal_II_1d.a: $(o-files-1d)
        @echo "=====deal.II====1d====optimized==$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(o-files-1d)
+       @$(AR) ru $@ $(o-files-1d)
        @$(RANLIB) $@
 
 
 $(LIBDIR)/libdeal_II_2d.g.a: $(go-files-2d)
        @echo "=====deal.II====2d====debug======$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(go-files-2d)
+       @$(AR) ru $@ $(go-files-2d)
        @$(RANLIB) $@
 $(LIBDIR)/libdeal_II_2d.a: $(o-files-2d)
        @echo "=====deal.II====2d====optimized==$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(o-files-2d)
+       @$(AR) ru $@ $(o-files-2d)
        @$(RANLIB) $@
 
 
 $(LIBDIR)/libdeal_II_3d.g.a: $(go-files-3d)
        @echo "=====deal.II====3d====debug======$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(go-files-3d)
+       @$(AR) ru $@ $(go-files-3d)
        @$(RANLIB) $@
 $(LIBDIR)/libdeal_II_3d.a: $(o-files-3d)
        @echo "=====deal.II====3d====optimized==$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(o-files-3d)
+       @$(AR) ru $@ $(o-files-3d)
        @$(RANLIB) $@
 
 
index 89da282cc24855b22ce475cb9e3891d7570c5512..7e24adfdbaf5f91a12eb3cea15f4fb240eea8601 100644 (file)
@@ -66,12 +66,12 @@ endif
 
 $(LIBDIR)/liblac.a: $(o-files)
        @echo "=====lac==============optimized==$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(o-files)
+       @$(AR) ru $@ $(o-files)
        @$(RANLIB) $@
 
 $(LIBDIR)/liblac.g.a: $(go-files)
        @echo "=====lac==============debug======$(MT)== Linking library:   $(@F)"
-       @ar ru $@ $(go-files)
+       @$(AR) ru $@ $(go-files)
        @$(RANLIB) $@
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.