|
|
@ -45,6 +45,7 @@ DEBUG_CFLAGS?= -g
|
|
|
|
### Mac OS X header selection
|
|
|
|
### Mac OS X header selection
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(shell uname),Darwin)
|
|
|
|
ifeq ($(shell uname),Darwin)
|
|
|
|
|
|
|
|
FEATURES+= -DHAVE_DARWIN_LIBPROC
|
|
|
|
XNU_VERSION?= $(shell uname -a|sed 's/^.*root:xnu-//g'|sed 's/~.*$$//')
|
|
|
|
XNU_VERSION?= $(shell uname -a|sed 's/^.*root:xnu-//g'|sed 's/~.*$$//')
|
|
|
|
OSX_VERSION?= $(shell sw_vers -productVersion)
|
|
|
|
OSX_VERSION?= $(shell sw_vers -productVersion)
|
|
|
|
ifeq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|
ifeq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|