tools/llvm: Do not build with symbols
[minix3.git] / minix / lib / libfetch / Makefile
blobd69c95a2e8f952a2bcdb7c33e562ebe6777437b9
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+= -I.
14 CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
16 FETCH_WITH_INET6?= no
17 FETCH_WITH_OPENSSL?= no
19 .if !empty(FETCH_WITH_INET6:M[yY][eE][sS])
20 CPPFLAGS+= -DINET6
21 .endif
23 .if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS])
24 CPPFLAGS+= -DWITH_SSL
25 LDADD= -lssl -lcrypto
26 .endif
28 CPPFLAGS+= -DFTP_COMBINE_CWDS
30 # WARNS?= 4
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}
40 .include <bsd.lib.mk>