mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 02:39:00 +00:00
While we no longer install .la files for Mesa naddy@ pointed out that using libtool to build something like libGLU could result in .la files which reference old Mesa .la files. Remove Mesa .la files found in DESTDIR on install as suggested by millert@ ok millert@ matthieu@ deraadt@
25 lines
483 B
Makefile
25 lines
483 B
Makefile
# $OpenBSD: Makefile,v 1.2 2020/08/28 16:07:19 jsg Exp $
|
|
|
|
LIB= GLESv2
|
|
|
|
SRCS= entry.c
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
CFLAGS+= ${C_VIS_ARGS}
|
|
CPPFLAGS+= -DMAPI_MODE_BRIDGE \
|
|
-DMAPI_ABI_HEADER=\"${MESA_SRC}/generated/src/mapi/es2api/glapi_mapi_tmp.h\"
|
|
|
|
LDADD+= -L${.CURDIR}/../libglapi/${__objdir} -lglapi \
|
|
-L${X11BASE}/lib -ldrm -lm
|
|
|
|
obj: _xenocara_obj
|
|
|
|
beforeinstall:
|
|
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.la
|
|
|
|
.include <bsd.lib.mk>
|
|
.include <bsd.xorg.mk>
|
|
|
|
.PATH: ${MESA_SRC}/src/mapi
|