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.inc.prog,v 1.1 2016/01/12 22:58:01 christos Exp $

.include <bsd.own.mk>
.include "${.PARSEDIR}/../Makefile.inc"

PROGDPLIBS+=	nlspr ${.CURDIR}/../../lib/libnlspr
PROGDPLIBS+=	nlsut ${.CURDIR}/../../lib/libnlsut

#LIBNLSPRDIR!=	cd ${.CURDIR}/../../lib/libnlspr && ${PRINTOBJDIR}
#LDADD+=	-L${LIBNLSPRDIR} -lnlspr
#DPADD+=	${LIBNLSPRDIR}/libnlspr.a

#LIBNLSUTDIR!=	cd ${.CURDIR}/../../lib/libnlsut && ${PRINTOBJDIR}
#DPADD+= ${LIBNLSUTDIR}/libnlsut.a
#LDADD+= -L${LIBNLSUTDIR} -lnlsut

LDADD+=	-lintl
DPADD+=	${LIBINTL}

.include <bsd.prog.mk>

.if defined(PROG) && ${PROG} == "gettext"
TOOLTOP=${DIST}/gettext-runtime/src	
.else
TOOLTOP=${DIST}/gettext-tools/src
.PATH.1: ${DIST}/gettext-tools/man
.endif
MAN=${PROG}.1

.PATH:	${TOOLTOP}
CPPFLAGS+=	-I${TOOLTOP}