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:
@@ -1,7 +0,0 @@
|
||||
CC=gcc
|
||||
CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I. -I${PREFIX}/include
|
||||
O=o
|
||||
AR=ar
|
||||
ARFLAGS=rvc
|
||||
NAN=nan64.$O
|
||||
RANLIB=ranlib
|
||||
@@ -1,6 +0,0 @@
|
||||
CC=gcc
|
||||
CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I.
|
||||
O=o
|
||||
AR=ar
|
||||
ARFLAGS=rvc
|
||||
NAN=nan64.$O
|
||||
@@ -1,6 +0,0 @@
|
||||
CC=gcc
|
||||
CFLAGS+=-Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -O2 -g -c -I.
|
||||
O=o
|
||||
AR=ar
|
||||
ARFLAGS=rvc
|
||||
NAN=nan64.$O
|
||||
2
unix/make/Make.SunOS
Normal file
2
unix/make/Make.SunOS
Normal file
@@ -0,0 +1,2 @@
|
||||
include Make.SunOS-$(CC)
|
||||
NAN=nan64.$O
|
||||
@@ -1,2 +0,0 @@
|
||||
include Make.SunOS-sun4u-$(CC)
|
||||
NAN=nan64.$O
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user