blob: c286ea85e2bf7ddcb336052a739f1cd1baa3c867 (
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 2001/06/20 19:57:40 jlam Exp $
#
# This Makefile fragment is included by packages that use Xaw3d.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define XAW3D_REQD to the version of Xaw3d 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(XAW3D_BUILDLINK_MK)
XAW3D_BUILDLINK_MK= # defined
XAW3D_REQD?= 1.5
DEPENDS+= Xaw3d>=${XAW3D_REQD}:../../x11/Xaw3d
BUILDLINK_PREFIX.Xaw3d= ${X11PREFIX}
BUILDLINK_FILES.Xaw3d= include/X11/X11/Xaw3d/* # for OpenWindows
BUILDLINK_FILES.Xaw3d+= include/X11/Xaw3d/*
BUILDLINK_FILES.Xaw3d+= lib/libXaw3d.*
BUILDLINK_PREFIX.Xaw3d-libXaw= ${X11PREFIX}
BUILDLINK_FILES.Xaw3d-libXaw= lib/libXaw3d.*
BUILDLINK_TRANSFORM.Xaw3d-libXaw= -e "s|libXaw3d\.|libXaw.|g"
BUILDLINK_TARGETS.Xaw3d+= Xaw3d-buildlink
BUILDLINK_TARGETS.Xaw3d+= Xaw3d-libXaw-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.Xaw3d}
pre-configure: ${BUILDLINK_TARGETS.Xaw3d}
Xaw3d-buildlink: _BUILDLINK_USE
Xaw3d-libXaw-buildlink: _BUILDLINK_USE
.include "../../mk/bsd.buildlink.mk"
.endif # XAW3D_BUILDLINK_MK
|