2006-07-09 01:10:35 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
|
2004-05-05 05:16:02 +02:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
IODBC_BUILDLINK3_MK:= ${IODBC_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= iodbc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niodbc}
|
|
|
|
BUILDLINK_PACKAGES+= iodbc
|
2006-07-09 01:10:35 +02:00
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}iodbc
|
2004-05-05 05:16:02 +02:00
|
|
|
|
|
|
|
.if !empty(IODBC_BUILDLINK3_MK:M+)
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
|
2004-05-05 05:16:02 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
|
|
|
|
.endif # IODBC_BUILDLINK3_MK
|
|
|
|
|
2005-12-30 22:03:59 +01:00
|
|
|
# ODBC drivers don't need these bits, but ODBC clients do.
|
|
|
|
.if !defined(ODBC_DRIVER)
|
|
|
|
. include "../../mk/dlopen.buildlink3.mk"
|
|
|
|
. include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2006-04-12 12:26:59 +02:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|