2003-09-16 18:49:51 +02:00
|
|
|
# $NetBSD: buildlink2.mk,v 1.14 2003/09/16 16:49:51 grant Exp $
|
2003-03-31 07:02:17 +02:00
|
|
|
|
2003-03-31 07:07:52 +02:00
|
|
|
.if !defined(LIBNBCOMPAT_BUILDLINK2_MK)
|
|
|
|
LIBNBCOMPAT_BUILDLINK2_MK= # defined
|
2003-03-31 07:02:17 +02:00
|
|
|
|
2003-09-16 18:49:51 +02:00
|
|
|
BUILDLINK_DEPENDS.libnbcompat?= libnbcompat>=20030916
|
2003-03-31 07:07:52 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.libnbcompat?= ../../pkgtools/libnbcompat
|
2003-08-31 22:22:09 +02:00
|
|
|
BUILDLINK_DEPMETHOD.libnbcompat?= build
|
2003-03-31 07:07:52 +02:00
|
|
|
|
|
|
|
BUILDLINK_PACKAGES+= libnbcompat
|
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.libnbcompat=libnbcompat
|
|
|
|
BUILDLINK_PREFIX.libnbcompat_DEFAULT= ${LOCALBASE}
|
|
|
|
|
2003-09-05 20:35:49 +02:00
|
|
|
BUILDLINK_FILES.libnbcompat= include/nbcompat.h
|
|
|
|
BUILDLINK_FILES.libnbcompat+= include/nbcompat/*
|
2003-08-31 22:22:09 +02:00
|
|
|
BUILDLINK_FILES.libnbcompat+= lib/libnbcompat.*
|
2003-03-31 07:07:52 +02:00
|
|
|
|
2003-09-03 00:14:51 +02:00
|
|
|
BUILDLINK_LDADD.libnbcompat= -lnbcompat
|
2003-09-01 17:31:14 +02:00
|
|
|
|
2003-03-31 07:07:52 +02:00
|
|
|
BUILDLINK_TARGETS+= libnbcompat-buildlink
|
|
|
|
|
|
|
|
libnbcompat-buildlink: _BUILDLINK_USE
|
|
|
|
|
2003-09-03 00:19:03 +02:00
|
|
|
.if defined(GNU_CONFIGURE)
|
|
|
|
LIBS+= ${BUILDLINK_LDADD.libnbcompat}
|
|
|
|
.endif
|
|
|
|
|
2003-03-31 07:07:52 +02:00
|
|
|
.endif # LIBNBCOMPAT_BUILDLINK2_MK
|