summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/Makefile-templ27
-rw-r--r--config/Makefile.nt2
2 files changed, 29 insertions, 0 deletions
diff --git a/config/Makefile-templ b/config/Makefile-templ
index 679855aee..a99c7e74c 100644
--- a/config/Makefile-templ
+++ b/config/Makefile-templ
@@ -161,6 +161,18 @@ SHARPBANGSCRIPTS=true
############# Configuration for the contributed libraries
+### Which libraries to compile and install
+# Currently available:
+# unix Unix system calls
+# str Regular expressions and high-level string processing
+# num Arbitrary-precision rational arithmetic
+# threads Lightweight concurrent processes
+# (require POSIX threads)
+# graph Portable drawing primitives for X11
+# dynlink Dynamic linking of bytecode
+#
+OTHERLIBRARIES=unix str num threads graph dynlink
+
### Name of the target architecture for the "num" library
# Known targets:
# 68K vax ns mips alpha pyramid i960
@@ -183,3 +195,18 @@ BIGNUM_ARCH=C
#X11_LIB=/usr/lib
# For SunOS with OpenLook:
#X11_LIB=/usr/openwin/lib
+
+### Link-time options to cslc or cslopt for linking with X11 libraries
+#X11_LINK=-cclib -L$(X11_LIB) -ccopt -lX11
+
+### Location of the include directory containing the POSIX pthread.h includes
+# Needed for the "threads" package
+#PTHREADS_INCLUDES=/usr/include
+
+### Location of the directory containing the POSIX pthreads library
+# Needed for the "threads" package
+#PTHREADS_LIB=/usr/lib
+
+### Link-time options to cslc or cslopt for linking with pthreads
+#PTHREADS_LINK=-cclib -L$(PTHREADS_LIB) -ccopt -lpthreads
+
diff --git a/config/Makefile.nt b/config/Makefile.nt
index d8962aa42..1b7ab562e 100644
--- a/config/Makefile.nt
+++ b/config/Makefile.nt
@@ -57,6 +57,8 @@ AFLAGS=/coff /Cp
############# Configuration for the contributed libraries
+OTHERLIBRARIES=str num graph
+
### Name of the target architecture for the "num" library
BIGNUM_ARCH=C