Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.18
      1  1.18     lukem # $NetBSD: Makefile,v 1.18 2023/06/03 09:09:03 lukem Exp $
      2   1.1     joerg 
      3   1.1     joerg LIB=		fetch
      4   1.1     joerg SRCS=		fetch.c common.c ftp.c http.c file.c
      5   1.1     joerg DPSRCS= 	ftperr.h httperr.h
      6   1.1     joerg INCS=		fetch.h
      7   1.1     joerg INCSDIR=	/usr/include
      8   1.1     joerg MAN=		fetch.3
      9   1.1     joerg CLEANFILES=	ftperr.h httperr.h
     10   1.1     joerg 
     11   1.1     joerg .include <bsd.init.mk>
     12   1.1     joerg 
     13   1.1     joerg CPPFLAGS+=	-I.
     14   1.1     joerg CPPFLAGS+=	-DNETBSD 
     15   1.1     joerg CPPFLAGS+=	-DFTP_COMBINE_CWDS
     16   1.1     joerg CPPFLAGS+=	-DINET6
     17   1.3     joerg 
     18   1.1     joerg CPPFLAGS+=	-DWITH_SSL
     19   1.1     joerg 
     20  1.11  christos LIBDPLIBS+=	ssl	${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl \
     21  1.11  christos 		crypto	${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
     22   1.1     joerg 
     23   1.1     joerg CLEANFILES+=	ftperr.h httperr.h
     24   1.1     joerg 
     25   1.1     joerg .PATH: ${LIBFETCHDIR}
     26   1.1     joerg 
     27   1.1     joerg ftperr.h: ${LIBFETCHDIR}/ftp.errors ${LIBFETCHDIR}/errlist.sh
     28   1.2       apb 	${HOST_SH} ${LIBFETCHDIR}/errlist.sh ftp_errlist FTP \
     29   1.1     joerg 	    ${LIBFETCHDIR}/ftp.errors > ${.TARGET}
     30   1.1     joerg 
     31   1.1     joerg httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh
     32   1.2       apb 	${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \
     33   1.1     joerg 	    ${LIBFETCHDIR}/http.errors > ${.TARGET}
     34   1.1     joerg 
     35  1.18     lukem COPTS.http.c+=	${CC_WNO_STRINGOP_TRUNCATION}
     36  1.13  christos 
     37   1.1     joerg .include <bsd.lib.mk>
     38