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
13 CPPFLAGS
+= -D_POSIX_SOURCE
15 CPPFLAGS
+= -D_LARGEFILE_SOURCE
-D_LARGE_FILES
18 FETCH_WITH_OPENSSL?
= no
20 .if
!empty
(FETCH_WITH_INET6
:M
[yY
][eE
][sS
])
24 .if
!empty
(FETCH_WITH_OPENSSL
:M
[yY
][eE
][sS
])
29 CPPFLAGS
+= -DFTP_COMBINE_CWDS
33 #ftperr.h: ${.CURDIR}/ftp.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
34 # ${.CURDIR}/errlist.sh ftp_errlist FTP \
35 # ${.CURDIR}/ftp.errors > ${.TARGET}
37 #httperr.h: ${.CURDIR}/http.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
38 # ${.CURDIR}/errlist.sh http_errlist HTTP \
39 # ${.CURDIR}/http.errors > ${.TARGET}