diff options
-rw-r--r-- | parallel/pvm3/Makefile | 32 | ||||
-rw-r--r-- | parallel/pvm3/PLIST | 18 | ||||
-rw-r--r-- | parallel/pvm3/distinfo | 12 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-am | 68 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bq | 188 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-br | 103 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bs | 31 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bt | 84 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bu | 274 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bv | 69 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bw | 407 | ||||
-rw-r--r-- | parallel/pvm3/patches/patch-bx | 26 |
12 files changed, 1295 insertions, 17 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile index 4b624582fed..86c5d0552ff 100644 --- a/parallel/pvm3/Makefile +++ b/parallel/pvm3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2004/05/31 22:13:16 kristerw Exp $ +# $NetBSD: Makefile,v 1.31 2004/07/19 22:41:16 dmcmahill Exp $ DISTNAME= pvm3.4.4 PKGNAME= pvm-3.4.4 @@ -21,17 +21,28 @@ WRKSRC= ${WRKDIR}/pvm3 USE_BUILDLINK3= yes USE_FORTRAN= yes USE_X11= yes +USE_LIBTOOL= yes PVM_ROOT= ${WRKSRC} MAKE_ENV+= PVM_ROOT=${WRKSRC} MAKE_ENV+= PVM_ARCH= MAKE_ENV+= SSH=${PVM_SSH} +MAKE_ENV+= MKDIR="${MKDIR}" +MAKE_ENV+= PVMLIB_VER=3:4 +MAKE_ENV+= PVM_DIR=${PVM_DIR} ALL_TARGET= all install # Set PVM_ARCH to the correct value for this machine platform. .include "arch.mk" PVM_DIR= ${PREFIX}/pvm3 +BUILDLINK_PASSTHRU_RPATHDIRS+= ${PVM_DIR}/lib/${PVM_ARCH} + +post-build: + ${CP} ${WRKSRC}/examples/${PVM_ARCH}/.libs/* \ + ${WRKSRC}/bin/${PVM_ARCH}/.libs + -${CP} ${WRKSRC}/gexamples/${PVM_ARCH}/.libs/* \ + ${WRKSRC}/bin/${PVM_ARCH}/.libs # avoid installing this file pre-install: @@ -40,8 +51,10 @@ pre-install: do-install: ${INSTALL_PROGRAM_DIR} ${PVM_DIR}/bin/${PVM_ARCH} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PVM_ARCH}/* \ - ${PVM_DIR}/bin/${PVM_ARCH} + for f in ${WRKSRC}/bin/${PVM_ARCH}/* ; do \ + ${ECHO} "Installing $$f" ; \ + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} $$f \ + ${PVM_DIR}/bin/${PVM_ARCH}/ ; done ${INSTALL_DATA_DIR} ${PVM_DIR}/conf ${INSTALL_DATA} ${WRKSRC}/conf/${PVM_ARCH}.def ${PVM_DIR}/conf @@ -62,11 +75,18 @@ do-install: ${INSTALL_DATA_DIR} ${PVM_DIR}/include ${INSTALL_DATA} ${WRKSRC}/include/* ${PVM_DIR}/include - ${INSTALL_PROGRAM_DIR} ${PVM_DIR}/lib/${PVM_ARCH} - ${INSTALL_PROGRAM} ${WRKSRC}/lib/${PVM_ARCH}/pvm* \ +.for __tmp__ in pvm pvmgs + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/lib/${PVM_ARCH}/${__tmp__} ${PVM_DIR}/lib/${PVM_ARCH}/ +.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/lib/${PVM_ARCH}/pvmd3 \ ${PVM_DIR}/lib/${PVM_ARCH} - ${INSTALL_DATA} ${WRKSRC}/lib/${PVM_ARCH}/*.a ${PVM_DIR}/lib/${PVM_ARCH} +.for __tmp__ in libgpvm3.la libpvm3.la libpvmtrc.la libfpvm3.la + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/lib/${PVM_ARCH}/${__tmp__} ${PVM_DIR}/lib/${PVM_ARCH} +.endfor + ${LIBTOOL} --mode=finish ${PVM_DIR}/lib/${PVM_ARCH} for f in `${LS} -1 ${WRKSRC}/lib`; do \ if [ -f ${WRKSRC}/lib/$$f ]; then \ ${INSTALL_SCRIPT} ${WRKSRC}/lib/$$f ${PVM_DIR}/lib; \ diff --git a/parallel/pvm3/PLIST b/parallel/pvm3/PLIST index 71bde57aea2..3f88510bbfc 100644 --- a/parallel/pvm3/PLIST +++ b/parallel/pvm3/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/11/09 15:24:25 is Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/07/19 22:41:16 dmcmahill Exp $ pvm3/bin/${PVM_ARCH}/dbwtest pvm3/bin/${PVM_ARCH}/fgexample pvm3/bin/${PVM_ARCH}/fmaster1 @@ -123,9 +123,25 @@ pvm3/lib/pvmgetarch.cmd pvm3/lib/pvmtmparch pvm3/lib/xpvm pvm3/lib/${PVM_ARCH}/libfpvm3.a +pvm3/lib/${PVM_ARCH}/libfpvm3.la +pvm3/lib/${PVM_ARCH}/libfpvm3.so +pvm3/lib/${PVM_ARCH}/libfpvm3.so.3 +pvm3/lib/${PVM_ARCH}/libfpvm3.so.3.4 pvm3/lib/${PVM_ARCH}/libgpvm3.a +pvm3/lib/${PVM_ARCH}/libgpvm3.la +pvm3/lib/${PVM_ARCH}/libgpvm3.so +pvm3/lib/${PVM_ARCH}/libgpvm3.so.3 +pvm3/lib/${PVM_ARCH}/libgpvm3.so.3.4 pvm3/lib/${PVM_ARCH}/libpvm3.a +pvm3/lib/${PVM_ARCH}/libpvm3.la +pvm3/lib/${PVM_ARCH}/libpvm3.so +pvm3/lib/${PVM_ARCH}/libpvm3.so.3 +pvm3/lib/${PVM_ARCH}/libpvm3.so.3.4 pvm3/lib/${PVM_ARCH}/libpvmtrc.a +pvm3/lib/${PVM_ARCH}/libpvmtrc.la +pvm3/lib/${PVM_ARCH}/libpvmtrc.so +pvm3/lib/${PVM_ARCH}/libpvmtrc.so.3 +pvm3/lib/${PVM_ARCH}/libpvmtrc.so.3.4 pvm3/lib/${PVM_ARCH}/pvm pvm3/lib/${PVM_ARCH}/pvmd3 pvm3/lib/${PVM_ARCH}/pvmgs diff --git a/parallel/pvm3/distinfo b/parallel/pvm3/distinfo index 56074bb91ab..51ef1a7e834 100644 --- a/parallel/pvm3/distinfo +++ b/parallel/pvm3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2004/07/18 18:05:13 dmcmahill Exp $ +$NetBSD: distinfo,v 1.12 2004/07/19 22:41:16 dmcmahill Exp $ SHA1 (pvm3.4.4.tgz) = 95bfabee61383fe2223ee2f539129bb54b5afb40 Size (pvm3.4.4.tgz) = 967852 bytes @@ -14,7 +14,7 @@ SHA1 (patch-ai) = d44e1b5f28dfa7d626895994fca79109239ee856 SHA1 (patch-aj) = 4245e2a742022a0465015027361cae847cd6cbd6 SHA1 (patch-ak) = 9c5115017a05e184221de465ac8d9dad636f9c45 SHA1 (patch-al) = 7d5e0aa7e2c7177493fcfb7e799c7538143911a9 -SHA1 (patch-am) = 6fb271beb230e5fc5d5f0d720ba098b3b4352501 +SHA1 (patch-am) = 23f4cd8133ef9fa058aab6772f81206547a836cf SHA1 (patch-an) = 7b0ba18a78a649a3ca20e17bc4a61e3b558b6ced SHA1 (patch-ao) = 2b29a5d04774d1c796fe8adf28d385a148504c2d SHA1 (patch-ap) = 6a3e8d80e45484e991cbefa9cdb64b23761434b9 @@ -44,3 +44,11 @@ SHA1 (patch-bm) = 36502646eb4b591e3900fdf09cb602d86734bbb9 SHA1 (patch-bn) = 31050e707a27256595f1ecc2fa48b45aabf69be4 SHA1 (patch-bo) = 69dd03e65ae75cf330a05eedd5507311523acfc1 SHA1 (patch-bp) = 5820e2ff17c58b2ee0ca7290bb8a259ff080087f +SHA1 (patch-bq) = 5fd3027d3fe2815e9f9555e8c238dcd819978045 +SHA1 (patch-br) = 7a4f9f38e9d0d34c8a9b1aae4f409daf1b195e8a +SHA1 (patch-bs) = 87140b9f45685471fc2814de9624e23666f81735 +SHA1 (patch-bt) = c52c750af0e51c857ae9b73eda6afc1923706ff4 +SHA1 (patch-bu) = 0ee41192bf7c350b22e3f4dd804f20792dbfee47 +SHA1 (patch-bv) = bf9a53cceb5d0c0cbe541a612e014c8421b470da +SHA1 (patch-bw) = 881c72c6cb07428dd1110bed52a7cd3512259f3c +SHA1 (patch-bx) = 7c22c0da74e8d09c8deb950b98f4e9652dcd57a7 diff --git a/parallel/pvm3/patches/patch-am b/parallel/pvm3/patches/patch-am index d347af5d17b..4901d64b20c 100644 --- a/parallel/pvm3/patches/patch-am +++ b/parallel/pvm3/patches/patch-am @@ -1,13 +1,65 @@ -$NetBSD: patch-am,v 1.3 2000/08/23 14:28:20 dmcmahill Exp $ - ---- ./xep/Makefile.aimk.orig Fri Aug 29 10:17:48 1997 -+++ ./xep/Makefile.aimk Sun Oct 31 11:47:13 1999 -@@ -25,6 +25,6 @@ +$NetBSD: patch-am,v 1.4 2004/07/19 22:41:16 dmcmahill Exp $ + +--- xep/Makefile.aimk.orig Fri Aug 29 14:17:48 1997 ++++ xep/Makefile.aimk Thu Mar 25 03:16:56 2004 +@@ -22,9 +22,8 @@ + #CFLOPTS = -O + CFLOPTS = -g +-CFLAGS = $(CFLOPTS) -I$(PVMIDIR) -L$(PVMLDIR) $(ARCHCFLAGS) ++CFLAGS = $(CFLOPTS) -I$(PVMIDIR) $(ARCHCFLAGS) LIBS = -l$(PVMLIB) $(ARCHLIB) $(OS2XEPLIBS) - XLIBS = -lXaw -lXmu -lXext -lXt -lX11 +-XLIBS = -lXaw -lXmu -lXext -lXt -lX11 -XCFLAGS = -I/usr/local/X11R5/include -I/usr/local/X11/include \ - -L/usr/local/X11R5/lib -L/usr/local/X11/lib -+XCFLAGS = -I${X11BASE}/include \ -+ -L${X11BASE}/lib -Wl,-R$(X11BASE)/lib ++XLIBS = -L${X11BASE}/lib -Wl,${RPATH_FLAG}$(X11BASE)/lib -lXaw -lXmu -lXext -lXt -lX11 ++XCFLAGS = -I${X11BASE}/include HEADERS = $(SDIR)/hostc.h $(SDIR)/imp.h $(SDIR)/myalloc.h \ +@@ -39,16 +38,23 @@ + - mkdir $(XDIR) + ++LTCC= $(LIBTOOL) --mode=compile $(CC) ++LTCC_LINK= $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} -L$(PVMLDIR) ++ + mmain$(EXESFX): $(SDIR)/mmain.c $(XDIR) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/mmain.c $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/mmain.c $(LIBS) ++ cp $@ $(XDIR) + + mtile$(EXESFX): $(SDIR)/mtile.c $(XDIR) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/mtile.c $(LIBS) -lm +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/mtile.c $(LIBS) -lm ++ ${MKDIR} $(XDIR)/.libs ++ -cp .libs/$@ $(XDIR)/.libs ++ cp $@ $(XDIR) + + xep$(EXESFX): xep.o hostc.o calc.o imp.o $(XDIR) $(PVMLIBDEP) +- $(CC) $(XCFLAGS) $(CFLAGS) -o $@ xep.o calc.o imp.o hostc.o \ ++ $(LTCC_LINK) $(XCFLAGS) $(CFLAGS) -o $@ xep.lo calc.lo imp.lo hostc.lo \ + $(XLIBS) $(LIBS) -lm +- mv $@ $(XDIR) ++ ${MKDIR} $(XDIR)/.libs ++ -cp .libs/$@ $(XDIR)/.libs ++ cp $@ $(XDIR) + + clean: +@@ -56,13 +62,13 @@ + + xep.o: $(SDIR)/xep.c $(HEADERS) +- $(CC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/xep.c ++ $(LTCC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/xep.c + + imp.o: $(SDIR)/imp.c $(HEADERS) +- $(CC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/imp.c ++ $(LTCC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/imp.c + + calc.o: $(SDIR)/calc.c $(HEADERS) +- $(CC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/calc.c ++ $(LTCC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/calc.c + + hostc.o: $(SDIR)/hostc.c $(HEADERS) +- $(CC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/hostc.c ++ $(LTCC) $(XCFLAGS) $(CFLAGS) -c $(SDIR)/hostc.c + diff --git a/parallel/pvm3/patches/patch-bq b/parallel/pvm3/patches/patch-bq new file mode 100644 index 00000000000..8940253a8cb --- /dev/null +++ b/parallel/pvm3/patches/patch-bq @@ -0,0 +1,188 @@ +$NetBSD: patch-bq,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- src/Makefile.aimk.orig Fri May 11 18:58:10 2001 ++++ src/Makefile.aimk Wed Mar 24 18:42:04 2004 +@@ -239,8 +239,12 @@ + + $(LIBDIR)/pvmd3$(EXESFX): pvmd3$(EXESFX) ++ ${MKDIR} ${LIBDIR}/.libs ++ -cp .libs/pvmd3$(EXESFX) ${LIBDIR}/.libs + cp pvmd3$(EXESFX) $(LIBDIR) + + $(LIBDIR)/$(LIBPVM).a: $(LIBPVM).a +- cp $(LIBPVM).a $(LIBDIR) ++ ${MKDIR} ${LIBDIR}/.libs ++ -cp .libs/* ${LIBDIR}/.libs ++ cp $(LIBPVM).* $(LIBDIR) + + # libdir shm pvmd3 & libpvm3*.a +@@ -285,11 +289,12 @@ + + pvmd3$(EXESFX): $(REGEXCONF) $(DOBJ) $(SOCKDOBJ) +- $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ) $(SOCKDOBJ) \ ++ $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ:.o=.lo) $(SOCKDOBJ:.o=.lo) \ + $(LOPT) $(ARCHDLIB) + + $(LIBPVM).a: $(REGEXCONF) $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) +- rm -f $(LIBPVM).a +- $(AR) cr $(LIBPVM).a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) +- case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac ++ ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} ${LOBJ:.o=.lo} \ ++ ${LPVMSOCK:.o=.lo} ${SOCKLOBJ:.o=.lo} \ ++ -rpath ${PVM_DIR}/lib/$(PVM_ARCH) \ ++ -version-info ${PVMLIB_VER} + + # shm pvmd3 & libpvm3*.a +@@ -367,102 +372,105 @@ + pvmalloc.c pvmcruft.c pvmerr.c pvmfrag.c tev.c global.c > Ll + ++LTCC= ${LIBTOOL} --mode=compile ${CC} ++NODELTCC= ${LIBTOOL} --mode=compile ${NODECC} ++ + amem.o: $(SDIR)/amem.s + $(AS) -o amem.o $(SDIR)/amem.s + ddpro.o: $(SDIR)/ddpro.c +- $(CC) $(CFLAGS) -c $(SDIR)/ddpro.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/ddpro.c + host.o: $(SDIR)/host.c +- $(CC) $(CFLAGS) -c $(SDIR)/host.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/host.c + hoster.o: $(SDIR)/hoster.c +- $(CC) $(CFLAGS) -c $(SDIR)/hoster.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/hoster.c + imalloc.o: $(SDIR)/imalloc.c +- $(CC) $(CFLAGS) -c $(SDIR)/imalloc.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/imalloc.c + lmsg.o: $(SDIR)/lmsg.c +- $(NODECC) $(CFLAGS) -DIMA_NODE -c $(SDIR)/lmsg.c ++ $(NODELTCC) $(CFLAGS) -DIMA_NODE -c $(SDIR)/lmsg.c + lpvm.o: $(SDIR)/lpvm.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvm.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvm.c + lpvmshmem.o: $(SDIR)/lpvmshmem.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvmshmem.c $(PLOCKFILE) ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvmshmem.c $(PLOCKFILE) + lpvmmimd.o: $(SDIR)/lpvm.c +- $(CC) $(CFLAGS) -DIMA_MPP -o lpvmmimd.o -c $(SDIR)/lpvm.c ++ $(LTCC) $(CFLAGS) -DIMA_MPP -o lpvmmimd.o -c $(SDIR)/lpvm.c + lpvmmpp.o: $(SDIR)/lpvmmpp.c +- $(NODECC) $(CFLAGS) -DIMA_MPP -c $(SDIR)/lpvmmpp.c ++ $(NODELTCC) $(CFLAGS) -DIMA_MPP -c $(SDIR)/lpvmmpp.c + lpvmcat.o: $(SDIR)/lpvmcat.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvmcat.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvmcat.c + lpvmgen.o: $(SDIR)/lpvmgen.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvmgen.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvmgen.c + lpvmpack.o: $(SDIR)/lpvmpack.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvmpack.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvmpack.c + lpvmglob.o: $(SDIR)/lpvmglob.c +- $(CC) $(CFLAGS) -c $(SDIR)/lpvmglob.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/lpvmglob.c + msgbox.o: $(SDIR)/msgbox.c +- $(CC) $(CFLAGS) -c $(SDIR)/msgbox.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/msgbox.c + mppchunkhost.o: $(SDIR)/mppchunk.c +- $(CC) $(CFLAGS) -c -o mppchunkhost.o $(SDIR)/mppchunk.c ++ $(LTCC) $(CFLAGS) -c -o mppchunkhost.o $(SDIR)/mppchunk.c + mppchunknode.o: $(SDIR)/mppchunk.c +- $(NODECC) $(CFLAGS) -DIMA_NODE -c -o mppchunknode.o \ ++ $(NODELTCC) $(CFLAGS) -DIMA_NODE -c -o mppchunknode.o \ + $(SDIR)/mppchunk.c + mppmsghost.o: $(SDIR)/mppmsg.c +- $(CC) $(CFLAGS) -c -o mppmsghost.o $(SDIR)/mppmsg.c ++ $(LTCC) $(CFLAGS) -c -o mppmsghost.o $(SDIR)/mppmsg.c + mppmsgnode.o: $(SDIR)/mppmsg.c +- $(NODECC) $(CFLAGS) -DIMA_NODE -c -o mppmsgnode.o $(SDIR)/mppmsg.c ++ $(NODELTCC) $(CFLAGS) -DIMA_NODE -c -o mppmsgnode.o $(SDIR)/mppmsg.c + nmdclass.o: $(SDIR)/nmdclass.c +- $(CC) $(CFLAGS) -c $(SDIR)/nmdclass.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/nmdclass.c + pkt.o: $(SDIR)/pkt.c +- $(CC) $(CFLAGS) -c $(SDIR)/pkt.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pkt.c + pmsg.o: $(SDIR)/pmsg.c +- $(CC) $(CFLAGS) -c $(SDIR)/pmsg.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pmsg.c + pvmalloc.o: $(SDIR)/pvmalloc.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmalloc.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmalloc.c + pvmcruft.o: $(SDIR)/pvmcruft.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmcruft.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmcruft.c + pvmd.o: $(SDIR)/pvmd.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmd.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmd.c + pvmdabuf.o: $(SDIR)/pvmdabuf.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmdabuf.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmdabuf.c + pvmdshmem.o: $(SDIR)/pvmdshmem.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmdshmem.c $(PLOCKFILE) ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmdshmem.c $(PLOCKFILE) + pvmdmimd.o: pvmdmimd.c +- $(CC) $(CFLAGS) -I.. -c pvmdmimd.c ++ $(LTCC) $(CFLAGS) -I.. -c pvmdmimd.c + pvmdpack.o: $(SDIR)/pvmdpack.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmdpack.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmdpack.c + pvmdunix.o: $(SDIR)/pvmdunix.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmdunix.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmdunix.c + pvmerr.o: $(SDIR)/pvmerr.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmerr.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmerr.c + pvmfrag.o: $(SDIR)/pvmfrag.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmfrag.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmfrag.c + pvmlog.o: $(SDIR)/pvmlog.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmlog.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmlog.c + pvmshmem.o: $(SDIR)/pvmshmem.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmshmem.c $(PLOCKFILE) ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmshmem.c $(PLOCKFILE) + pvmmpp.o: $(SDIR)/pvmmpp.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmmpp.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmmpp.c + sdpro.o: $(SDIR)/sdpro.c +- $(CC) $(CFLAGS) -c $(SDIR)/sdpro.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/sdpro.c + task.o: $(SDIR)/task.c +- $(CC) $(CFLAGS) -c $(SDIR)/task.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/task.c + tev.o: $(SDIR)/tev.c +- $(CC) $(CFLAGS) -c $(SDIR)/tev.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/tev.c + tdpro.o: $(SDIR)/tdpro.c +- $(CC) $(CFLAGS) -c $(SDIR)/tdpro.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/tdpro.c + waitc.o: $(SDIR)/waitc.c +- $(CC) $(CFLAGS) -c $(SDIR)/waitc.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/waitc.c + pvmdtev.o: $(SDIR)/pvmdtev.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmdtev.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmdtev.c + global.o: $(SDIR)/global.c +- $(CC) $(CFLAGS) -c $(SDIR)/global.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/global.c + + deathapi.o: $(SDIR)/$(PVM_ARCH)/src/deathapi.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/deathapi.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/deathapi.c + stdlog.o: $(SDIR)/$(PVM_ARCH)/src/stdlog.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/stdlog.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/stdlog.c + sthoster.o: $(SDIR)/$(PVM_ARCH)/src/sthoster.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/sthoster.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/sthoster.c + rexec.o: $(SDIR)/$(PVM_ARCH)/src/rexec.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/rexec.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/rexec.c + ruserpas.o: $(SDIR)/$(PVM_ARCH)/src/ruserpas.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/ruserpas.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/ruserpas.c + os2spawn.o: $(SDIR)/$(PVM_ARCH)/src/os2spawn.c +- $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/os2spawn.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/os2spawn.c + + pvmregex.o: $(REGEXDIR)/pvmregex.o diff --git a/parallel/pvm3/patches/patch-br b/parallel/pvm3/patches/patch-br new file mode 100644 index 00000000000..788eb53bca2 --- /dev/null +++ b/parallel/pvm3/patches/patch-br @@ -0,0 +1,103 @@ +$NetBSD: patch-br,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- tracer/Makefile.aimk.orig Thu Oct 1 21:13:24 1998 ++++ tracer/Makefile.aimk Wed Mar 24 18:26:39 2004 +@@ -24,4 +24,5 @@ + + CFLAGS = $(CFLOPTS) $(PVMVERSION) -DIMA_$(PVM_ARCH) $(ARCHCFLAGS) ++LTCC= ${LIBTOOL} --mode=compile ${CC} + + +@@ -107,30 +108,34 @@ + + $(PVMXDIR)/tracer$(EXESFX): tracer$(EXESFX) +- @ cp tracer$(EXESFX) $(PVMXDIR) ++ ${MKDIR} $(PVMXDIR)/.libs ++ -cp .libs/tracer$(EXESFX) $(PVMXDIR)/.libs ++ cp tracer$(EXESFX) $(PVMXDIR) + + $(PVMXDIR)/trcsort$(EXESFX): trcsort$(EXESFX) +- @ cp trcsort$(EXESFX) $(PVMXDIR) ++ ${MKDIR} $(PVMXDIR)/.libs ++ -cp .libs/trcsort$(EXESFX) $(PVMXDIR)/.libs ++ cp trcsort$(EXESFX) $(PVMXDIR) + + local: tracer$(EXESFX) trcsort$(EXESFX) + + tracer$(EXESFX): $(OBJS) $(TRCLIBDEP) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) ++ ${LIBTOOL} --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o $@ $(OBJS) $(LIBS) + + objs: $(OBJS) + + trcsort$(EXESFX): trcsort.o $(TRCLIBDEP) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ trcsort.o $(LIBS) ++ ${LIBTOOL} --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o $@ trcsort.lo $(LIBS) + + trcsort.o: $(SRCDIR)/trcsort.c +- $(CC) $(CFLAGS) -c $(INCL) $(SRCDIR)/trcsort.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(SRCDIR)/trcsort.c + + $(TRCLIBDEP): $(LIBPVMTRC) +- @ cp $(LIBPVMTRC) $(PVMLDIR) ++ ${MKDIR} $(PVMLDIR)/.libs ++ -cp .libs/* $(PVMLDIR)/.libs ++ cp $(LIBPVMTRC:.a=.*) $(PVMLDIR) + + $(LIBPVMTRC): $(TRCOBJS) $(PVMLDIR) +- $(AR) rcv $(LIBPVMTRC) $(TRCOBJS) +- @ case x$(HASRANLIB) in \ +- xt ) echo "ranlib $(LIBPVMTRC)"; ranlib $(LIBPVMTRC) ;; \ +- xf ) echo "No Ranlib Necessary." ;; esac ++ ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} ${TRCOBJS:.o=.lo} \ ++ -rpath ${PVM_DIR}/lib/$(PVM_ARCH) -version-info ${PVMLIB_VER} + + $(PVMXDIR): +@@ -157,13 +162,13 @@ + tracer.o: $(SRCDIR)/tracer.c $(HEADERS) + @ touch tracer.o +- $(CC) $(CFLAGS) -c $(INCL) $(SRCDIR)/tracer.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(SRCDIR)/tracer.c + + cmd.o: $(SRCDIR)/cmd.c $(HEADERS) + @ touch cmd.o +- $(CC) $(CFLAGS) -c $(INCL) $(SRCDIR)/cmd.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(SRCDIR)/cmd.c + + trcglob.o: $(SRCDIR)/trcglob.c $(HEADERS) + @ touch trcglob.o +- $(CC) $(CFLAGS) -c $(INCL) $(SRCDIR)/trcglob.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(SRCDIR)/trcglob.c + + +@@ -174,24 +179,24 @@ + trcmess.o: $(TRCDIR)/trcmess.c $(TRCHEADERS) + @ touch trcmess.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcmess.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcmess.c + + trcfile.o: $(TRCDIR)/trcfile.c $(TRCHEADERS) + @ touch trcfile.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcfile.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcfile.c + + trccompat.o: $(TRCDIR)/trccompat.c $(TRCHEADERS) + @ touch trccompat.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trccompat.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trccompat.c + + trccompatglob.o: $(TRCDIR)/trccompatglob.c $(TRCHEADERS) + @ touch trccompatglob.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trccompatglob.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trccompatglob.c + + trcutil.o: $(TRCDIR)/trcutil.c $(TRCHEADERS) + @ touch trcutil.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcutil.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trcutil.c + + trclib.o: $(TRCDIR)/trclib.c $(TRCHEADERS) + @ touch trclib.o +- $(CC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trclib.c ++ $(LTCC) $(CFLAGS) -c $(INCL) $(TRCDIR)/trclib.c + diff --git a/parallel/pvm3/patches/patch-bs b/parallel/pvm3/patches/patch-bs new file mode 100644 index 00000000000..803a72ab05b --- /dev/null +++ b/parallel/pvm3/patches/patch-bs @@ -0,0 +1,31 @@ +$NetBSD: patch-bs,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- console/Makefile.aimk.orig Thu Aug 28 18:12:54 1997 ++++ console/Makefile.aimk Wed Mar 24 18:39:55 2004 +@@ -37,17 +37,21 @@ + + $(PVMLDIR)/pvm$(EXESFX): pvm$(EXESFX) ++ ${MKDIR} $(PVMLDIR)/.libs ++ -cp .libs/pvm$(EXESFX) $(PVMLDIR)/.libs + cp pvm$(EXESFX) $(PVMLDIR) + ++LTCC= ${LIBTOOL} --mode=compile ${CC} ++ + pvm$(EXESFX): $(OBJ) $(PVMLIBDEP) $(TRCLIBDEP) +- $(CC) $(CFLAGS) -o pvm$(EXESFX) $(OBJ) $(LIBS) ++ ${LIBTOOL} --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o pvm$(EXESFX) $(OBJ:.o=.lo) $(LIBS) + + cons.o: $(SDIR)/cons.c +- $(CC) $(CFLAGS) -c $(SDIR)/cons.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/cons.c + cmds.o: $(SDIR)/cmds.c +- $(CC) $(CFLAGS) -c $(SDIR)/cmds.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/cmds.c + job.o: $(SDIR)/job.c +- $(CC) $(CFLAGS) -c $(SDIR)/job.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/job.c + trc.o: $(SDIR)/trc.c +- $(CC) $(CFLAGS) -c $(SDIR)/trc.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/trc.c + + clean: diff --git a/parallel/pvm3/patches/patch-bt b/parallel/pvm3/patches/patch-bt new file mode 100644 index 00000000000..c1ede03870b --- /dev/null +++ b/parallel/pvm3/patches/patch-bt @@ -0,0 +1,84 @@ +$NetBSD: patch-bt,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- pvmgs/Makefile.aimk.orig Wed Feb 16 21:49:03 2000 ++++ pvmgs/Makefile.aimk Thu Mar 25 01:45:35 2004 +@@ -58,15 +58,22 @@ + + $(PVMXDIR)/pvm_gstat$(EXESFX): pvm_gstat$(EXESFX) ++ ${MKDIR} $(PVMXDIR)/.libs ++ -cp .libs/pvm_gstat$(EXESFX) $(PVMXDIR)/.libs + cp pvm_gstat$(EXESFX) $(PVMXDIR) + + $(PVMXDIR)/pvmgs$(EXESFX): pvmgs$(EXESFX) ++ ${MKDIR} $(PVMXDIR)/.libs ++ -cp .libs/pvmgs$(EXESFX) $(PVMXDIR)/.libs + cp pvmgs$(EXESFX) $(PVMXDIR) + + $(PVMXDIR)/pvmgroups$(EXESFX): pvmgroups$(EXESFX) ++ ${MKDIR} $(PVMXDIR)/.libs ++ -cp .libs/pvmgroups$(EXESFX) $(PVMXDIR)/.libs + cp pvmgroups$(EXESFX) $(PVMXDIR) + + $(PVMLDIR)/$(LIBGPVM): $(LIBGPVM) +- cp $(LIBGPVM) $(PVMLDIR) +- case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(PVMLDIR)/$(LIBGPVM) ;; esac ++ ${MKDIR} $(PVMLDIR)/.libs ++ -cp .libs/* $(PVMLDIR)/.libs ++ cp $(LIBGPVM:.a=.*) $(PVMLDIR) + + $(PVMLDIR)/$(LIBGPVM)-mpp: $(LIBGPVM)-mpp +@@ -76,16 +83,21 @@ + + $(PVMLDIR)/pvmgs$(EXESFX): pvmgs$(EXESFX) ++ ${MKDIR} $(PVMLDIR)/.libs ++ -cp .libs/pvmgs$(EXESFX) $(PVMLDIR)/.libs + cp pvmgs$(EXESFX) $(PVMLDIR) + ++LTCC= ${LIBTOOL} --mode=compile ${CC} ++ + pvmgroups$(EXESFX): pvmgroups.o $(LIBGPVM) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ pvmgroups.o $(LIBGPVM) $(LIBS) ++ $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o $@ pvmgroups.lo $(LIBGPVM:.a=.la) $(LIBS) + + pvmgs$(EXESFX): $(DOBJ) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ $(DOBJ) $(LIBS) ++ $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o $@ $(DOBJ:.o=.lo) $(LIBS) + + $(LIBGPVM): $(LOBJ) + rm -f $(LIBGPVM) +- $(AR) cr $(LIBGPVM) $(LOBJ) +- case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBGPVM) ;; esac ++ ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} ${LOBJ:.o=.lo} \ ++ -rpath ${PVM_DIR}/lib/$(PVM_ARCH) \ ++ -version-info ${PVMLIB_VER} + + $(LIBGPVM)-mpp: $(LOBJ) +@@ -96,5 +108,5 @@ + + pvm_gstat$(EXESFX): pvm_gstat.o $(LIBGPVM) $(PVMLIBDEP) +- $(CC) $(CFLAGS) -o $@ pvm_gstat.o $(LIBGPVM) $(LIBS) ++ $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} $(CFLAGS) -o $@ pvm_gstat.lo $(LIBGPVM:.a=.la) $(LIBS) + + clean: +@@ -111,15 +123,15 @@ + # + pvmgsu_core.o: $(SDIR)/pvmgsu_core.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmgsu_core.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmgsu_core.c + pvmgsu_aux.o: $(SDIR)/pvmgsu_aux.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmgsu_aux.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmgsu_aux.c + pvmgroups.o: $(SDIR)/pvmgroups.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmgroups.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmgroups.c + pvm_gstat.o: $(SDIR)/pvm_gstat.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvm_gstat.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvm_gstat.c + pvmgs_core.o: $(SDIR)/pvmgs_core.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmgs_core.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmgs_core.c + pvmgs_func.o: $(SDIR)/pvmgs_func.c +- $(CC) $(CFLAGS) -c $(SDIR)/pvmgs_func.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/pvmgs_func.c + + # diff --git a/parallel/pvm3/patches/patch-bu b/parallel/pvm3/patches/patch-bu new file mode 100644 index 00000000000..e1e27e9d4c6 --- /dev/null +++ b/parallel/pvm3/patches/patch-bu @@ -0,0 +1,274 @@ +$NetBSD: patch-bu,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- examples/Makefile.aimk.orig Wed Feb 16 21:49:35 2000 ++++ examples/Makefile.aimk Thu Mar 25 03:43:25 2004 +@@ -85,5 +85,5 @@ + inherit2$(EXESFX) inherit3$(EXESFX) + +-MBPROGS = taskf.o task0$(EXESFX) task1$(EXESFX) \ ++MBPROGS = taskf.lo task0$(EXESFX) task1$(EXESFX) \ + task_end$(EXESFX) rme$(EXESFX) \ + lmbi$(EXESFX) gmbi$(EXESFX) +@@ -108,172 +108,177 @@ + - mkdir $(XDIR) + ++LTCC= ${LIBTOOL} --mode=compile ${CC} ++LTCC_LINK= ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -Wl,${RPATH_FLAG}${PVM_DIR}/lib/${PVM_ARCH} ++LTFORT= ${LIBTOOL} --mode=compile ${FC} ++LTFORT_LINK= ${LIBTOOL} --mode=link ${FC} ${PVM_STATIC} -Wl,${RPATH_FLAG}${PVM_DIR}/lib/${PVM_ARCH} ++ + hello$(EXESFX): $(SDIR)/hello.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/hello.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/hello.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + helloh: $(SDIR)/hello.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/hello.c $(LDFLAGS) $(HLIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/hello.c $(LDFLAGS) $(HLIBS) ++ cp $@ $(XDIR) + + hello_other$(EXESFX): $(SDIR)/hello_other.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/hello_other.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/hello_other.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + dbwtest$(EXESFX): $(SDIR)/bwtest.c $(XDIR) +- $(CC) $(CFLAGS) -DENCODE=PvmDataDefault -DPACK -o $@ \ ++ $(LTCC_LINK) $(CFLAGS) -DENCODE=PvmDataDefault -DPACK -o $@ \ + $(SDIR)/bwtest.c $(LDFLAGS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + ibwtest$(EXESFX): $(SDIR)/bwtest.c $(XDIR) +- $(CC) $(CFLAGS) -DPACK -DENCODE=PvmDataInPlace -o $@ \ ++ $(LTCC_LINK) $(CFLAGS) -DPACK -DENCODE=PvmDataInPlace -o $@ \ + $(SDIR)/bwtest.c $(LDFLAGS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + pbwtest$(EXESFX): $(SDIR)/bwtest.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/bwtest.c $(LDFLAGS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/bwtest.c $(LDFLAGS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + rbwtest$(EXESFX): $(SDIR)/bwtest.c $(XDIR) +- $(CC) $(CFLAGS) -DPACK -DENCODE=PvmDataRaw -o $@ \ ++ $(LTCC_LINK) $(CFLAGS) -DPACK -DENCODE=PvmDataRaw -o $@ \ + $(SDIR)/bwtest.c $(LDFLAGS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + + timing$(EXESFX): $(SDIR)/timing.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/timing.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/timing.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + timingh: $(SDIR)/timing.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/timing.c $(LDFLAGS) $(HLIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/timing.c $(LDFLAGS) $(HLIBS) ++ cp $@ $(XDIR) + + timing_slave$(EXESFX): $(SDIR)/timing_slave.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/timing_slave.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/timing_slave.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + spmd$(EXESFX): $(SDIR)/spmd.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/spmd.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/spmd.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + fspmd$(EXESFX): $(SDIR)/spmd.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/spmd.f $(LDFLAGS) $(FLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/spmd.f $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + master1$(EXESFX): $(SDIR)/master1.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/master1.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/master1.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + master1h: $(SDIR)/master1.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/master1.c $(LDFLAGS) $(HLIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/master1.c $(LDFLAGS) $(HLIBS) ++ cp $@ $(XDIR) + + slave1$(EXESFX): $(SDIR)/slave1.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/slave1.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/slave1.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + + fmaster1$(EXESFX): $(SDIR)/master1.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/master1.f \ +- $(LDFLAGS) $(FLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/master1.f \ ++ $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + fmaster1h: $(SDIR)/master1.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/master1.f \ ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/master1.f \ + $(LDFLAGS) $(FLIBS) $(HLIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + fslave1$(EXESFX): $(SDIR)/slave1.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/slave1.f $(LDFLAGS) $(FLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/slave1.f $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + hitc$(EXESFX): $(SDIR)/hitc.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/hitc.f $(LDFLAGS) $(FLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/hitc.f $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + hitch: $(SDIR)/hitc.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/hitc.f $(LDFLAGS) $(FLIBS) $(HLIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/hitc.f $(LDFLAGS) $(FLIBS) $(HLIBS) ++ cp $@ $(XDIR) + + + hitc_slave$(EXESFX): $(SDIR)/hitc_slave.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/hitc_slave.f \ +- $(LDFLAGS) $(FLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/hitc_slave.f \ ++ $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + gexample$(EXESFX): $(SDIR)/gexample.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gexample.c $(LDFLAGS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gexample.c $(LDFLAGS) $(GLIBS) $(LIBS) ++ cp $@ $(XDIR) + + gexampleh: $(SDIR)/gexample.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gexample.c \ ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gexample.c \ + $(LDFLAGS) $(GLIBS) $(HLIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + fgexample$(EXESFX): $(SDIR)/gexample.f $(XDIR) +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/gexample.f \ ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/gexample.f \ + $(LDFLAGS) $(FLIBS) $(GLIBS) $(LIBS) +- mv $@ $(XDIR) ++ cp $@ $(XDIR) + + mbox$(EXESFX): $(SDIR)/mbox.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/mbox.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/mbox.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + inherita$(EXESFX): $(SDIR)/inherita.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/inherita.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/inherita.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + inheritb$(EXESFX): $(SDIR)/inheritb.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/inheritb.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/inheritb.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + inherit1$(EXESFX): $(SDIR)/inherit1.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/inherit1.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/inherit1.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + inherit2$(EXESFX): $(SDIR)/inherit2.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/inherit2.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/inherit2.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + inherit3$(EXESFX): $(SDIR)/inherit3.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/inherit3.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/inherit3.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + +-taskf.o: $(SDIR)/taskf.c +- $(CC) $(CFLAGS) -c $(SDIR)/taskf.c ++taskf.lo: $(SDIR)/taskf.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/taskf.c + + task0$(EXESFX): $(SDIR)/task0.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/task0.c taskf.o $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/task0.c taskf.lo $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + task1$(EXESFX): $(SDIR)/task1.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/task1.c taskf.o $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/task1.c taskf.lo $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + task_end$(EXESFX): $(SDIR)/task_end.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/task_end.c taskf.o $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/task_end.c taskf.lo $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + rme$(EXESFX): $(SDIR)/rme.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/rme.c taskf.o $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/rme.c taskf.lo $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + lmbi$(EXESFX): $(SDIR)/lmbi.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/lmbi.c taskf.o $(LDFLAGS) $(HLIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/lmbi.c taskf.lo $(LDFLAGS) $(HLIBS) ++ cp $@ $(XDIR) + +-gmbi$(EXESFX): $(SDIR)/gmbi.c taskf.o $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gmbi.c taskf.o $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) +- +-gmbih: $(SDIR)/gmbi.c taskf.o $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gmbi.c taskf.o $(LDFLAGS) $(HLIBS) +- mv $@ $(XDIR) ++gmbi$(EXESFX): $(SDIR)/gmbi.c taskf.lo $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gmbi.c taskf.lo $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) ++ ++gmbih: $(SDIR)/gmbi.c taskf.lo $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gmbi.c taskf.lo $(LDFLAGS) $(HLIBS) ++ cp $@ $(XDIR) + + mhf_server$(EXESFX): $(SDIR)/mhf_server.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/mhf_server.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/mhf_server.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + + mhf_tickle$(EXESFX): $(SDIR)/mhf_tickle.c $(XDIR) +- $(CC) $(CFLAGS) -o $@ $(SDIR)/mhf_tickle.c $(LDFLAGS) $(LIBS) +- mv $@ $(XDIR) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/mhf_tickle.c $(LDFLAGS) $(LIBS) ++ cp $@ $(XDIR) + diff --git a/parallel/pvm3/patches/patch-bv b/parallel/pvm3/patches/patch-bv new file mode 100644 index 00000000000..da038bfbff8 --- /dev/null +++ b/parallel/pvm3/patches/patch-bv @@ -0,0 +1,69 @@ +$NetBSD: patch-bv,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- gexamples/Makefile.aimk.orig Wed Feb 16 21:48:37 2000 ++++ gexamples/Makefile.aimk Thu Mar 25 02:04:18 2004 +@@ -38,48 +38,53 @@ + tjf$(EXESFX) trsg$(EXESFX) frsg$(EXESFX) gs$(EXESFX) + ++LTCC= ${LIBTOOL} --mode=compile ${CC} ++LTCC_LINK= ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -Wl,${RPATH_FLAG}${PVM_DIR}/lib/${PVM_ARCH} ++LTFORT= ${LIBTOOL} --mode=compile ${FC} ++LTFORT_LINK= ${LIBTOOL} --mode=link ${FC} ${PVM_STATIC} -Wl,${RPATH_FLAG}${PVM_DIR}/lib/${PVM_ARCH} ++ + all: $(PROGS) + + joinleave$(EXESFX): $(SDIR)/joinleave.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/joinleave.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/joinleave.c $(PVMLIB) + cp joinleave$(EXESFX) $(XDIR) + + tst$(EXESFX): $(SDIR)/tst.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/tst.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/tst.c $(PVMLIB) + cp tst$(EXESFX) $(XDIR) + + gs$(EXESFX): $(SDIR)/gs.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gs.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gs.c $(PVMLIB) + cp gs$(EXESFX) $(XDIR) + + ge$(EXESFX): $(SDIR)/ge.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/ge.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/ge.c $(PVMLIB) + cp ge$(EXESFX) $(XDIR) + + gexamp$(EXESFX): $(SDIR)/gexamp.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/gexamp.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/gexamp.c $(PVMLIB) + cp gexamp$(EXESFX) $(XDIR) + + thb$(EXESFX): $(SDIR)/thb.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/thb.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/thb.c $(PVMLIB) + cp thb$(EXESFX) $(XDIR) + + tnb$(EXESFX): $(SDIR)/tnb.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/tnb.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/tnb.c $(PVMLIB) + cp tnb$(EXESFX) $(XDIR) + + tjl$(EXESFX): $(SDIR)/tjl.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/tjl.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/tjl.c $(PVMLIB) + cp tjl$(EXESFX) $(XDIR) + + tjf$(EXESFX): $(SDIR)/tjf.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/tjf.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/tjf.c $(PVMLIB) + cp tjf$(EXESFX) $(XDIR) + + trsg$(EXESFX): $(SDIR)/trsg.c +- $(CC) $(CFLAGS) -o $@ $(SDIR)/trsg.c $(PVMLIB) ++ $(LTCC_LINK) $(CFLAGS) -o $@ $(SDIR)/trsg.c $(PVMLIB) + cp trsg$(EXESFX) $(XDIR) + + frsg$(EXESFX): $(SDIR)/frsg.f +- $(FORT) $(FFLAGS) -o $@ $(SDIR)/frsg.f $(PVMFLIB) ++ $(LTFORT_LINK) $(FFLAGS) -o $@ $(SDIR)/frsg.f $(PVMFLIB) + cp frsg$(EXESFX) $(XDIR) + diff --git a/parallel/pvm3/patches/patch-bw b/parallel/pvm3/patches/patch-bw new file mode 100644 index 00000000000..100cd77863c --- /dev/null +++ b/parallel/pvm3/patches/patch-bw @@ -0,0 +1,407 @@ +$NetBSD: patch-bw,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- libfpvm/Makefile.aimk.orig Mon Mar 15 19:05:11 1999 ++++ libfpvm/Makefile.aimk Wed Mar 24 23:23:12 2004 +@@ -110,9 +110,12 @@ + + $(PVMLDIR)/$(LIBFPVM): $(LIBFPVM) +- cp $(LIBFPVM) $(PVMLDIR) ++ ${MKDIR} $(PVMLDIR)/.libs ++ cp .libs/* $(PVMLDIR)/.libs ++ cp $(LIBFPVM:.a=.la) $(PVMLDIR) + + $(LIBFPVM): $(LOBS) ftocstr.o +- $(AR) cr $(LIBFPVM) $? +- case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBFPVM) ;; esac ++ ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} ${LOBS:.o=.lo} \ ++ ftocstr.lo -rpath ${PVM_DIR}/lib/$(PVM_ARCH) \ ++ -version-info ${PVMLIB_VER} + + clean: +@@ -122,320 +125,322 @@ + rm -f $(LOBS) + ++LTCC= $(LIBTOOL) --mode=compile $(CC) ++ + ftocstr.o: $(SDIR)/ftocstr.c $(PVMBFUNCH) +- $(CC) $(CFLAGS) $(SDIR)/ftocstr.c ++ $(LTCC) $(CFLAGS) $(SDIR)/ftocstr.c + pvmfaddhost.o: $(SDIR)/pvmfaddhost.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfaddhost.m4 > pvmfaddhost.c + $(M4B1) $(SDIR)/pvmfaddhost.m4 $(RWBSPECIAL) >> pvmfaddhost.c $(M4B2) +- $(CC) $(CFLAGS) pvmfaddhost.c ++ $(LTCC) $(CFLAGS) pvmfaddhost.c + $(RM) pvmfaddhost.c + pvmfaddmhf.o: $(SDIR)/pvmfaddmhf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfaddmhf.m4 > pvmfaddmhf.c + $(M4B1) $(SDIR)/pvmfaddmhf.m4 $(RWBSPECIAL) >> pvmfaddmhf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfaddmhf.c ++ $(LTCC) $(CFLAGS) pvmfaddmhf.c + $(RM) pvmfaddmhf.c + pvmfarchcode.o: $(SDIR)/pvmfarchcode.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfarchcode.m4 > pvmfarchcode.c + $(M4B1) $(SDIR)/pvmfarchcode.m4 $(RWBSPECIAL) >> pvmfarchcode.c $(M4B2) +- $(CC) $(CFLAGS) pvmfarchcode.c ++ $(LTCC) $(CFLAGS) pvmfarchcode.c + $(RM) pvmfarchcode.c + pvmfbarrier.o: $(SDIR)/pvmfbarrier.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfbarrier.m4 > pvmfbarrier.c + $(M4B1) $(SDIR)/pvmfbarrier.m4 $(RWBSPECIAL) >> pvmfbarrier.c $(M4B2) +- $(CC) $(CFLAGS) pvmfbarrier.c ++ $(LTCC) $(CFLAGS) pvmfbarrier.c + $(RM) pvmfbarrier.c + pvmfbcast.o: $(SDIR)/pvmfbcast.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfbcast.m4 > pvmfbcast.c + $(M4B1) $(SDIR)/pvmfbcast.m4 $(RWBSPECIAL) >> pvmfbcast.c $(M4B2) +- $(CC) $(CFLAGS) pvmfbcast.c ++ $(LTCC) $(CFLAGS) pvmfbcast.c + $(RM) pvmfbcast.c + pvmfbufinfo.o: $(SDIR)/pvmfbufinfo.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfbufinfo.m4 > pvmfbufinfo.c + $(M4B1) $(SDIR)/pvmfbufinfo.m4 $(RWBSPECIAL) >> pvmfbufinfo.c $(M4B2) +- $(CC) $(CFLAGS) pvmfbufinfo.c ++ $(LTCC) $(CFLAGS) pvmfbufinfo.c + $(RM) pvmfbufinfo.c + pvmfcatchout.o: $(SDIR)/pvmfcatchout.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfcatchout.m4 > pvmfcatchout.c + $(M4B1) $(SDIR)/pvmfcatchout.m4 $(RWBSPECIAL) >> pvmfcatchout.c $(M4B2) +- $(CC) $(CFLAGS) pvmfcatchout.c ++ $(LTCC) $(CFLAGS) pvmfcatchout.c + $(RM) pvmfcatchout.c + pvmfconfig.o: $(SDIR)/pvmfconfig.m4 $(M4FILE) $(PVMBFHEADERS) + $(M4A) $(SDIR)/pvmfconfig.m4 > pvmfconfig.c + $(M4B1) $(SDIR)/pvmfconfig.m4 $(RWBSPECIAL) >> pvmfconfig.c $(M4B2) +- $(CC) $(CFLAGS) pvmfconfig.c ++ $(LTCC) $(CFLAGS) pvmfconfig.c + $(RM) pvmfconfig.c + pvmfdelhost.o: $(SDIR)/pvmfdelhost.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfdelhost.m4 > pvmfdelhost.c + $(M4B1) $(SDIR)/pvmfdelhost.m4 $(RWBSPECIAL) >> pvmfdelhost.c $(M4B2) +- $(CC) $(CFLAGS) pvmfdelhost.c ++ $(LTCC) $(CFLAGS) pvmfdelhost.c + $(RM) pvmfdelhost.c + pvmfdelinfo.o: $(SDIR)/pvmfdelinfo.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfdelinfo.m4 > pvmfdelinfo.c + $(M4B1) $(SDIR)/pvmfdelinfo.m4 $(RWBSPECIAL) >> pvmfdelinfo.c $(M4B2) +- $(CC) $(CFLAGS) pvmfdelinfo.c ++ $(LTCC) $(CFLAGS) pvmfdelinfo.c + $(RM) pvmfdelinfo.c + pvmfdelmhf.o: $(SDIR)/pvmfdelmhf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfdelmhf.m4 > pvmfdelmhf.c + $(M4B1) $(SDIR)/pvmfdelmhf.m4 $(RWBSPECIAL) >> pvmfdelmhf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfdelmhf.c ++ $(LTCC) $(CFLAGS) pvmfdelmhf.c + $(RM) pvmfdelmhf.c + pvmfexit.o: $(SDIR)/pvmfexit.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfexit.m4 > pvmfexit.c + $(M4B1) $(SDIR)/pvmfexit.m4 $(RWBSPECIAL) >> pvmfexit.c $(M4B2) +- $(CC) $(CFLAGS) pvmfexit.c ++ $(LTCC) $(CFLAGS) pvmfexit.c + $(RM) pvmfexit.c + pvmffreebuf.o: $(SDIR)/pvmffreebuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmffreebuf.m4 > pvmffreebuf.c + $(M4B1) $(SDIR)/pvmffreebuf.m4 $(RWBSPECIAL) >> pvmffreebuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmffreebuf.c ++ $(LTCC) $(CFLAGS) pvmffreebuf.c + $(RM) pvmffreebuf.c + pvmffreectx.o: $(SDIR)/pvmffreectx.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmffreectx.m4 > pvmffreectx.c + $(M4B1) $(SDIR)/pvmffreectx.m4 $(RWBSPECIAL) >> pvmffreectx.c $(M4B2) +- $(CC) $(CFLAGS) pvmffreectx.c ++ $(LTCC) $(CFLAGS) pvmffreectx.c + $(RM) pvmffreectx.c + pvmffrzgrp.o: $(SDIR)/pvmffrzgrp.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmffrzgrp.m4 > pvmffrzgrp.c + $(M4B1) $(SDIR)/pvmffrzgrp.m4 $(RWBSPECIAL) >> pvmffrzgrp.c $(M4B2) +- $(CC) $(CFLAGS) pvmffrzgrp.c ++ $(LTCC) $(CFLAGS) pvmffrzgrp.c + $(RM) pvmffrzgrp.c + pvmfgather.o: $(SDIR)/pvmfgather.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgather.m4 > pvmfgather.c + $(M4B1) $(SDIR)/pvmfgather.m4 $(RWBSPECIAL) >> pvmfgather.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgather.c ++ $(LTCC) $(CFLAGS) pvmfgather.c + $(RM) pvmfgather.c + pvmfgetctx.o: $(SDIR)/pvmfgetctx.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetctx.m4 > pvmfgetctx.c + $(M4B1) $(SDIR)/pvmfgetctx.m4 $(RWBSPECIAL) >> pvmfgetctx.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetctx.c ++ $(LTCC) $(CFLAGS) pvmfgetctx.c + $(RM) pvmfgetctx.c + pvmfgetinfo.o: $(SDIR)/pvmfgetinfo.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetinfo.m4 > pvmfgetinfo.c + $(M4B1) $(SDIR)/pvmfgetinfo.m4 $(RWBSPECIAL) >> pvmfgetinfo.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetinfo.c ++ $(LTCC) $(CFLAGS) pvmfgetinfo.c + $(RM) pvmfgetinfo.c + pvmfgetinst.o: $(SDIR)/pvmfgetinst.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetinst.m4 > pvmfgetinst.c + $(M4B1) $(SDIR)/pvmfgetinst.m4 $(RWBSPECIAL) >> pvmfgetinst.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetinst.c ++ $(LTCC) $(CFLAGS) pvmfgetinst.c + $(RM) pvmfgetinst.c + pvmfgetopt.o: $(SDIR)/pvmfgetopt.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetopt.m4 > pvmfgetopt.c + $(M4B1) $(SDIR)/pvmfgetopt.m4 $(RWBSPECIAL) >> pvmfgetopt.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetopt.c ++ $(LTCC) $(CFLAGS) pvmfgetopt.c + $(RM) pvmfgetopt.c + pvmfgetrbuf.o: $(SDIR)/pvmfgetrbuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetrbuf.m4 > pvmfgetrbuf.c + $(M4B1) $(SDIR)/pvmfgetrbuf.m4 $(RWBSPECIAL) >> pvmfgetrbuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetrbuf.c ++ $(LTCC) $(CFLAGS) pvmfgetrbuf.c + $(RM) pvmfgetrbuf.c + pvmfgetsbuf.o: $(SDIR)/pvmfgetsbuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgetsbuf.m4 > pvmfgetsbuf.c + $(M4B1) $(SDIR)/pvmfgetsbuf.m4 $(RWBSPECIAL) >> pvmfgetsbuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgetsbuf.c ++ $(LTCC) $(CFLAGS) pvmfgetsbuf.c + $(RM) pvmfgetsbuf.c + pvmfgettid.o: $(SDIR)/pvmfgettid.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgettid.m4 > pvmfgettid.c + $(M4B1) $(SDIR)/pvmfgettid.m4 $(RWBSPECIAL) >> pvmfgettid.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgettid.c ++ $(LTCC) $(CFLAGS) pvmfgettid.c + $(RM) pvmfgettid.c + pvmfgsize.o: $(SDIR)/pvmfgsize.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfgsize.m4 > pvmfgsize.c + $(M4B1) $(SDIR)/pvmfgsize.m4 $(RWBSPECIAL) >> pvmfgsize.c $(M4B2) +- $(CC) $(CFLAGS) pvmfgsize.c ++ $(LTCC) $(CFLAGS) pvmfgsize.c + $(RM) pvmfgsize.c + pvmfhalt.o: $(SDIR)/pvmfhalt.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfhalt.m4 > pvmfhalt.c + $(M4B1) $(SDIR)/pvmfhalt.m4 $(RWBSPECIAL) >> pvmfhalt.c $(M4B2) +- $(CC) $(CFLAGS) pvmfhalt.c ++ $(LTCC) $(CFLAGS) pvmfhalt.c + $(RM) pvmfhalt.c + pvmfhostsync.o: $(SDIR)/pvmfhostsync.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfhostsync.m4 > pvmfhostsync.c + $(M4B1) $(SDIR)/pvmfhostsync.m4 $(RWBSPECIAL) >> pvmfhostsync.c $(M4B2) +- $(CC) $(CFLAGS) pvmfhostsync.c ++ $(LTCC) $(CFLAGS) pvmfhostsync.c + $(RM) pvmfhostsync.c + pvmfinitsend.o: $(SDIR)/pvmfinitsend.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfinitsend.m4 > pvmfinitsend.c + $(M4B1) $(SDIR)/pvmfinitsend.m4 $(RWBSPECIAL) >> pvmfinitsend.c $(M4B2) +- $(CC) $(CFLAGS) pvmfinitsend.c ++ $(LTCC) $(CFLAGS) pvmfinitsend.c + $(RM) pvmfinitsend.c + pvmfjoingrp.o: $(SDIR)/pvmfjoingrp.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfjoingrp.m4 > pvmfjoingrp.c + $(M4B1) $(SDIR)/pvmfjoingrp.m4 $(RWBSPECIAL) >> pvmfjoingrp.c $(M4B2) +- $(CC) $(CFLAGS) pvmfjoingrp.c ++ $(LTCC) $(CFLAGS) pvmfjoingrp.c + $(RM) pvmfjoingrp.c + pvmfkill.o: $(SDIR)/pvmfkill.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfkill.m4 > pvmfkill.c + $(M4B1) $(SDIR)/pvmfkill.m4 $(RWBSPECIAL) >> pvmfkill.c $(M4B2) +- $(CC) $(CFLAGS) pvmfkill.c ++ $(LTCC) $(CFLAGS) pvmfkill.c + $(RM) pvmfkill.c + pvmflvgrp.o: $(SDIR)/pvmflvgrp.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmflvgrp.m4 > pvmflvgrp.c + $(M4B1) $(SDIR)/pvmflvgrp.m4 $(RWBSPECIAL) >> pvmflvgrp.c $(M4B2) +- $(CC) $(CFLAGS) pvmflvgrp.c ++ $(LTCC) $(CFLAGS) pvmflvgrp.c + $(RM) pvmflvgrp.c + pvmfmcast.o: $(SDIR)/pvmfmcast.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfmcast.m4 > pvmfmcast.c + $(M4B1) $(SDIR)/pvmfmcast.m4 $(RWBSPECIAL) >> pvmfmcast.c $(M4B2) +- $(CC) $(CFLAGS) pvmfmcast.c ++ $(LTCC) $(CFLAGS) pvmfmcast.c + $(RM) pvmfmcast.c + pvmfmkbuf.o: $(SDIR)/pvmfmkbuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfmkbuf.m4 > pvmfmkbuf.c + $(M4B1) $(SDIR)/pvmfmkbuf.m4 $(RWBSPECIAL) >> pvmfmkbuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfmkbuf.c ++ $(LTCC) $(CFLAGS) pvmfmkbuf.c + $(RM) pvmfmkbuf.c + pvmfmstat.o: $(SDIR)/pvmfmstat.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfmstat.m4 > pvmfmstat.c + $(M4B1) $(SDIR)/pvmfmstat.m4 $(RWBSPECIAL) >> pvmfmstat.c $(M4B2) +- $(CC) $(CFLAGS) pvmfmstat.c ++ $(LTCC) $(CFLAGS) pvmfmstat.c + $(RM) pvmfmstat.c + pvmfmytid.o: $(SDIR)/pvmfmytid.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfmytid.m4 > pvmfmytid.c + $(M4B1) $(SDIR)/pvmfmytid.m4 $(RWBSPECIAL) >> pvmfmytid.c $(M4B2) +- $(CC) $(CFLAGS) pvmfmytid.c ++ $(LTCC) $(CFLAGS) pvmfmytid.c + $(RM) pvmfmytid.c + pvmfnewctx.o: $(SDIR)/pvmfnewctx.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfnewctx.m4 > pvmfnewctx.c + $(M4B1) $(SDIR)/pvmfnewctx.m4 $(RWBSPECIAL) >> pvmfnewctx.c $(M4B2) +- $(CC) $(CFLAGS) pvmfnewctx.c ++ $(LTCC) $(CFLAGS) pvmfnewctx.c + $(RM) pvmfnewctx.c + pvmfnotify.o: $(SDIR)/pvmfnotify.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfnotify.m4 > pvmfnotify.c + $(M4B1) $(SDIR)/pvmfnotify.m4 $(RWBSPECIAL) >> pvmfnotify.c $(M4B2) +- $(CC) $(CFLAGS) pvmfnotify.c ++ $(LTCC) $(CFLAGS) pvmfnotify.c + $(RM) pvmfnotify.c + pvmfnrecv.o: $(SDIR)/pvmfnrecv.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfnrecv.m4 > pvmfnrecv.c + $(M4B1) $(SDIR)/pvmfnrecv.m4 $(RWBSPECIAL) >> pvmfnrecv.c $(M4B2) +- $(CC) $(CFLAGS) pvmfnrecv.c ++ $(LTCC) $(CFLAGS) pvmfnrecv.c + $(RM) pvmfnrecv.c + pvmfpack.o: $(SDIR)/pvmfpack.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfpack.m4 > pvmfpack.c + $(M4B1) $(SDIR)/pvmfpack.m4 $(RWBSPECIAL) >> pvmfpack.c $(M4B2) +- $(CC) $(CFLAGS) pvmfpack.c ++ $(LTCC) $(CFLAGS) pvmfpack.c + $(RM) pvmfpack.c + pvmfparent.o: $(SDIR)/pvmfparent.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfparent.m4 > pvmfparent.c + $(M4B1) $(SDIR)/pvmfparent.m4 $(RWBSPECIAL) >> pvmfparent.c $(M4B2) +- $(CC) $(CFLAGS) pvmfparent.c ++ $(LTCC) $(CFLAGS) pvmfparent.c + $(RM) pvmfparent.c + pvmfperror.o: $(SDIR)/pvmfperror.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfperror.m4 > pvmfperror.c + $(M4B1) $(SDIR)/pvmfperror.m4 $(RWBSPECIAL) >> pvmfperror.c $(M4B2) +- $(CC) $(CFLAGS) pvmfperror.c ++ $(LTCC) $(CFLAGS) pvmfperror.c + $(RM) pvmfperror.c + pvmfprecv.o: $(SDIR)/pvmfprecv.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfprecv.m4 > pvmfprecv.c + $(M4B1) $(SDIR)/pvmfprecv.m4 $(RWBSPECIAL) >> pvmfprecv.c $(M4B2) +- $(CC) $(CFLAGS) pvmfprecv.c ++ $(LTCC) $(CFLAGS) pvmfprecv.c + $(RM) pvmfprecv.c + pvmfprobe.o: $(SDIR)/pvmfprobe.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfprobe.m4 > pvmfprobe.c + $(M4B1) $(SDIR)/pvmfprobe.m4 $(RWBSPECIAL) >> pvmfprobe.c $(M4B2) +- $(CC) $(CFLAGS) pvmfprobe.c ++ $(LTCC) $(CFLAGS) pvmfprobe.c + $(RM) pvmfprobe.c + pvmfpsend.o: $(SDIR)/pvmfpsend.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfpsend.m4 > pvmfpsend.c + $(M4B1) $(SDIR)/pvmfpsend.m4 $(RWBSPECIAL) >> pvmfpsend.c $(M4B2) +- $(CC) $(CFLAGS) pvmfpsend.c ++ $(LTCC) $(CFLAGS) pvmfpsend.c + $(RM) pvmfpsend.c + pvmfpstat.o: $(SDIR)/pvmfpstat.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfpstat.m4 > pvmfpstat.c + $(M4B1) $(SDIR)/pvmfpstat.m4 $(RWBSPECIAL) >> pvmfpstat.c $(M4B2) +- $(CC) $(CFLAGS) pvmfpstat.c ++ $(LTCC) $(CFLAGS) pvmfpstat.c + $(RM) pvmfpstat.c + pvmfputinfo.o: $(SDIR)/pvmfputinfo.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfputinfo.m4 > pvmfputinfo.c + $(M4B1) $(SDIR)/pvmfputinfo.m4 $(RWBSPECIAL) >> pvmfputinfo.c $(M4B2) +- $(CC) $(CFLAGS) pvmfputinfo.c ++ $(LTCC) $(CFLAGS) pvmfputinfo.c + $(RM) pvmfputinfo.c + pvmfrecv.o: $(SDIR)/pvmfrecv.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfrecv.m4 > pvmfrecv.c + $(M4B1) $(SDIR)/pvmfrecv.m4 $(RWBSPECIAL) >> pvmfrecv.c $(M4B2) +- $(CC) $(CFLAGS) pvmfrecv.c ++ $(LTCC) $(CFLAGS) pvmfrecv.c + $(RM) pvmfrecv.c + pvmfrecvinfo.o: $(SDIR)/pvmfrecvinfo.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfrecvinfo.m4 > pvmfrecvinfo.c + $(M4B1) $(SDIR)/pvmfrecvinfo.m4 $(RWBSPECIAL) >> pvmfrecvinfo.c $(M4B2) +- $(CC) $(CFLAGS) pvmfrecvinfo.c ++ $(LTCC) $(CFLAGS) pvmfrecvinfo.c + $(RM) pvmfrecvinfo.c + pvmfreduce.o: $(SDIR)/pvmfreduce.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfreduce.m4 > pvmfreduce.c + $(M4B1) $(SDIR)/pvmfreduce.m4 $(RWBSPECIAL) >> pvmfreduce.c $(M4B2) +- $(CC) $(CFLAGS) pvmfreduce.c ++ $(LTCC) $(CFLAGS) pvmfreduce.c + $(RM) pvmfreduce.c + pvmfscatter.o: $(SDIR)/pvmfscatter.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfscatter.m4 > pvmfscatter.c + $(M4B1) $(SDIR)/pvmfscatter.m4 $(RWBSPECIAL) >> pvmfscatter.c $(M4B2) +- $(CC) $(CFLAGS) pvmfscatter.c ++ $(LTCC) $(CFLAGS) pvmfscatter.c + $(RM) pvmfscatter.c + pvmfsend.o: $(SDIR)/pvmfsend.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsend.m4 > pvmfsend.c + $(M4B1) $(SDIR)/pvmfsend.m4 $(RWBSPECIAL) >> pvmfsend.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsend.c ++ $(LTCC) $(CFLAGS) pvmfsend.c + $(RM) pvmfsend.c + pvmfsendsig.o: $(SDIR)/pvmfsendsig.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsendsig.m4 > pvmfsendsig.c + $(M4B1) $(SDIR)/pvmfsendsig.m4 $(RWBSPECIAL) >> pvmfsendsig.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsendsig.c ++ $(LTCC) $(CFLAGS) pvmfsendsig.c + $(RM) pvmfsendsig.c + pvmfsetctx.o: $(SDIR)/pvmfsetctx.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsetctx.m4 > pvmfsetctx.c + $(M4B1) $(SDIR)/pvmfsetctx.m4 $(RWBSPECIAL) >> pvmfsetctx.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsetctx.c ++ $(LTCC) $(CFLAGS) pvmfsetctx.c + $(RM) pvmfsetctx.c + pvmfsetopt.o: $(SDIR)/pvmfsetopt.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsetopt.m4 > pvmfsetopt.c + $(M4B1) $(SDIR)/pvmfsetopt.m4 $(RWBSPECIAL) >> pvmfsetopt.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsetopt.c ++ $(LTCC) $(CFLAGS) pvmfsetopt.c + $(RM) pvmfsetopt.c + pvmfsetrbuf.o: $(SDIR)/pvmfsetrbuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsetrbuf.m4 > pvmfsetrbuf.c + $(M4B1) $(SDIR)/pvmfsetrbuf.m4 $(RWBSPECIAL) >> pvmfsetrbuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsetrbuf.c ++ $(LTCC) $(CFLAGS) pvmfsetrbuf.c + $(RM) pvmfsetrbuf.c + pvmfsetsbuf.o: $(SDIR)/pvmfsetsbuf.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsetsbuf.m4 > pvmfsetsbuf.c + $(M4B1) $(SDIR)/pvmfsetsbuf.m4 $(RWBSPECIAL) >> pvmfsetsbuf.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsetsbuf.c ++ $(LTCC) $(CFLAGS) pvmfsetsbuf.c + $(RM) pvmfsetsbuf.c + pvmfsiblings.o: $(SDIR)/pvmfsiblings.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsiblings.m4 > pvmfsiblings.c + $(M4B1) $(SDIR)/pvmfsiblings.m4 $(RWBSPECIAL) >> pvmfsiblings.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsiblings.c ++ $(LTCC) $(CFLAGS) pvmfsiblings.c + $(RM) pvmfsiblings.c + pvmfsleep.o: $(SDIR)/pvmfsleep.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfsleep.m4 > pvmfsleep.c + $(M4B1) $(SDIR)/pvmfsleep.m4 $(RWBSPECIAL) >> pvmfsleep.c $(M4B2) +- $(CC) $(CFLAGS) pvmfsleep.c ++ $(LTCC) $(CFLAGS) pvmfsleep.c + $(RM) pvmfsleep.c + pvmfspawn.o: $(SDIR)/pvmfspawn.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfspawn.m4 > pvmfspawn.c + $(M4B1) $(SDIR)/pvmfspawn.m4 $(RWBSPECIAL) >> pvmfspawn.c $(M4B2) +- $(CC) $(CFLAGS) pvmfspawn.c ++ $(LTCC) $(CFLAGS) pvmfspawn.c + $(RM) pvmfspawn.c + pvmfstartpvmd.o: $(SDIR)/pvmfstartpvmd.m4 $(M4FILE) $(PVMHEADERS) $(PVMALLOCH) + $(M4A) $(SDIR)/pvmfstartpvmd.m4 > pvmfstartpvmd.c + $(M4B1) $(SDIR)/pvmfstartpvmd.m4 $(RWBSPECIAL) >> pvmfstartpvmd.c $(M4B2) +- $(CC) $(CFLAGS) pvmfstartpvmd.c ++ $(LTCC) $(CFLAGS) pvmfstartpvmd.c + $(RM) pvmfstartpvmd.c + pvmftasks.o: $(SDIR)/pvmftasks.m4 $(M4FILE) $(PVMBFHEADERS) + $(M4A) $(SDIR)/pvmftasks.m4 > pvmftasks.c + $(M4B1) $(SDIR)/pvmftasks.m4 $(RWBSPECIAL) >> pvmftasks.c $(M4B2) +- $(CC) $(CFLAGS) pvmftasks.c ++ $(LTCC) $(CFLAGS) pvmftasks.c + $(RM) pvmftasks.c + pvmftidtoh.o: $(SDIR)/pvmftidtoh.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmftidtoh.m4 > pvmftidtoh.c + $(M4B1) $(SDIR)/pvmftidtoh.m4 $(RWBSPECIAL) >> pvmftidtoh.c $(M4B2) +- $(CC) $(CFLAGS) pvmftidtoh.c ++ $(LTCC) $(CFLAGS) pvmftidtoh.c + $(RM) pvmftidtoh.c + pvmftrecv.o: $(SDIR)/pvmftrecv.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmftrecv.m4 > pvmftrecv.c + $(M4B1) $(SDIR)/pvmftrecv.m4 $(RWBSPECIAL) >> pvmftrecv.c $(M4B2) +- $(CC) $(CFLAGS) pvmftrecv.c ++ $(LTCC) $(CFLAGS) pvmftrecv.c + $(RM) pvmftrecv.c + pvmfunpack.o: $(SDIR)/pvmfunpack.m4 $(M4FILE) $(PVMHEADERS) + $(M4A) $(SDIR)/pvmfunpack.m4 > pvmfunpack.c + $(M4B1) $(SDIR)/pvmfunpack.m4 $(RWBSPECIAL) >> pvmfunpack.c $(M4B2) +- $(CC) $(CFLAGS) pvmfunpack.c ++ $(LTCC) $(CFLAGS) pvmfunpack.c + $(RM) pvmfunpack.c + diff --git a/parallel/pvm3/patches/patch-bx b/parallel/pvm3/patches/patch-bx new file mode 100644 index 00000000000..6a0217e88c1 --- /dev/null +++ b/parallel/pvm3/patches/patch-bx @@ -0,0 +1,26 @@ +$NetBSD: patch-bx,v 1.1 2004/07/19 22:41:16 dmcmahill Exp $ + +--- rm/Makefile.aimk.orig Thu Aug 28 21:20:11 1997 ++++ rm/Makefile.aimk Thu Mar 25 02:03:29 2004 +@@ -43,4 +43,6 @@ + + $(XDIR)/srm$(EXESFX): srm$(EXESFX) ++ ${MKDIR} $(XDIR)/.libs ++ -cp .libs/srm$(EXESFX) $(XDIR)/.libs + cp srm$(EXESFX) $(XDIR) + +@@ -52,9 +54,12 @@ + local: srm$(EXESFX) + ++LTCC= $(LIBTOOL) --mode=compile $(CC) ++LTCC_LINK= $(LIBTOOL) --mode=link $(CC) ${PVM_STATIC} ++ + srm$(EXESFX): srm.o $(XDIR) +- $(CC) $(CFLAGS) -o $@ srm.o $(LIBS) ++ $(LTCC_LINK) $(CFLAGS) -o $@ srm.lo $(LIBS) + + srm.o: $(SDIR)/srm.c $(HEADERS) $(PVMLIBDEP) $(XDIR) +- $(CC) $(CFLAGS) -c $(SDIR)/srm.c ++ $(LTCC) $(CFLAGS) -c $(SDIR)/srm.c + + again: |