Browse Source

Enable compilation on OpenBSD

Renaud Allard 11 years ago
parent
commit
02ddb08236
3 changed files with 106 additions and 1 deletions
  1. 6 1
      configure
  2. 50 0
      src/makefiles/openbsd_32bit.mak
  3. 50 0
      src/makefiles/openbsd_64bit.mak

+ 6 - 1
configure

@@ -21,8 +21,9 @@ echo ' 1: Linux'
 echo ' 2: FreeBSD'
 echo ' 3: Solaris'
 echo ' 4: Mac OS X'
+echo ' 5: OpenBSD'
 echo
-echo -n 'Which is your operating system (1 - 4) ? : '
+echo -n 'Which is your operating system (1 - 5) ? : '
 read TMP
 echo
 OS=""
@@ -42,6 +43,10 @@ if test "$TMP" = "4"
 then
 	OS="macos"
 fi
+if test "$TMP" = "5"
+then
+	OS="openbsd"
+fi
 
 if test "$OS" = ""
 then

File diff suppressed because it is too large
+ 50 - 0
src/makefiles/openbsd_32bit.mak


File diff suppressed because it is too large
+ 50 - 0
src/makefiles/openbsd_64bit.mak


Some files were not shown because too many files changed in this diff