summaryrefslogtreecommitdiffstats
path: root/lib/libftpio
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 04:54:03 +0000
committeryar <yar@FreeBSD.org>2006-07-27 04:54:03 +0000
commit59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0 (patch)
tree67ccfcc51ac0b6df8cc93122d53a5a9563361570 /lib/libftpio
parent2f036ab08182af0365d82be52744c6d5882f2ba4 (diff)
downloadFreeBSD-src-59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0.zip
FreeBSD-src-59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0.tar.gz
Respect MK_INET6_SUPPORT.
Diffstat (limited to 'lib/libftpio')
-rw-r--r--lib/libftpio/Makefile7
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}
OpenPOWER on IntegriCloud