Makefile.inc revision 1.3
1# $NetBSD: Makefile.inc,v 1.3 2004/11/14 11:26:48 yamt Exp $ 2 3# misc OpenBSD compatibility stuffs. 4# NetBSD doesn't have syslog_r. 5CPPFLAGS+= -D'openlog_r(ident, logopt, fac, data)=/*nothing*/' 6CPPFLAGS+= -D'syslog_r(pri, data, ...)=syslog((pri), __VA_ARGS__)' 7# NetBSD doesn't have TAILQ_END. 8CPPFLAGS+= -D'TAILQ_END(h)=NULL' 9 10WARNS?= 1 11 12.if exists(${.CURDIR}/../../Makefile.inc) 13.include "${.CURDIR}/../../Makefile.inc" 14.endif 15