summaryrefslogtreecommitdiff
path: root/mk/endian.mk
AgeCommit message (Collapse)AuthorFilesLines
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