Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tools / mandoc / Makefile
blob11c3f8cbd1c47eec79e22ac04a0d881b51535185
1 # $NetBSD: Makefile,v 1.7 2014/01/16 01:15:34 christos Exp $
3 HOSTPROGNAME= ${_TOOL_PREFIX}mandoc
4 HOST_SRCDIR= external/bsd/mdocml/bin/mandoc
6 NOMAN= # defined
8 .include <bsd.own.mk>
10 NETBSD_MINOR!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n
11 NETBSD_OSNAME= "NetBSD ${NETBSD_MINOR}"
13 HOST_CPPFLAGS+= -DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I.
15 DPSRCS+= config.h
17 CLEANFILES+= config.log config.h
19 config.h: configure config.h.pre config.h.post
20 SRCDIR=${DISTDIR} ${HOST_SH} -x ${DISTDIR}/configure
22 .include "${.CURDIR}/../Makefile.host"