2004-03-01 19:36:29 +00:00
|
|
|
|
|
|
|
# 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
|
2005-02-22 16:58:04 +00:00
|
|
|
OBJTYPE!=uname -m | sed 's;i.86;386;; s;amd64;x864_64;; s;/.*;;; s; ;;g'
|
2004-03-01 19:36:29 +00:00
|
|
|
|
|
|
|
# the gnu rules will mess up bsd but not vice versa,
|
|
|
|
# hence the gnu rules come first.
|
|
|
|
|
2005-01-30 16:50:02 +00:00
|
|
|
RANLIB=true
|
|
|
|
|
2004-03-01 19:36:29 +00:00
|
|
|
include Make.$(SYSNAME)-$(OBJTYPE)
|
|
|
|
|
|
|
|
PREFIX=/usr/local
|
|
|
|
|
|
|
|
NUKEFILES=
|
|
|
|
|
|
|
|
TGZFILES=
|
|
|
|
|
2005-01-16 21:32:01 +00:00
|
|
|
CLEANFILES=
|
|
|
|
|