VM: munmap used by VM for itself is no longer used
[minix.git] / lib / libfetch / Makefile
blobc726485dcb80a743de01396c0c1ece4ba4e2e45b
1 # $NetBSD: Makefile,v 1.5 2010/02/24 22:00:51 joerg Exp $
3 LIB= fetch
4 SRCS= fetch.c common.c ftp.c http.c file.c
5 #DPSRCS= ftperr.h httperr.h
6 # CLEANFILES= ftperr.h httperr.h
7 MKLINT= no
8 MKPIC= no
9 MKPROFILE= no
11 .include <bsd.own.mk>
13 CPPFLAGS+= -D_POSIX_SOURCE
14 CPPFLAGS+= -I.
15 CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
17 FETCH_WITH_INET6?= no
18 FETCH_WITH_OPENSSL?= no
20 .if !empty(FETCH_WITH_INET6:M[yY][eE][sS])
21 CPPFLAGS+= -DINET6
22 .endif
24 .if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS])
25 CPPFLAGS+= -DWITH_SSL
26 LDADD= -lssl -lcrypto
27 .endif
29 CPPFLAGS+= -DFTP_COMBINE_CWDS
31 # WARNS?= 4
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}
41 .include <bsd.lib.mk>