X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Ftarget.mk;h=26ee2c73c6ab3cd57a5832421e3edcc6b6a7a4c4;hb=e9f0f9d7bcfca13776e7aa465b7ab539a5dace73;hp=b773430366de0213e7a26b21f38b5b73838191df;hpb=fc7496ec40bbfa14a3e66454a4b663da6dcb89fe;p=ghc-hetmet.git diff --git a/mk/target.mk b/mk/target.mk index b773430..26ee2c7 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -34,6 +34,12 @@ # ################################################################## +# Pre-compute the list of sources so we don't have to do this +# multiple times. See paths.mk. + +PRE_SRCS := $(ALL_SRCS) + +################################################################## # FPtools standard targets # # depend: @@ -839,6 +845,8 @@ install:: $(INSTALL_LIBS) $(RANLIB) $(libdir)/`basename $$i` ;; \ *.dll) \ $(INSTALL_DATA) -s $(INSTALL_OPTS) $$i $(libdir) ;; \ + *.so) \ + $(INSTALL_SHLIB) $(INSTALL_OPTS) $$i $(libdir) ;; \ *) \ $(INSTALL_DATA) $(INSTALL_OPTS) $$i $(libdir); \ esac; \