diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-01-24 08:20:25 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-01-24 08:20:25 +0000 |
| commit | cd18f6d62caa3bcc2aa671b3d3ae850ca1703d16 (patch) | |
| tree | 0b3511cd7e6bc0dd74d1d95a496e20655d8eab12 /lib/libfetch | |
| parent | bf45cba26bf86e4614ed7ee673a724cbb21f14ce (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -rw-r--r-- | lib/libfetch/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 219a69920205e..97987875f7f65 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -1,31 +1,24 @@ # $FreeBSD$ -.include <bsd.own.mk> - LIB= fetch CFLAGS+= -I. +CFLAGS+= -DINET6 SRCS= fetch.c common.c ftp.c http.c file.c \ ftperr.h httperr.h INCS= fetch.h MAN= fetch.3 CLEANFILES= ftperr.h httperr.h -.if ${MK_INET6_SUPPORT} != "no" -CFLAGS+= -DINET6 -.endif - -.if ${MK_OPENSSL} != "no" +.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) CFLAGS+= -DWITH_SSL DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto .endif -CFLAGS+= -DFTP_COMBINE_CWDS - CSTD?= c99 WARNS?= 2 -SHLIB_MAJOR= 5 +SHLIB_MAJOR= 4 ftperr.h: ftp.errors ${.CURDIR}/Makefile @echo "static struct fetcherr ftp_errlist[] = {" > ${.TARGET} |
