summaryrefslogtreecommitdiff
path: root/devel/bmake/files/mk/host.libnames.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/mk/host.libnames.mk')
-rw-r--r--devel/bmake/files/mk/host.libnames.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/bmake/files/mk/host.libnames.mk b/devel/bmake/files/mk/host.libnames.mk
new file mode 100644
index 00000000000..a057d5e3590
--- /dev/null
+++ b/devel/bmake/files/mk/host.libnames.mk
@@ -0,0 +1,29 @@
+# $Id: host.libnames.mk,v 1.1.1.1 2020/05/24 05:35:53 nia Exp $
+#
+# @(#) Copyright (c) 2007-2009, Simon J. Gerraty
+#
+# This file is provided in the hope that it will
+# be of use. There is absolutely NO WARRANTY.
+# Permission to copy, redistribute or otherwise
+# use this file is hereby granted provided that
+# the above copyright notice and this notice are
+# left intact.
+#
+# Please send copies of changes and bug-fixes to:
+# sjg@crufty.net
+#
+
+
+DLIBEXT ?= .a
+DSHLIBEXT ?= ${DLIBEXT}
+HOST_LIBEXT ?= ${DSHLIBEXT}
+HOST_LIBDIRS ?= /usr/lib /lib
+HOST_LIBS ?=
+
+.for x in ${HOST_LIBS:O:u}
+.for d in ${HOST_LIBDIRS}
+.if exists($d/lib$x${HOST_LIBEXT})
+LIB${x:tu} ?= $d/lib$x${HOST_LIBEXT}
+.endif
+.endfor
+.endfor