blob: 8423d9ad218373ff89e38c38b2c495a084d78f55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: buildlink.mk,v 1.1 2002/05/28 00:05:08 fredb Exp $
#
# This Makefile fragment is included by packages that use mad.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.mad to the dependency pattern
# for the version of mad desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(MAD_BUILDLINK_MK)
MAD_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.mad?= mad>=0.14.2b
DEPENDS+= ${BUILDLINK_DEPENDS.mad}:../../audio/mad
BUILDLINK_PREFIX.mad= ${LOCALBASE}
BUILDLINK_FILES.mad= include/id3tag.h
BUILDLINK_FILES.mad+= include/mad.h
BUILDLINK_FILES.mad+= lib/libid3tag.*
BUILDLINK_FILES.mad+= lib/libmad.*
#.include "../../audio/libaudiofile/buildlink.mk"
.include "../../audio/esound/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
BUILDLINK_TARGETS.mad= mad-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.mad}
pre-configure: ${BUILDLINK_TARGETS.mad}
mad-buildlink: _BUILDLINK_USE
.endif # MAD_BUILDLINK_MK
|