all: remove $OBJTYPE from build

Now that we assume pthreads, the only assembly
left is in libmp and libsec.
We only ever added assembly for 386.
The portable C code is fine for plan9port.
This commit is contained in:
Russ Cox 2020-12-30 07:39:16 -05:00
parent 0bd1478342
commit 99dee78c2d
56 changed files with 41 additions and 1291 deletions

View file

@ -1,18 +1,16 @@
# this works in gnu make
SYSNAME:=${shell uname}
OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'}
# this works in bsd make
SYSNAME!=uname
OBJTYPE!=uname -m | sed 's;i.86;386;; s;amd64;x864_64;; s;/.*;;; s; ;;g'
# the gnu rules will mess up bsd but not vice versa,
# hence the gnu rules come first.
RANLIB=true
include Make.$(SYSNAME)-$(OBJTYPE)
include Make.$(SYSNAME)
PREFIX=/usr/local