mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
19 lines
501 B
Text
19 lines
501 B
Text
--- PORD/lib/Makefile.orig 2011-05-10 12:56:32 UTC
|
|
+++ PORD/lib/Makefile
|
|
@@ -21,9 +21,14 @@ OBJS = graph.o gbipart.o gbisect.o ddcreate.o ddbisect
|
|
.c.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@ -Wl,-z,defs
|
|
|
|
clean:
|
|
rm -f *.o
|