Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.2
      1  1.1  joerg # $NetBSD
      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.1  joerg CPPFLAGS+=	-DWITH_SSL
     18  1.1  joerg 
     19  1.1  joerg LDADD=		-lssl -lcrypto
     20  1.1  joerg 
     21  1.1  joerg LIBDPLIBS+=	ssl	${NETBSDSRCDIR}/lib/libssl \
     22  1.1  joerg 		crypto	${NETBSDSRCDIR}/lib/libcrypto
     23  1.1  joerg 
     24  1.1  joerg CLEANFILES+=	ftperr.h httperr.h
     25  1.1  joerg 
     26  1.1  joerg .PATH: ${LIBFETCHDIR}
     27  1.1  joerg 
     28  1.1  joerg ftperr.h: ${LIBFETCHDIR}/ftp.errors ${LIBFETCHDIR}/errlist.sh
     29  1.2    apb 	${HOST_SH} ${LIBFETCHDIR}/errlist.sh ftp_errlist FTP \
     30  1.1  joerg 	    ${LIBFETCHDIR}/ftp.errors > ${.TARGET}
     31  1.1  joerg 
     32  1.1  joerg httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh
     33  1.2    apb 	${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \
     34  1.1  joerg 	    ${LIBFETCHDIR}/http.errors > ${.TARGET}
     35  1.1  joerg 
     36  1.1  joerg .include <bsd.lib.mk>
     37