minix/external/mit/xorg/lib/libxkbui/Makefile
Jean-Baptiste Boric 6afe26749a Enable building with MKDEBUG and MKDEBUGLIB
The way these options work is by creating files that contain debugging
symbols and stashing them in a dedicated set. The minix-debug set has
been created for this purpose, but it will probably have to be refined
since it has been tested only with the default options with an i386
cross-build.

LSC: Amended to support many combination of MKDEBUG, MKDEBUGLIB, with
     and without X11, for both intel and arm.

Change-Id: I2901952e8229938f9ac79c8656484acf704ccd9b
2016-09-10 12:42:45 +02:00

29 lines
586 B
Makefile

# $NetBSD: Makefile,v 1.3 2008/11/06 22:28:26 veego Exp $
.include <bsd.own.mk>
LIB= xkbui
.PATH: ${X11SRCDIR.${LIB}}/src
.PATH: ${X11SRCDIR.${LIB}}/include/X11/extensions
SRCS= XKBui.c
INCS= XKBui.h
INCSDIR=${X11INCDIR}/X11/extensions
CPPFLAGS+=-I${DESTDIR}${X11INCDIR}/X11/extensions
LIBDPLIBS= X11 ${.CURDIR}/../libX11/dynamic \
xkbfile ${.CURDIR}/../libxkbfile \
m ${.CURDIR}/../../../../../lib/libm
PKGCONFIG= xkbui
.if defined(__MINIX)
.if ${MKDEBUGLIB:Uno} == "yes"
CWARNFLAGS+=-Wno-format
.endif
.endif # defined(__MINIX)
.include <bsd.x11.mk>
.include <bsd.lib.mk>