aboutsummaryrefslogtreecommitdiffstats
path: root/misc/config/os
diff options
context:
space:
mode:
Diffstat (limited to 'misc/config/os')
-rw-r--r--misc/config/os/aix13
-rw-r--r--misc/config/os/beos21
-rw-r--r--misc/config/os/cygwin19
-rw-r--r--misc/config/os/darwin27
-rw-r--r--misc/config/os/defaults20
-rw-r--r--misc/config/os/freebsd18
-rw-r--r--misc/config/os/hpux18
-rw-r--r--misc/config/os/irix13
-rw-r--r--misc/config/os/linux27
-rw-r--r--misc/config/os/netbsd23
-rw-r--r--misc/config/os/openbsd19
-rw-r--r--misc/config/os/qnx15
-rw-r--r--misc/config/os/solaris19
-rw-r--r--misc/config/os/tru6415
-rw-r--r--misc/config/os/windows20
15 files changed, 287 insertions, 0 deletions
diff --git a/misc/config/os/aix b/misc/config/os/aix
new file mode 100644
index 000000000..fd7330f18
--- /dev/null
+++ b/misc/config/os/aix
@@ -0,0 +1,13 @@
+realname "AIX"
+
+os_type unix
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+ia64
+ppc
+ppc64
+</arch>
diff --git a/misc/config/os/beos b/misc/config/os/beos
new file mode 100644
index 000000000..498bd493d
--- /dev/null
+++ b/misc/config/os/beos
@@ -0,0 +1,21 @@
+realname "BeOS"
+
+os_type beos
+
+install_root /boot/beos
+header_dir ../develop/headers
+lib_dir system/lib
+doc_dir documentation
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+ia32
+ppc
+</arch>
+
+<aliases>
+haiku
+</aliases>
diff --git a/misc/config/os/cygwin b/misc/config/os/cygwin
new file mode 100644
index 000000000..ce10e504b
--- /dev/null
+++ b/misc/config/os/cygwin
@@ -0,0 +1,19 @@
+realname "Cygwin"
+
+os_type unix
+
+install_root c:\Botan
+doc_dir docs
+
+# Cygwin supports shared libs fine, but there are problems with making a Botan
+# shared library when libraries it depends on are static-only (such as libz).
+# So until I can figure out a work-around, it's disabled.
+<supports_shared>
+#all
+</supports_shared>
+
+<arch>
+ia32
+amd64 # in theory
+ia64 # in theory
+</arch>
diff --git a/misc/config/os/darwin b/misc/config/os/darwin
new file mode 100644
index 000000000..d44e53d4b
--- /dev/null
+++ b/misc/config/os/darwin
@@ -0,0 +1,27 @@
+realname "Darwin / MacOS X"
+
+os_type unix
+
+so_suffix dylib
+
+# It doesn't have the 's' option; you need to use needs ranlib
+ar_command "ar cr"
+ar_needs_ranlib yes
+
+install_group wheel
+
+doc_dir doc
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+ia32
+ppc
+ppc64 # g5!
+</arch>
+
+<aliases>
+macosx
+</aliases>
diff --git a/misc/config/os/defaults b/misc/config/os/defaults
new file mode 100644
index 000000000..0fb27967a
--- /dev/null
+++ b/misc/config/os/defaults
@@ -0,0 +1,20 @@
+# Defaults are for a Unix box, since that's what most of OS variants are. It
+# would be nice to have generic 'windows', 'beos', 'unix', etc targets to
+# handle defaults for those classes of OSes, though Unix is by far the most
+# varied/fragmented
+
+obj_suffix o
+so_suffix so
+static_suffix a
+
+ar_command "ar crs"
+ar_needs_ranlib no
+
+install_root /usr/local
+header_dir include
+lib_dir lib
+doc_dir share/doc
+
+install_user root
+install_group root
+install_cmd install -o OWNER -g GROUP -m MODE
diff --git a/misc/config/os/freebsd b/misc/config/os/freebsd
new file mode 100644
index 000000000..d7818cdc6
--- /dev/null
+++ b/misc/config/os/freebsd
@@ -0,0 +1,18 @@
+realname "FreeBSD"
+
+os_type unix
+
+install_group wheel
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+alpha
+amd64
+ia32
+ia64
+powerpc
+sparc64
+</arch>
diff --git a/misc/config/os/hpux b/misc/config/os/hpux
new file mode 100644
index 000000000..7a12d10dd
--- /dev/null
+++ b/misc/config/os/hpux
@@ -0,0 +1,18 @@
+realname "HP-UX"
+
+os_type unix
+
+so_suffix sl
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+hppa
+ia64
+</arch>
+
+<aliases>
+hp-ux
+</aliases>
diff --git a/misc/config/os/irix b/misc/config/os/irix
new file mode 100644
index 000000000..773942391
--- /dev/null
+++ b/misc/config/os/irix
@@ -0,0 +1,13 @@
+realname "IRIX"
+
+os_type unix
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+mips32
+mips64
+</arch>
+
diff --git a/misc/config/os/linux b/misc/config/os/linux
new file mode 100644
index 000000000..701fc9091
--- /dev/null
+++ b/misc/config/os/linux
@@ -0,0 +1,27 @@
+realname "Linux"
+
+os_type unix
+
+# Is this correct?
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+alpha
+amd64
+arm
+hppa
+ia32
+ia64
+m68k
+mips32
+mips64
+ppc
+ppc64
+sh
+sparc32
+sparc64
+s390
+s390x
+</arch>
diff --git a/misc/config/os/netbsd b/misc/config/os/netbsd
new file mode 100644
index 000000000..b0caeff70
--- /dev/null
+++ b/misc/config/os/netbsd
@@ -0,0 +1,23 @@
+realname "NetBSD"
+
+os_type unix
+
+install_group wheel
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+alpha
+amd64
+arm
+hppa
+ia32
+ia64
+m68k
+mips32
+mips64
+ppc
+sparc32
+</arch>
diff --git a/misc/config/os/openbsd b/misc/config/os/openbsd
new file mode 100644
index 000000000..8d0329e1e
--- /dev/null
+++ b/misc/config/os/openbsd
@@ -0,0 +1,19 @@
+realname "OpenBSD"
+
+os_type unix
+
+install_group wheel
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+alpha
+ia32
+m68k
+mips32
+ppc
+sparc32
+sparc64
+</arch>
diff --git a/misc/config/os/qnx b/misc/config/os/qnx
new file mode 100644
index 000000000..cd5ddab5f
--- /dev/null
+++ b/misc/config/os/qnx
@@ -0,0 +1,15 @@
+realname "QNX"
+
+os_type unix
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+arm
+ia32
+mips32
+ppc
+sh
+</arch>
diff --git a/misc/config/os/solaris b/misc/config/os/solaris
new file mode 100644
index 000000000..e0af2abbf
--- /dev/null
+++ b/misc/config/os/solaris
@@ -0,0 +1,19 @@
+realname "Solaris"
+
+os_type unix
+
+install_cmd install -u OWNER -g GROUP -m MODE
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+ia32
+sparc32
+sparc64
+</arch>
+
+<aliases>
+sunos
+</aliases>
diff --git a/misc/config/os/tru64 b/misc/config/os/tru64
new file mode 100644
index 000000000..e2b264104
--- /dev/null
+++ b/misc/config/os/tru64
@@ -0,0 +1,15 @@
+realname "Tru64"
+
+os_type unix
+
+<supports_shared>
+all
+</supports_shared>
+
+<arch>
+alpha
+</arch>
+
+<aliases>
+osf1
+</aliases>
diff --git a/misc/config/os/windows b/misc/config/os/windows
new file mode 100644
index 000000000..ab0426138
--- /dev/null
+++ b/misc/config/os/windows
@@ -0,0 +1,20 @@
+realname "MS Windows"
+
+os_type windows
+
+obj_suffix obj
+so_suffix dll
+static_suffix lib
+
+install_root c:\Botan
+doc_dir docs
+
+<supports_shared>
+#all
+</supports_shared>
+
+<arch>
+ia32
+amd64 # in theory
+ia64 # in theory
+</arch>