Files
xenocara/lib/mesa/mk/libGLESv2/Makefile
jsg 0167b90cd0 explicitly remove *.la files from old Mesa builds
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@
2020-08-28 16:07:18 +00:00

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