blob: 7c77b93a3b1663bdb8feac92b2f97c36636200b3 (
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
41
42
43
|
# $NetBSD: buildlink.mk,v 1.2 2001/06/17 17:54:33 jlam Exp $
#
# This Makefile fragment is included by packages that use xpm.
#
# To use this Makefile fragment, simply:
#
# (1) Include this Makefile fragment in the package Makefile,
# (2) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (3) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(XPM_BUILDLINK_MK)
XPM_BUILDLINK_MK= # defined
USE_XPM= # defined
# We double-list because we're not sure if the files are in ${X11BASE}
# or in ${LOCALBASE}.
BUILDLINK_PREFIX.xpm-x11base= ${X11BASE}
BUILDLINK_FILES.xpm-x11base= include/X11/X11/xpm.h # for OpenWindows
BUILDLINK_FILES.xpm-x11base+= include/X11/xpm.h
BUILDLINK_FILES.xpm-x11base+= lib/libXpm.*
BUILDLINK_TARGETS.xpm= xpm-x11base-buildlink
BUILDLINK_PREFIX.xpm-localbase= ${LOCALBASE}
BUILDLINK_FILES.xpm-localbase= include/X11/X11/xpm.h # for OpenWindows
BUILDLINK_FILES.xpm-localbase+= include/X11/xpm.h
BUILDLINK_FILES.xpm-localbase+= lib/libXpm.*
BUILDLINK_TARGETS.xpm+= xpm-localbase-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.xpm}
pre-configure: ${BUILDLINK_TARGETS.xpm}
xpm-x11base-buildlink: _BUILDLINK_USE
xpm-localbase-buildlink: _BUILDLINK_USE
.include "../../mk/bsd.buildlink.mk"
.endif # XPM_BUILDLINK_MK
|