NetBSD/regress/lib/libutil/sockaddr_snprintf/Makefile
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00

20 lines
268 B
Makefile

# $NetBSD: Makefile,v 1.2 2005/01/10 02:58:58 lukem Exp $
NOMAN= # defined
.include <bsd.own.mk>
PROG= sockaddr_snprintf
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
regress: ${PROG}
./${PROG}
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.prog.mk>