diff options
author | yar <yar@FreeBSD.org> | 2006-07-27 04:54:03 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-27 04:54:03 +0000 |
commit | 59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0 (patch) | |
tree | 67ccfcc51ac0b6df8cc93122d53a5a9563361570 /lib/libftpio | |
parent | 2f036ab08182af0365d82be52744c6d5882f2ba4 (diff) | |
download | FreeBSD-src-59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0.zip FreeBSD-src-59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0.tar.gz |
Respect MK_INET6_SUPPORT.
Diffstat (limited to 'lib/libftpio')
-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} |