Merge pull request #229 from vtamara/sup-adJ

Support for OpenBSD and adJ. Closes #228
This commit is contained in:
Phil Budne
2020-11-03 12:02:41 -05:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ MKFS=../tools/mkfs7
A7OUT=../tools/a7out A7OUT=../tools/a7out
FSCK=../tools/fsck7 FSCK=../tools/fsck7
CCARGS=-Wno-multichar -Wno-implicit CCARGS=-Wno-multichar -Wno-implicit
PDP7=pdp7 PDP7?=pdp7
# source dirs # source dirs
SYSSRC=../src/sys SYSSRC=../src/sys
+9
View File
@@ -9,6 +9,10 @@ ifeq ($(UNAME), Darwin)
else else
ifeq ($(UNAME), FreeBSD) ifeq ($(UNAME), FreeBSD)
UNAME=FREEBSD UNAME=FREEBSD
else
ifeq ($(UNAME), OpenBSD)
UNAME=OPENBSD
endif
endif endif
endif endif
endif endif
@@ -23,6 +27,10 @@ ifeq ($(UNAME), FREEBSD)
# FreeBSD # FreeBSD
CC=cc CC=cc
MAKE=gmake MAKE=gmake
ifeq ($(UNAME), OPENBSD)
# OpenBSD
CC=cc
MAKE=gmake
else else
ifeq ($(UNAME), DARWIN) ifeq ($(UNAME), DARWIN)
# Mac OS X # Mac OS X
@@ -33,3 +41,4 @@ else
endif endif
endif endif
endif endif
endif