1246149Ssjg# $Id: host.libnames.mk,v 1.4 2010/01/11 23:01:31 sjg Exp $ 2246149Ssjg# 3246149Ssjg# @(#) Copyright (c) 2007-2009, Simon J. Gerraty 4246149Ssjg# 5246149Ssjg# This file is provided in the hope that it will 6246149Ssjg# be of use. There is absolutely NO WARRANTY. 7246149Ssjg# Permission to copy, redistribute or otherwise 8246149Ssjg# use this file is hereby granted provided that 9246149Ssjg# the above copyright notice and this notice are 10246149Ssjg# left intact. 11246149Ssjg# 12246149Ssjg# Please send copies of changes and bug-fixes to: 13246149Ssjg# sjg@crufty.net 14246149Ssjg# 15246149Ssjg 16246149Ssjg 17246149SsjgDLIBEXT ?= .a 18246149SsjgDSHLIBEXT ?= ${DLIBEXT} 19246149SsjgHOST_LIBEXT ?= ${DSHLIBEXT} 20246149SsjgHOST_LIBDIRS ?= /usr/lib /lib 21246149SsjgHOST_LIBS ?= 22246149Ssjg 23246149Ssjg.for x in ${HOST_LIBS:O:u} 24246149Ssjg.for d in ${HOST_LIBDIRS} 25246149Ssjg.if exists($d/lib$x${HOST_LIBEXT}) 26246149SsjgLIB${x:tu} ?= $d/lib$x${HOST_LIBEXT} 27246149Ssjg.endif 28246149Ssjg.endfor 29246149Ssjg.endfor 30