summaryrefslogtreecommitdiff
path: root/mk/endian.mk
AgeCommit message (Collapse)AuthorFilesLines
2009-01-14Don't use full path to include, avoidssketch1-5/+5
"<stdin>", line 4: warning: #include of /usr/include/... may be non-portable warning with Sun Studio.
2007-03-08On IRIX, <standards.h> needs to be included before <sys/endian.h>.rillig1-2/+5
2005-04-30Rewrite to avoid needing egrep.jlam1-32/+32
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-2/+2
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
2002-08-14make this work on Solaris by using ${EGREP} instead of ${GREP}.grant1-2/+2
2002-04-22Makefile fragment to determine the endianness of the platform by checkingjlam1-0/+51
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