NetBSD/external/bsd/mdocml/Makefile.inc

23 lines
545 B
PHP
Raw Permalink Normal View History

2019-03-11 03:15:38 +03:00
# $NetBSD: Makefile.inc,v 1.19 2019/03/11 00:15:38 christos Exp $
.include <bsd.own.mk>
2010-02-20 02:02:41 +03:00
.if (${HOSTPROG:U} == "")
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
2015-12-18 01:31:01 +03:00
CPPFLAGS+= -DVERSION=\"${VERSION}\" -I${DISTDIR}/../include
2019-03-11 03:15:38 +03:00
#CPPFLAGS+= -D_OPENBSD_SOURCE
#CPPFLAGS+= -DMANPATH_BASE=\"/usr/share/man:/usr/X11R7/man\"
2010-02-20 02:02:41 +03:00
.endif
DISTDIR:= ${.PARSEDIR}/dist
.PATH: ${DISTDIR}
2011-04-15 18:36:28 +04:00
.for _LIB in mandoc
MDOCMLOBJDIR.${_LIB} != cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
MDOCMLLIB.${_LIB}= ${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a
.endfor
WARNS?= 4