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.7 2021/03/02 14:26:00 christos Exp $

.include <bsd.own.mk>

WARNS=	5
PROG=	resize

CPPFLAGS+=-DRESIZE_ONLY -Wno-format-nonliteral
DPADD+=	${LIBUTIL}
LDADD+= -lutil

.include <bsd.prog.mk>

XTERM=${X11SRCDIR}/external/mit/xterm/dist

# XXX disable for now; breaks on r/o source trees.
.if make(copy)
.   if exists(${XTERM})
.       for i in resize.c resize.man
copy:: ${.CURDIR}/${i}
${.CURDIR}/${i}: ${XTERM}/${i}
	cp -p ${.ALLSRC} ${.TARGET}
.       endfor
.   endif
.endif

CLEANFILES+=resize.1

resize.1: resize.man
	@rm -f ${.TARGET}
	${TOOL_SED} \
	    -e "s@__app_date__@1970-01-01@" \
	    -e "s@__app_version__@NetBSD@" \
	    -e "s@__default_termname__@vt100@" \
	    -e "s@__mansuffix__@1@" \
	    -e "s@__miscmansuffix__@7@" \
	    < ${.ALLSRC} > ${.TARGET}