Commit graph

6 commits

Author SHA1 Message Date
sketch
c4474d647e Don't use full path to include, avoids
"<stdin>", line 4: warning: #include of /usr/include/... may be non-portable

warning with Sun Studio.
2009-01-14 17:27:37 +00:00
rillig
197add6321 On IRIX, <standards.h> needs to be included before <sys/endian.h>. 2007-03-08 23:11:20 +00:00
jlam
183c1ce2f5 Rewrite to avoid needing egrep. 2005-04-30 03:01:06 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
grant
af823178c5 make this work on Solaris by using ${EGREP} instead of ${GREP}. 2002-08-14 02:38:25 +00:00
jlam
ff13344585 Makefile fragment to determine the endianness of the platform by checking
header files.  It defines MACHINE_ENDIAN which is one of three values:
little, big, or unknown.

This file is used in package Makefiles as follows:

.include "../../mk/endian.mk"

.if ${MACHINE_ENDIAN} == "big"
# ...big endian stuff...
.elif ${MACHINE_ENDIAN} == "little"
# ...little endian stuff...
.else
BROKEN=       "Unknown endianness"
.endif
2002-04-22 02:30:51 +00:00