diff options
Diffstat (limited to 'lib/libftpio/Makefile')
-rw-r--r-- | lib/libftpio/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libftpio/Makefile b/lib/libftpio/Makefile index b803db8..17b412c 100644 --- a/lib/libftpio/Makefile +++ b/lib/libftpio/Makefile @@ -1,15 +1,20 @@ # $FreeBSD$ +.include <bsd.own.mk> + LIB= ftpio SHLIB_MAJOR= 6 SRCS= ftpio.c ftperr.c INCS= ftpio.h CFLAGS+= -I${.CURDIR} -Wall -CFLAGS+= -DINET6 MAN= ftpio.3 CLEANFILES= ftperr.c +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif + ftperr.c: ftp.errors @echo '#include <stdio.h>' > ${.TARGET} @echo '#include "ftpio.h"' >> ${.TARGET} |