| @@ -21,22 +21,22 @@ FETCH_WITH_OPENSSL?= no | | | @@ -21,22 +21,22 @@ FETCH_WITH_OPENSSL?= no |
21 | .if !empty(FETCH_WITH_INET6:M[yY][eE][sS]) | | 21 | .if !empty(FETCH_WITH_INET6:M[yY][eE][sS]) |
22 | CPPFLAGS+= -DINET6 | | 22 | CPPFLAGS+= -DINET6 |
23 | .endif | | 23 | .endif |
24 | | | 24 | |
25 | .if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS]) | | 25 | .if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS]) |
26 | CPPFLAGS+= -DWITH_SSL | | 26 | CPPFLAGS+= -DWITH_SSL |
27 | LDADD= -lssl -lcrypto | | 27 | LDADD= -lssl -lcrypto |
28 | .endif | | 28 | .endif |
29 | | | 29 | |
30 | CPPFLAGS+= -DFTP_COMBINE_CWDS | | 30 | CPPFLAGS+= -DFTP_COMBINE_CWDS |
31 | | | 31 | |
32 | WARNS?= 4 | | 32 | WARNS?= 4 |
33 | | | 33 | |
34 | ftperr.h: ${.CURDIR}/ftp.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.awk | | 34 | ftperr.h: ${.CURDIR}/ftp.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh |
35 | awk -v variable=ftp_errlist -v protocol=FTP \ | | 35 | ${.CURDIR}/errlist.sh ftp_errlist FTP \ |
36 | -f ${.CURDIR}/errlist.awk ${.CURDIR}/ftp.errors > ${.TARGET} | | 36 | ${.CURDIR}/ftp.errors > ${.TARGET} |
37 | | | 37 | |
38 | httperr.h: ${.CURDIR}/http.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.awk | | 38 | httperr.h: ${.CURDIR}/http.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh |
39 | awk -v variable=http_errlist -v protocol=HTTP \ | | 39 | ${.CURDIR}/errlist.sh http_errlist HTTP \ |
40 | -f ${.CURDIR}/errlist.awk ${.CURDIR}/http.errors > ${.TARGET} | | 40 | ${.CURDIR}/http.errors > ${.TARGET} |
41 | | | 41 | |
42 | .include <bsd.lib.mk> | | 42 | .include <bsd.lib.mk> |