aboutsummaryrefslogtreecommitdiff
path: root/src/os.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-09 11:44:43 +0000
committerRoy Marples <roy@marples.name>2008-01-09 11:44:43 +0000
commit06634f6309f07613cd6a086a6b383daad65192c0 (patch)
tree11a18fa3c66ef97ad59806b667c798e55ec4ac8d /src/os.mk
parent666be0faa0f94a7337662d6c00e3c0d78dd58df4 (diff)
Style updates.
Diffstat (limited to 'src/os.mk')
-rw-r--r--src/os.mk20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/os.mk b/src/os.mk
index 9bfddb0c..a4bef109 100644
--- a/src/os.mk
+++ b/src/os.mk
@@ -3,22 +3,22 @@
# Generic definitions
_OS_SH= u=`uname -s`; case "$${u}" in *BSD|DragonFly) echo "BSD";; *) echo "$${u}";; esac
-_OS!= $(_OS_SH)
-OS?= $(_OS)$(shell $(_OS_SH))
+_OS!= ${_OS_SH}
+OS?= ${_OS}$(shell ${_OS_SH})
_LIBNAME_SH= l=`readlink /lib`; case "$$l" in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
-_LIBNAME!= $(_LIBNAME_SH)
-LIBNAME?= $(_LIBNAME)$(shell $(_LIBNAME_SH))
+_LIBNAME!= ${_LIBNAME_SH}
+LIBNAME?= ${_LIBNAME}$(shell ${_LIBNAME_SH})
RC_LIB= /$(LIB)/rc
_DEF_SH= case `uname -s` in Linux) echo "-D_XOPEN_SOURCE=600 -D_BSD_SOURCE";; *) echo;; esac
-_DEF!= $(_DEF_SH)
-CFLAGS+= $(_DEF)$(shell $(_DEF_SH))
+_DEF!= ${_DEF_SH}
+CFLAGS+= ${_DEF}$(shell ${_DEF_SH})
_LIBDL_SH= case `uname -s` in Linux) echo "-Wl,-Bdynamic -ldl";; *) echo;; esac
-_LIBDL!= $(_LIBDL_SH)
-LIBDL?= $(_LIBDL)$(shell $(_LIBDL_SH))
+_LIBDL!= ${_LIBDL_SH}
+LIBDL?= ${_LIBDL}$(shell ${_LIBDL_SH})
_LIBKVM_SH= case `uname -s` in *BSD) echo "-lkvm";; *) echo;; esac
-_LIBKVM!= $(_LIBKVM_SH)
-LIBKVM?= $(_LIBKVM)$(shell $(_LIBKVM_SH))
+_LIBKVM!= ${_LIBKVM_SH}
+LIBKVM?= ${_LIBKVM}$(shell ${_LIBKVM_SH})