Fix SUBOS_SH
This commit is contained in:
parent
6244bcbe84
commit
22b7a12b6e
22
mk/os.mk
22
mk/os.mk
@ -2,21 +2,21 @@
|
|||||||
|
|
||||||
# Generic definitions
|
# Generic definitions
|
||||||
|
|
||||||
_OS_SH_= uname -s
|
_OS_SH= uname -s
|
||||||
_OS!= ${_OS_SH}
|
_OS!= ${_OS_SH}
|
||||||
OS?= ${_OS}$(shell ${_OS_SH})
|
OS?= ${_OS}$(shell ${_OS_SH})
|
||||||
|
|
||||||
_SUBOS_SH= case `uname -s` in \
|
_SUBOS_SH= case `uname -s` in \
|
||||||
*BSD|DragonFly) echo "BSD";; \
|
*BSD|DragonFly) echo "BSD";; \
|
||||||
*) uname -s;; \
|
*) uname -s;; \
|
||||||
esac
|
esac
|
||||||
_SUBOS!= ${_SUBOS_SH}
|
_SUBOS!= ${_SUBOS_SH}
|
||||||
SUBOS?= ${_SUBOS}$(shell ${_SUBOS_SH})
|
SUBOS?= ${_SUBOS}$(shell ${_SUBOS_SH})
|
||||||
|
|
||||||
_LIBNAME_SH= l=`readlink /lib`; case "$$l" in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
|
_LIBNAME_SH= l=`readlink /lib`; case "$$l" in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
|
||||||
_LIBNAME!= ${_LIBNAME_SH}
|
_LIBNAME!= ${_LIBNAME_SH}
|
||||||
LIBNAME?= ${_LIBNAME}$(shell ${_LIBNAME_SH})
|
LIBNAME?= ${_LIBNAME}$(shell ${_LIBNAME_SH})
|
||||||
RC_LIB= /$(LIBNAME)/rc
|
RC_LIB= /$(LIBNAME)/rc
|
||||||
|
|
||||||
_DEF_SH= case `uname -s` in Linux) echo "-D_XOPEN_SOURCE=600 -D_BSD_SOURCE";; *) echo;; esac
|
_DEF_SH= case `uname -s` in Linux) echo "-D_XOPEN_SOURCE=600 -D_BSD_SOURCE";; *) echo;; esac
|
||||||
_DEF!= ${_DEF_SH}
|
_DEF!= ${_DEF_SH}
|
||||||
|
Loading…
Reference in New Issue
Block a user