aboutsummaryrefslogtreecommitdiff
path: root/unix/make/Makefile.TOP
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-12-30 07:39:16 -0500
committerRuss Cox <rsc@swtch.com>2020-12-30 07:53:28 -0500
commit99dee78c2d44641ba56e5bb640d732f993b3dfa1 (patch)
tree3e785ab1037b96d4eb2dc321925bc0733332cea8 /unix/make/Makefile.TOP
parent0bd14783426d137428ffae7cd89cfc06b88d1b11 (diff)
downloadplan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.tar.gz
plan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.tar.bz2
plan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.zip
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.
Diffstat (limited to 'unix/make/Makefile.TOP')
-rw-r--r--unix/make/Makefile.TOP4
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/make/Makefile.TOP b/unix/make/Makefile.TOP
index 516937e0..5feb1d47 100644
--- a/unix/make/Makefile.TOP
+++ b/unix/make/Makefile.TOP
@@ -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