One more build fix for static arches. ok todd@.

This commit is contained in:
matthieu 2009-12-07 21:21:02 +00:00
parent 51fb32f347
commit fe460e3f8a

View File

@ -1,13 +1,17 @@
# $OpenBSD: Makefile,v 1.7 2009/12/03 22:18:11 matthieu Exp $
# $OpenBSD: Makefile,v 1.8 2009/12/07 21:21:02 matthieu Exp $
.include <bsd.xconf.mk>
PROG= xtsscale
MAN= xtsscale.1
.if ${XENOCARA_BUILD_XCB:L} == "yes"
LIBXCB= -lxcb
.endif
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 \
-I${.CURDIR}/../../driver/xf86-input-ws/include
LDADD+= -L${X11BASE}/lib -lXft -lXi -lXrender -lXext -lX11 -lxcb \
-lXau -lXdmcp -lfontconfig -lexpat -lfreetype -lz
LDADD+= -L${X11BASE}/lib -lXft -lXi -lXrender -lXext -lX11 \
${LIBXCB} -lXau -lXdmcp -lfontconfig -lexpat -lfreetype -lz
CFLAGS+= -Wall
MANDIR= ${X11BASE}/man/cat