summaryrefslogtreecommitdiff
path: root/lib/xcb-util/Makefile.inc
blob: d368fb5ac3f0342f986de5dfece4f862531b4eee (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
#	$OpenBSD: Makefile.inc,v 1.6 2012/11/07 15:50:22 espie Exp $

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

CPPFLAGS+=	-I${XCBUTIL}/${SUBLIB} -I${X11BASE}/include

.SUFFIXES:	.in

NOPROFILE=

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 ${DESTDIR}${X11BASE}/share/mk/package_version.m4 ${XCBUTIL}/configure.ac`