blob: a44ef84ee3f62aefb18a8b438428aea585ec291a (
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
40
|
# $NetBSD: buildlink.mk,v 1.2 2001/06/23 19:27:01 jlam Exp $
#
# This Makefile fragment is included by packages that use Xaw3d.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.Xaw3d to the dependency pattern
# for 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
BUILDLINK_DEPENDS.Xaw3d?= Xaw3d-1.5
DEPENDS+= ${BUILDLINK_DEPENDS.Xaw3d}:../../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
|