aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/os-BSD.mk3
-rw-r--r--mk/os-Linux.mk3
-rw-r--r--mk/os.mk2
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
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}