Repository navigation
8000
div>
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (30 loc) · 906 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (30 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.5 2010/02/24 22:00:51 joerg Exp $
LIB= fetch
SRCS= fetch.c common.c ftp.c http.c file.c
#DPSRCS= ftperr.h httperr.h
# CLEANFILES= ftperr.h httperr.h
MKLINT= no
MKPIC= no
MKPROFILE= no
.include <bsd.own.mk>
CPPFLAGS+= -I.
CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
FETCH_WITH_INET6?= no
FETCH_WITH_OPENSSL?= no
.if !empty(FETCH_WITH_INET6:M[yY][eE][sS])
CPPFLAGS+= -DINET6
.endif
.if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS])
CPPFLAGS+= -DWITH_SSL
LDADD= -lssl -lcrypto
.endif
CPPFLAGS+= -DFTP_COMBINE_CWDS
# WARNS?= 4
#ftperr.h: ${.CURDIR}/ftp.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
# ${.CURDIR}/errlist.sh ftp_errlist FTP \
# ${.CURDIR}/ftp.errors > ${.TARGET}
#
#httperr.h: ${.CURDIR}/http.errors ${.CURDIR}/Makefile ${.CURDIR}/errlist.sh
# ${.CURDIR}/errlist.sh http_errlist HTTP \
# ${.CURDIR}/http.errors > ${.TARGET}
.include <bsd.lib.mk>