ports/math/mumps-edf/files/patch-PORD_lib_Makefile
Thierry Thomas e22be4275b Upgrade - endly! - to Code_Aster 13.4.0-3.
Notes:

- I have (not yet) succeeded to enable MFront in this version;

- it uses math/mumps-edf, repocopied from math/mumps;

- cad/scotch is now taken out of the aster tarball;

- french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca
	(the port cad/salome should be resurrected!)
2017-11-14 18:29:22 +00:00

23 lines
534 B
Text

--- PORD/lib/Makefile.orig 2017-08-08 07:32:58 UTC
+++ PORD/lib/Makefile
@@ -22,12 +22,17 @@ OBJS = graph.o gbipart.o gbisect.o ddcre
# OUTC = -o
.c.o:
- $(CC) $(COPTIONS) -c $*.c $(OUTC)$*.o
+ $(CC) $(COPTIONS) -c $*.c $(OUTC) $*.o
-libpord$(LIBEXT):$(OBJS)
- $(AR)$@ $(OBJS)
+all: libpord$(LIBEXT) libpord.so.@SOVER@
+
+libpord$(LIBEXT): $(OBJS)
+ $(AR) $@ $(OBJS)
$(RANLIB) $@
+libpord.so.@SOVER@: $(OBJS)
+ $(CC) -shared $(OBJS) -Wl,-soname,libpord$(PLAT).so.@SOVER@ -o libpord$(PLAT).so.@SOVER@
+
clean:
rm -f *.o