1 # $NetBSD: Makefile,v 1.8 2011/08/17 09:20:14 christos Exp $
4 SRCS
= fetch.c common.c ftp.c http.c file.c
5 DPSRCS
= ftperr.h httperr.h
9 CLEANFILES
= ftperr.h httperr.h
11 .
include <bsd.init.mk
>
15 CPPFLAGS
+= -DFTP_COMBINE_CWDS
18 .if
(${MKCRYPTO} != "no")
23 LIBDPLIBS
+= ssl
${NETBSDSRCDIR}/crypto
/external
/bsd
/openssl
/lib
/libssl \
24 crypto
${NETBSDSRCDIR}/crypto
/external
/bsd
/openssl
/lib
/libcrypto
27 CLEANFILES
+= ftperr.h httperr.h
31 ftperr.h
: ${LIBFETCHDIR}/ftp.errors
${LIBFETCHDIR}/errlist.sh
32 ${HOST_SH} ${LIBFETCHDIR}/errlist.sh ftp_errlist FTP \
33 ${LIBFETCHDIR}/ftp.errors
> ${.TARGET
}
35 httperr.h
: ${LIBFETCHDIR}/http.errors
${LIBFETCHDIR}/errlist.sh
36 ${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \
37 ${LIBFETCHDIR}/http.errors
> ${.TARGET
}