diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-19 21:30:39 -0400 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-10-20 14:32:37 -0500 |
commit | 9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53 (patch) | |
tree | 9936901aa8c8231d49145894456ff6f40a74c0ae /mk | |
parent | 9c77502f964ef368892598b4fb30c4909fe3d360 (diff) |
further clean up OS differences in makefiles
No need for if() logic.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/os-BSD.mk | 3 | ||||
-rw-r--r-- | mk/os-Linux.mk | 3 | ||||
-rw-r--r-- | mk/os.mk | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/mk/os-BSD.mk b/mk/os-BSD.mk index 0b19afb1..fbcd3710 100644 --- a/mk/os-BSD.mk +++ b/mk/os-BSD.mk @@ -3,4 +3,7 @@ # Generic definitions +PKG_PREFIX?= /usr/local +SFX= .BSD.in + LIBKVM?= -lkvm diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk index 7da0ed9c..bdd12031 100644 --- a/mk/os-Linux.mk +++ b/mk/os-Linux.mk @@ -1,5 +1,8 @@ # Copyright (c) 2008 Roy Marples <roy@marples.name> # Released under the 2-clause BSD license. +SFX= .Linux.in +PKG_PREFIX?= /usr + CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=600 LIBDL= -Wl,-Bdynamic -ldl @@ -10,3 +10,5 @@ include ${MK}/os-${OS}.mk RC_LIB= /$(LIBNAME)/rc +SFX:= ${SFX_PFX}${SFX} +.SUFFIXES: ${SFX} |