| @@ -10,28 +10,28 @@ CLEANFILES= ftperr.h httperr.h | | | @@ -10,28 +10,28 @@ CLEANFILES= ftperr.h httperr.h |
10 | | | 10 | |
11 | .include <bsd.init.mk> | | 11 | .include <bsd.init.mk> |
12 | | | 12 | |
13 | CPPFLAGS+= -I. | | 13 | CPPFLAGS+= -I. |
14 | CPPFLAGS+= -DNETBSD | | 14 | CPPFLAGS+= -DNETBSD |
15 | CPPFLAGS+= -DFTP_COMBINE_CWDS | | 15 | CPPFLAGS+= -DFTP_COMBINE_CWDS |
16 | CPPFLAGS+= -DINET6 | | 16 | CPPFLAGS+= -DINET6 |
17 | | | 17 | |
18 | .if (${MKCRYPTO} != "no") | | 18 | .if (${MKCRYPTO} != "no") |
19 | CPPFLAGS+= -DWITH_SSL | | 19 | CPPFLAGS+= -DWITH_SSL |
20 | | | 20 | |
21 | LDADD= -lssl -lcrypto | | 21 | LDADD= -lssl -lcrypto |
22 | | | 22 | |
23 | LIBDPLIBS+= ssl ${NETBSDSRCDIR}/lib/libssl \ | | 23 | LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl \ |
24 | crypto ${NETBSDSRCDIR}/lib/libcrypto | | 24 | crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto |
25 | .endif | | 25 | .endif |
26 | | | 26 | |
27 | CLEANFILES+= ftperr.h httperr.h | | 27 | CLEANFILES+= ftperr.h httperr.h |
28 | | | 28 | |
29 | .PATH: ${LIBFETCHDIR} | | 29 | .PATH: ${LIBFETCHDIR} |
30 | | | 30 | |
31 | ftperr.h: ${LIBFETCHDIR}/ftp.errors ${LIBFETCHDIR}/errlist.sh | | 31 | ftperr.h: ${LIBFETCHDIR}/ftp.errors ${LIBFETCHDIR}/errlist.sh |
32 | ${HOST_SH} ${LIBFETCHDIR}/errlist.sh ftp_errlist FTP \ | | 32 | ${HOST_SH} ${LIBFETCHDIR}/errlist.sh ftp_errlist FTP \ |
33 | ${LIBFETCHDIR}/ftp.errors > ${.TARGET} | | 33 | ${LIBFETCHDIR}/ftp.errors > ${.TARGET} |
34 | | | 34 | |
35 | httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh | | 35 | httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh |
36 | ${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \ | | 36 | ${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \ |
37 | ${LIBFETCHDIR}/http.errors > ${.TARGET} | | 37 | ${LIBFETCHDIR}/http.errors > ${.TARGET} |