summaryrefslogtreecommitdiff
path: root/lib/xcb-util/Makefile.inc
blob: be99e720e928fd0b7639813646aafc7d1e373d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: Makefile.inc,v 1.2 2009/05/31 18:01:28 matthieu Exp $

XCBUTIL=	${.CURDIR}/../../../dist/xcb-util

CPPFLAGS+=	-I${X11BASE}/include

.SUFFIXES:	.in

obj:		_xenocara_obj

HEADERS_SUBDIR=	xcb/

EXTRA_PKGCONFIG_SUBST=	'-e s,@LIBS@,,g'

LIB?=		xcb-${SUBLIB}
_SRCDIR?=	${XCBUTIL}/${SUBLIB}
PKGCONFIG?=	xcb-${SUBLIB}.pc

LDADD?=		`pkg-config --libs xcb`

.PATH:		${XCBUTIL}/${SUBLIB}

PACKAGE_VERSION!=m4 ${XSRCDIR}/share/mk/package_version.m4 ${XCBUTIL}/configure.ac