]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
First step toward static linking with PETSc.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Apr 2004 13:01:22 +0000 (13:01 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Apr 2004 13:01:22 +0000 (13:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@9110 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lib/Makefile

index e8ce8a1753ff8f8a6202c6c8e3e15a2505d78171..a6e11c0fb16cdf3f3d093d6e6962d474cfdf6c3c 100644 (file)
@@ -45,16 +45,16 @@ ifeq ($(DEAL_II_PETSC_VERSION_MINOR),1)
 else
   xlib-ksp=libpetscksp
 endif
-  xlib.g = $(lib-contrib-petsc-path.g)/$(xlib-ksp).so \
-           $(lib-contrib-petsc-path.g)/libpetscdm.so \
-           $(lib-contrib-petsc-path.g)/libpetscmat.so \
-           $(lib-contrib-petsc-path.g)/libpetscvec.so \
-           $(lib-contrib-petsc-path.g)/libpetsc.so
-  xlib.o = $(lib-contrib-petsc-path.o)/$(xlib-ksp).so \
-           $(lib-contrib-petsc-path.o)/libpetscdm.so \
-           $(lib-contrib-petsc-path.o)/libpetscmat.so \
-           $(lib-contrib-petsc-path.o)/libpetscvec.so \
-           $(lib-contrib-petsc-path.o)/libpetsc.so
+  xlib.g = $(lib-contrib-petsc-path.g)/$(xlib-ksp)$(lib-suffix) \
+           $(lib-contrib-petsc-path.g)/libpetscdm$(lib-suffix) \
+           $(lib-contrib-petsc-path.g)/libpetscmat$(lib-suffix) \
+           $(lib-contrib-petsc-path.g)/libpetscvec$(lib-suffix) \
+           $(lib-contrib-petsc-path.g)/libpetsc$(lib-suffix)
+  xlib.o = $(lib-contrib-petsc-path.o)/$(xlib-ksp)$(lib-suffix) \
+           $(lib-contrib-petsc-path.o)/libpetscdm$(lib-suffix) \
+           $(lib-contrib-petsc-path.o)/libpetscmat$(lib-suffix) \
+           $(lib-contrib-petsc-path.o)/libpetscvec$(lib-suffix) \
+           $(lib-contrib-petsc-path.o)/libpetsc$(lib-suffix)
   external-links-petsc:
        @echo Setting up libraries for PETSc
        @echo "======================debug============= Linking library:   libpetsc.g.so"

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.