From 9a539ebbe1ee0c8557fbcdf22e849534dcbd9b53 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 19 Oct 2011 21:30:39 -0400 Subject: further clean up OS differences in makefiles No need for if() logic. Signed-off-by: Mike Frysinger --- mk/os-BSD.mk | 3 +++ mk/os-Linux.mk | 3 +++ mk/os.mk | 2 ++ 3 files changed, 8 insertions(+) (limited to 'mk') 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 # 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 diff --git a/mk/os.mk b/mk/os.mk index efa9a74e..4f5a954e 100644 --- a/mk/os.mk +++ b/mk/os.mk @@ -10,3 +10,5 @@ include ${MK}/os-${OS}.mk RC_LIB= /$(LIBNAME)/rc +SFX:= ${SFX_PFX}${SFX} +.SUFFIXES: ${SFX} -- cgit v1.2.3