Files
ports/math/mumps/files/patch-PORD_lib_Makefile
Thierry Thomas 652c6cc395 Move math/mumps-edf to math/mumps.
This port is for MUMPS 5.x.

Reported by:	pfg
2019-03-10 17:35:09 +00:00

24 lines
534 B
Plaintext

--- 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