2010-08-19 10:06:53 +02:00
|
|
|
$NetBSD: patch-bo,v 1.3 2010/08/19 08:06:53 asau Exp $
|
2004-04-22 11:18:34 +02:00
|
|
|
|
2010-08-19 10:06:53 +02:00
|
|
|
--- otherlibs/systhreads/Makefile.orig 2010-04-27 11:55:08.000000000 +0400
|
|
|
|
+++ otherlibs/systhreads/Makefile 2010-08-12 14:42:34.000000000 +0400
|
|
|
|
@@ -70,19 +70,19 @@
|
|
|
|
rm -f *.o *.a *.so
|
2004-04-22 11:18:34 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- if test -f dllthreads.so; then cp dllthreads.so $(STUBLIBDIR)/dllthreads.so; fi
|
|
|
|
- cp libthreads.a $(LIBDIR)/libthreads.a
|
2010-08-19 10:06:53 +02:00
|
|
|
+ if test -f dllthreads.so; then $(BSD_INSTALL_DATA) dllthreads.so $(STUBLIBDIR)/dllthreads.so; fi
|
|
|
|
+ $(BSD_INSTALL_DATA) libthreads.a $(LIBDIR)/libthreads.a
|
2004-04-22 11:18:34 +02:00
|
|
|
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
|
2010-08-19 10:06:53 +02:00
|
|
|
+ if test -d $(LIBDIR)/threads; then :; else $(BSD_INSTALL_DATA_DIR) $(LIBDIR)/threads; fi
|
|
|
|
+ $(BSD_INSTALL_DATA) $(THREAD_OBJS:.cmo=.cmi) threads.cma $(LIBDIR)/threads
|
2004-04-22 11:18:34 +02:00
|
|
|
rm -f $(LIBDIR)/threads/stdlib.cma
|
|
|
|
- cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli $(LIBDIR)
|
2010-08-19 10:06:53 +02:00
|
|
|
- cp threads.h $(LIBDIR)/caml/threads.h
|
|
|
|
+ $(BSD_INSTALL_DATA) thread.mli mutex.mli condition.mli event.mli threadUnix.mli $(LIBDIR)
|
|
|
|
+ $(BSD_INSTALL_DATA) threads.h $(LIBDIR)/caml/threads.h
|
2004-04-22 11:18:34 +02:00
|
|
|
|
|
|
|
installopt:
|
2005-02-04 22:35:51 +01:00
|
|
|
- cp libthreadsnat.a $(LIBDIR)/libthreadsnat.a
|
2010-08-19 10:06:53 +02:00
|
|
|
+ $(BSD_INSTALL_DATA) libthreadsnat.a $(LIBDIR)/libthreadsnat.a
|
2005-02-04 22:35:51 +01:00
|
|
|
cd $(LIBDIR); $(RANLIB) libthreadsnat.a
|
|
|
|
- cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads
|
2010-08-19 10:06:53 +02:00
|
|
|
+ $(BSD_INSTALL_DATA) $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads
|
2005-02-04 22:35:51 +01:00
|
|
|
cd $(LIBDIR)/threads; $(RANLIB) threads.a
|
|
|
|
|
|
|
|
.SUFFIXES: .ml .mli .cmo .cmi .cmx
|