1 # $NetBSD: Makefile,v 1.5 2010/02/24 22:00:51 joerg Exp $
4 SRCS
= fetch.c common.c ftp.c http.c file.c
5 #DPSRCS= ftperr.h httperr.h
6 # CLEANFILES= ftperr.h httperr.h
14 CPPFLAGS
+= -D_LARGEFILE_SOURCE
-D_LARGE_FILES
17 FETCH_WITH_OPENSSL?
= no
19 .if
!empty
(FETCH_WITH_INET6
:M
[yY
][eE
][sS
])
23 .if
!empty
(FETCH_WITH_OPENSSL
:M
[yY
][eE
][sS
])
28 CPPFLAGS
+= -DFTP_COMBINE_CWDS
32 #ftperr.h: ${.CURDIR}/ftp.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
33 # ${.CURDIR}/errlist.sh ftp_errlist FTP \
34 # ${.CURDIR}/ftp.errors > ${.TARGET}
36 #httperr.h: ${.CURDIR}/http.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
37 # ${.CURDIR}/errlist.sh http_errlist HTTP \
38 # ${.CURDIR}/http.errors > ${.TARGET}