--- otherlibs/systhreads/Makefile.orig Tue Mar 2 10:30:14 2004 +++ otherlibs/systhreads/Makefile Tue Mar 2 10:30:43 2004 @@ -70,19 +70,19 @@ rm -f $(GENFILES) install: - if test -f dllthreads.so; then cp dllthreads.so $(STUBLIBDIR)/dllthreads.so; fi - cp libthreads.a $(LIBDIR)/libthreads.a - cd $(LIBDIR); $(RANLIB) libthreads.a - if test -d $(LIBDIR)/threads; then :; else mkdir $(LIBDIR)/threads; fi - cp $(THREAD_OBJS:.cmo=.cmi) threads.cma $(LIBDIR)/threads - rm -f $(LIBDIR)/threads/stdlib.cma - cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli $(LIBDIR) + if test -f dllthreads.so; then cp dllthreads.so $(DESTROOT)$(STUBLIBDIR)/dllthreads.so; fi + cp libthreads.a $(DESTROOT)$(LIBDIR)/libthreads.a + cd $(DESTROOT)$(LIBDIR); $(RANLIB) libthreads.a + if test -d $(DESTROOT)$(LIBDIR)/threads; then :; else mkdir $(DESTROOT)$(LIBDIR)/threads; fi + cp $(THREAD_OBJS:.cmo=.cmi) threads.cma $(DESTROOT)$(LIBDIR)/threads + rm -f $(DESTROOT)$(LIBDIR)/threads/stdlib.cma + cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli $(DESTROOT)$(LIBDIR) installopt: - cp libthreadsnat.a $(LIBDIR)/libthreadsnat.a - cd $(LIBDIR); $(RANLIB) libthreadsnat.a - cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads - cd $(LIBDIR)/threads; $(RANLIB) threads.a + cp libthreadsnat.a $(DESTROOT)$(LIBDIR)/libthreadsnat.a + cd $(DESTROOT)$(LIBDIR); $(RANLIB) libthreadsnat.a + cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(DESTROOT)$(LIBDIR)/threads + cd $(DESTROOT)$(LIBDIR)/threads; $(RANLIB) threads.a .SUFFIXES: .ml .mli .cmo .cmi .cmx