Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.24 2023/06/03 09:09:21 lukem Exp $

LIBISPRIVATE=	yes

.include <bsd.init.mk>

LIB=	common
SRCS=	cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
	print.c put.c rc.c version.c
CLEANFILES= version.c

version.c: VERSION
	${_MKTARGET_CREATE}
	rm -f version.c; \
	${TOOL_SED} 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c


COPTS.print.c+=	-Wno-pointer-sign
COPTS.pf.c+=	${CC_WNO_STRINGOP_TRUNCATION}

.include <bsd.lib.mk>